
Untitled
By: a guest on
May 9th, 2012 | syntax:
None | size: 1.16 KB | hits: 33 | expires: Never
#region runners
if (Me.GotTarget && Me.CurrentTarget.Fleeing && !_reactions.ContainsKey(Me.CurrentTarget.Entry))
_reactions.Add(Me.CurrentTarget.Entry, "Fleeing");
if (Me.GotTarget && _reactions.ContainsKey(Me.CurrentTarget.Entry) && !Me.CurrentTarget.Fleeing)
{
if (Me.CurrentTarget.HealthPercent < 30 && SpellManagerEx.CanCast("Bash"))
{
Bash();
}
else if (Me.CurrentTarget.HealthPercent < 40 && SpellManagerEx.CanCast("Nature's Grasp"))
{
SafeCast("Nature's Grasp");
}
}
// try to execute runners
addsList = getAdds();
if (addsList.Count < 2 && Me.GotTarget && Me.CurrentTarget.Fleeing)
{
slog("Moonfire on runner.");
EntanglingRoots();
Moonfire();
Wrath();
}
#endregion
----------------------------------------------------
private static Dictionary<uint, string> _reactions = new Dictionary<uint, string>();