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
{
private static _ X = Behav()
.Init(0x2127, Behaves("Teacher",
new RunBehaviors(
SetState.Instance("Attack")),
new State("Attack",
Cooldown.Instance(850, MultiAttack.Instance(25, 10*(float) Math.PI/180, 3, 0, 1)),
InfiniteSpiralAttack.Instance(125, 10, 7.5f, projectileIndex: 0),
Cooldown.Instance(5500, new SimpleTaunt("Oh SNAP!")),
SetConditionEffect.Instance(ConditionEffectIndex.Armored),
Cooldown.Instance(300, RingAttack.Instance(9, projectileIndex: 2)),
new State("attack3",
InfiniteSpiralAttack.Instance(125, 10, 7.5f, projectileIndex: 0),
new State("chat",
Cooldown.Instance(5500, new SimpleTaunt("Oh SNAP!")),
new State("chat 2",
new State("chat 2",
new RandomTaunt(1.0, "Kieron must teach more {PLAYER}" ),
new RandomTaunt(1.0, "Kieron has taught alot" ),
new SimpleTaunt("Kieron must not stop teaching {HP}" ),
new State("effect",
new State("effect",
SetConditionEffect.Instance(ConditionEffectIndex.Armored),
SetConditionEffect.Instance(ConditionEffectIndex.Invisible),
new State("uneffect",
new State("uneffect",
Once.Instance(new SimpleTaunt("I won't stop being invisible")),
HpLesserPercent.Instance(.50f, new SimpleTaunt("I Like to live and not die! Untill then I have {HP} to live on!")),
HpLesserPercent.Instance(0.2f, new RandomTaunt(1.0, "Kieron has taught alot")),
UnsetConditionEffect.Instance(ConditionEffectIndex.Armored),
UnsetConditionEffect.Instance(ConditionEffectIndex.Invisible),
new State("Ninja",
Cooldown.Instance(2000,
MultiAttack.Instance(25, 10*
(float)Math.PI / 180, 10, 0,
projectileIndex: 2)),
InfiniteSpiralAttack.Instance(200, 3, 20, projectileIndex: 0),
new State("Ninja Attack",
InfiniteSpiralAttack.Instance(200, 3, 20, projectileIndex: 1),
SetConditionEffect.Instance(ConditionEffectIndex.Armored),
new SimpleTaunt("I HOPE THIS IS RIGHT OR I DIE D:! CAUSE I ONLY HAVE {HP} LEFT YOU {PLAYER}!"),
UnsetConditionEffect.Instance(ConditionEffectIndex.Armored)
)))))
)))))
)));
}
}