Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 1.16 KB  |  hits: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #region runners
  2.             if (Me.GotTarget && Me.CurrentTarget.Fleeing && !_reactions.ContainsKey(Me.CurrentTarget.Entry))
  3.                 _reactions.Add(Me.CurrentTarget.Entry, "Fleeing");
  4.  
  5.             if (Me.GotTarget && _reactions.ContainsKey(Me.CurrentTarget.Entry) && !Me.CurrentTarget.Fleeing)
  6.             {
  7.                 if (Me.CurrentTarget.HealthPercent < 30 && SpellManagerEx.CanCast("Bash"))
  8.                 {
  9.                     Bash();
  10.                 }
  11.                 else if (Me.CurrentTarget.HealthPercent < 40 && SpellManagerEx.CanCast("Nature's Grasp"))
  12.                 {
  13.                     SafeCast("Nature's Grasp");
  14.                 }
  15.             }
  16.  
  17.             // try to execute runners
  18.             addsList = getAdds();
  19.             if (addsList.Count < 2 && Me.GotTarget && Me.CurrentTarget.Fleeing)
  20.             {
  21.                 slog("Moonfire on runner.");
  22.                 EntanglingRoots();
  23.                 Moonfire();
  24.                 Wrath();
  25.             }
  26.  
  27.             #endregion
  28.  
  29. ----------------------------------------------------
  30.  
  31. private static Dictionary<uint, string> _reactions = new Dictionary<uint, string>();