Originally Posted by
ViB
Getting this error:
[13:30:34] Dump: value=loadstring("local _, _, _, _, _, _, _, _, interruptAble = UnitCastingInfo(\"target\"); if UnitCastingInfo(\"target\") and not interruptAble then SpellStopCasting() CastSpellByName(\"Kick\") end")()
[13:30:34] empty result
This is not an error, this is simply what dump does. Switch to a different chat window and you won't see it. This is normal.
Originally Posted by
MaiN
/dump loadstring("local _,_,_,_,_,_,_,caster,_ = UnitDebuff(\"target\", \"Rend\")if(caster~=\"player\")then CastSpellByName(\"Rend\")end")()
That will cast rend on the target if it isn't already applied by the player.
Thank you. Rep was given. I'm tapped out for rep today but I will give another rep point once I get the ability to rep again. Another request, this is for moonkins. The aim is a somewhat spammable button but you will need to switch buttons sometime while you have the buff. The purpose is so you get the most out of your eclipse by casting the other nuke as soon as you get the eclipse buff. This will need 2 seperate macros. Both buffs have the same name but different effects. Here we go.
If you have Eclipse (buff ID 48518, increased crit of starfire by 30%), cast Starfire, else cast Wrath.
If you have Eclipse (buff ID 48517, increased damage of wrath by 30%), cast Wrath, else cast Starfire.
Having trouble because I can't seem to figure out how to use a buff ID instead of the name.
Also, here is 2 spammable macros that autocast insect swarm and moonfire only if the current target does not have a copy of these debuffs not cast by you. Shamlessly copy/pasted from a previous post in this thread :P DPS stays high usually if you try to keep your dots on the target.
Code:
#showtooltip Insect Swarm
/dump loadstring("local _,_,_,_,_,_,_,caster,_ = UnitDebuff(\"target\", \"Insect Swarm\")if(caster~=\"player\")then CastSpellByName(\"Insect Swarm\")end")()
Code:
#showtooltip Moonfire
/dump loadstring("local _,_,_,_,_,_,_,caster,_ = UnitDebuff(\"target\", \"Moonfire\")if(caster~=\"player\")then CastSpellByName(\"Moonfire\")end")()