ive had another breakthrough
Code:
#showtooltip Consecration
/dump RunMacro("CH")
/dump loadstring("local _, d, _ = GetSpellCooldown(\"Exorcism\") if UnitCastingInfo(\"target\") and (d == 0) then SpellStopCasting() CastSpellByName(\"Exorcism\") end")()
/cast Consecration
Code:
/dump loadstring("local _, _, _, _, _, _, _, _, X = UnitChannelInfo(\"target\"); local _, d, _ = GetSpellCooldown(\"Exorcism\") if UnitChannelInfo(\"target\") and (d == 0) and not X then SpellStopCasting() CastSpellByName(\"Exorcism\") end")()
note: for the sake of testing i used exorcism and consecration, these were the shortest names on paladin abilities for me...
what these beauty's do:
the top macro will check whether the target is casting, and check the cooldown of ability A
IF the target is casting AND ability A is off cooldown, use A
IF the target is casting BUT ability A is on cooldown, use B
IF the target isnt casting BUT ability A is off cooldown, use B
the bottom macro is called upon by the top macro aswell, and this does the same and checks for channeling
what you want to do is replace A with pummel, kick, wind shear - best would be off gcd abilities
then replace B with the abilities you use
i'll take an example for warriors
a warrior would want to make multiple macro's, one of the top one for each ability (mortal strike, whirlwind and the like)
the bottom macro is only needed once, but in this setup it has to be named CH (short for channel)
by making variants of the top macro, changing only the B ability, you can replace just about any damage ability for the macro, then spam it while pvping
what this does is, because you're spamming the macro and pummel is off global cooldown, it will pummel your target AS SOON as he starts a cast or channel
what this concludes: you'll stop a penance with loads of haste in 0.2/0.3 seconds depending on lag
god i love /dump