Advertisement
Guest User

prot1

a guest
Feb 17th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.63 KB | None | 0 0
  1. function  Prot1()
  2.  
  3.     local ssstart, ssdur, sse = GetSpellCooldown(25, BOOKTYPE_SPELL)
  4.    
  5. if ssdur - (GetTime() - ssstart) > 1.4 then
  6.         cast('Revenge')
  7.     end
  8.  
  9.     cast('Defensive Stance')
  10.  
  11.     if UnitMana('player') >= 65 then
  12.         cast('Heroic Strike')
  13.         cast('Shield Slam')
  14.     else
  15.         cast('Shield Slam')
  16.     end
  17.  
  18.    local rvstart, rvdur, rve = GetSpellCooldown(24,BOOKTYPE_SPELL)
  19.  
  20.  
  21.     if (ssdur - (GetTime() - ssstart) > 1.4 and rvdur - (GetTime() - rvstart) > 1.4) and UnitMana('player') >= 50 then
  22.         cast('Sunder Armor')
  23.     end
  24.   if not IsCurrentAction(60) then UseAction(60) end;
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement