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

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.67 KB  |  hits: 8  |  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. public override bool NeedRest
  2.         {
  3.             get
  4.             {
  5.                 if (ObjectManager.Me.Auras.ContainsKey("Resurrection Sickness"))
  6.                     return true;
  7.  
  8.                 if (_bigHealTimer.IsRunning && _bigHealTimer.ElapsedMilliseconds < 5000)
  9.                 {
  10.                     float trash;
  11.                     uint latency = 0;
  12.                     StyxWoW.WoWClient.GetNetStats(out trash, out trash, out latency);
  13.  
  14.                     if (_bigHealTimer.ElapsedMilliseconds < SpellManagerEx.Spells["Healing Touch"].CastTime + (latency * 2 + 50))
  15.                         return false;
  16.                 }
  17.  
  18.                 bool ret = false;