daily pastebin goal
51%
SHARE
TWEET

Prot1 wow

a guest Feb 19th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top