This is part of Elemental.cs
Problem is it does not move away when mob comes near
Is this implementation correct?
I am sorry for not putting it in Singular post, I am competely lost in that post
Code:
[Behavior(BehaviorType.Combat, WoWClass.Shaman, WoWSpec.ShamanElemental, WoWContext.Normal)]
public static Composite CreateShamanElementalNormalCombat()
{
return new PrioritySelector(
Safers.EnsureTarget(),
Movement.CreateMoveToLosBehavior(),
Movement.CreateFaceTargetBehavior(),
new Decorator(
ret => Me.GotTarget && Me.CurrentTarget.Distance < NormalPullDistance,
//Movement.CreateEnsureMovementStoppedBehavior(),
Helpers.Kite.CreateKitingBehavior(
new PrioritySelector(
//runaway
Spell.Cast("Grounding Totem"),
Spell.BuffSelf("Earthbind Totem"),
//Spell.Cast("Tremor Totem")
),
new PrioritySelector(
//stop folowers
Spell.Buff("Frost Shock"),
Spell.Cast("Lightning Bolt")
)
)
),
Spell.WaitForCastOrChannel(),
new Decorator(
ret => !Spell.IsGlobalCooldown(),
new PrioritySelector(
CreateElementalDiagnosticOutputBehavior(),
..... spellls rotation.....
Is this implementation correct?
I am sorry for not putting it in Singular post, I am competely lost in that post