Jump to content
Sign in to follow this  
QQsya

Macro assistance

Recommended Posts

I'm looking for macros to do the following (I do have supermacro):

-show mind flay tooltip, cast mind flay if mind flay is castable; else cast smite (eg if shadow school is locked out by an interrupt effect).  I have this partially working as simply

/cast mind flay

/cast smite

but supermacro shows the smite tooltip instead of mind flay.

-cast mind control if target is a humanoid npc or a player; cast shackle undead if target is an undead npc

-cast mana burn if target has a mana bar; else cast smite

-a command approximately equal in function to /castsequence from later expacs

Also post any general useful macros in this thread.  Thanks for reading.

 

Some useful ones I use:

Mouseover dispel:

/script if UnitExists("mouseover") then TargetUnit("mouseover"); CastSpellByName("Dispel Magic(Rank 2)"); TargetUnit("playertarget") else CastSpellByName("Dispel Magic(Rank 2)") end

 

You can also do this with other spells, eg silence.  Just replace "Dispel Magic(rank 2)" with the desired spell.  Pressing this keybind will attempt to cast dispel on whatever unit your mouse cursor is hovering over.  If you have a target and your mouse isn't hovering over anything, it will instead attempt to cast dispel on the target.  If you have a target and a mouseover, it will attempt to cast on your mouseover.  You must disable auto self cast for this to fully work.

 

Cast power infusion, send a tell to the target notifying them:

/cast Power Infusion
/run if UnitExists"target"then SendChatMessage("<insert tell message here>","WHISPER",nil,UnitName"target")end

Careful not to mash this button because you'll spam the person with whispers.  Fun fact: if you use this while targeting an enemy player the error message returned is "You can only whisper to members of your faction".  The devs really do think of everything.

Stop current spellcast, cast silence:

/script SpellStopCasting()
/cast Silence

Self explanatory, mainly useful in PvP.  If you are inside a GCD your spell will stop casting but you will still not be able to cast silence until the GCD is over, requiring you to press the keybind a second time once the GCD is up.  Otherwise it only takes one press.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×