Larsy93 0 Report post Posted March 30, 2017 (edited) Hi, I am looking for a hamstring macro that would change my stance to make hamstring useable if I am in Defensive Stance. But if I am in either Battle Stance or Berserker Stance it should just cast hamstring since its useable in 2 stances. So its abit different than just the regular stance switch macro. it needs to have some kind of "if" or "or" statement in there. /run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(1); if isActive then CastSpellByName("Overpower"); else CastSpellByName("Battle Stance()"); end; this is sort of what I got for my other abilities, so maybe it can be used to get this macro right aswell. Edited March 30, 2017 by Larsy93 0 Share this post Link to post Share on other sites
Storfan 24 Report post Posted March 30, 2017 /run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(1); if isActive then CastSpellByName("Hamstring"); else CastSpellByName("Battle Stance()"); end; 0 Share this post Link to post Share on other sites
Larsy93 0 Report post Posted March 30, 2017 (edited) Nonono because if i use that in berserker stance it will switch to battle stance aswell., If iam in berserker stance it should just cast hamstring, not switch to battle since hamstring can be used directly in berserker stance. Needs to be some sort of, if stance 1 or 3 is active then cast hamstring, but if stance = 2 then switch to battlestance and hamstring. Edited March 30, 2017 by Larsy93 0 Share this post Link to post Share on other sites
Larsy93 0 Report post Posted March 30, 2017 /script if nil then CastSpellByName("Hamstring") end /run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(2); if isActive then CastSpellByName("Battle Stance"); else CastSpellByName("Hamstring()"); end; Got it! 0 Share this post Link to post Share on other sites