Guest User

Untitled

a guest
May 9th, 2012
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  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;
Advertisement
Add Comment
Please, Sign In to add comment