#show Mutilate
/run RunMacro(1)
/run RunMacro(2)
/run RunMacro(3)
/run RunMacro(4)
/startattack
/use 10 (because I'm an engineer)
/run RunMacro("i")
/run RunMacro("h")
/run RunMacro("f")
/run RunMacro("d")
/run RunMacro("e")
/run RunMacro("g")
Code:
Macro 1: "1":
/run loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitCastingInfo(\"target\"); if UnitCastingInfo(\"target\") and not interruptAble then SpellStopCasting() CastSpellByName(\"Kick\") end")()
Macro 2: "2":
/run loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitChannelInfo(\"target\"); if UnitChannelInfo(\"target\") and not interruptAble then SpellStopCasting() CastSpellByName(\"Kick\") end")()
Macro 3: "3":
/run loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitCastingInfo(\"focus\"); if UnitCastingInfo(\"focus\") and not interruptAble then SpellStopCasting() CastSpellByName(\"Kick\",\"focus\") end")()
Macro 4: "4":
/run loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitChannelInfo(\"focus\"); if UnitChannelInfo(\"focus\") and not interruptAble then SpellStopCasting() CastSpellByName(\"Kick\",\"focus\") end")()
Code:
i
/run if GetComboPoints("player","target")>3 then RunMacroText("/cast Envenom")end
h
/run p=GetComboPoints("player","target");ub=UnitBuff;r=RunMacroText;if ub("player", "Hunger For Blood") and ub("player","Slice and Dice") and p < 5 then r("/cast Mutilate")end
f
/run if(UnitAffectingCombat("player")) and GetComboPoints("player","target") < 1 then RunMacroText("/cast Mutilate")end
d
/run p=GetComboPoints("player","target");if not UnitBuff("player", "Slice and Dice") and p>0 then RunMacroText("/cast Slice and Dice")end
e
/run r=RunMacroText;ud=UnitDebuff;if not UnitBuff("player", "Hunger For Blood") and (ud("target","Rupture") or ud("target","Garrote"))then r("/cast Hunger For Blood") end
g
/run r=RunMacroText;if not UnitBuff("player", "Hunger For Blood") and not UnitDebuff("target","Rupture") and GetComboPoints("player","target") > 0 then r("/cast Rupture") else r("/cast Mutilate")end