Advertisement
Guest User

Prot1 wow

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