Skip to content

Instantly share code, notes, and snippets.

@Road-block
Created October 23, 2017 21:17
Show Gist options
  • Save Road-block/d235a417b9b8a3430b42ac956078a5ac to your computer and use it in GitHub Desktop.
Save Road-block/d235a417b9b8a3430b42ac956078a5ac to your computer and use it in GitHub Desktop.
1-button wall/reck/retaliation
-- 1 = Battle (Retaliation), 2 = Defensive (Shield Wall), 3 = Berserker (Recklessness) Copy the 2nd line in a macro only.
/run local p={"Retaliation","Shield Wall","Recklessness"}for s,a in ipairs(p)do local _,_,o=GetShapeshiftFormInfo(s)if(o)then CastSpellByName(a)break;end;end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment