Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using wServer.realm;
using wServer.logic.attack;
using wServer.logic.movement;
using wServer.logic.loot;
using wServer.logic.taunt;
using wServer.logic.cond;
namespace wServer.logic
{
partial class BehaviorDb
{
static _ GhostShip = Behav()
.Init(0x0e3d, Behaves("Beach Spectre",
IfNot.Instance(
Chasing.Instance(1, 7, 4, null),
SimpleWandering.Instance(4)
),
Cooldown.Instance(650, PredictiveMultiAttack.Instance(12, 10 * (float)Math.PI / 180, 3, 1)),
loot: new LootBehavior(
new LootDef(0, 2, 0, 8,
Tuple.Create(0.50, (ILoot)HpPotionLoot.Instance)
))
)
).Init(0x0e4f, Behaves("Water Mine",
new RunBehaviors(
Charge.Instance(5, 15, null)),
condBehaviors: new ConditionalBehavior[]
{
new GrayBlob()
}
))
.Init(0x0e39, Behaves("Vengeful Spirit",
new RunBehaviors(
Chasing.Instance(19, 25, 1, null),
SimpleWandering.Instance(4)
),
Cooldown.Instance(910, PredictiveMultiAttack.Instance(12, 10 * (float)Math.PI / 180, 3, 1))
));
}
}
I'll make a tutorial on adding enemy behaviors some time I'm feeling up to it. Oh, and I just guessed the drops; I don't wanna have to find them in the wiki D: feel free to change them.
Depending on the server you use, you might not have sprites for these yet. I MIGHT release some on my Youtube channel, DaBoss Channel, sometime.
EDIT: Just realized the cloud behaviors aren't there... Oh well, if anyone cares and is too lazy to spend 2 seconds to make them themselves, I'll paste it in.