W
weischbier
Guest
So I ran into a problem with my Hunter.
Everything is fine so I went into the tuning part.
Cobra Shot is being cast when below 68 Focus. That's cool.
But now I want it to stopcast it when its actually over 68.
It a loss in DPS.
So I did this
When I put this ontop of my rotation it just fucks everything up.
Any thoughts?
greetz
Weischbier
Everything is fine so I went into the tuning part.
Cobra Shot is being cast when below 68 Focus. That's cool.
But now I want it to stopcast it when its actually over 68.
It a loss in DPS.
So I did this
Code:
public static Composite StopCastingShit()
{
return
new PrioritySelector(
new Decorator(ret =>
Me.CastingSpell.Id == 77767 && // spellId of Cobra Shot
(Me.HasMyAura("Lock and Load") || Me.CurrentFocus >= 68),
new PrioritySelector(
new Action(
ret => Logger.Write(System.Drawing.Color.Lime, "Stopped casting Cobra Shot!")),
new Action(ret => SpellManager.StopCasting())
)
)
);
}
When I put this ontop of my rotation it just fucks everything up.
Any thoughts?
greetz
Weischbier