Macroing spells with a modifier

Macroing spells with a modifier

by Draxan138 » Thu Jan 21, 2016 5:39 pm

In retail I like to macro some spells together on the same button with just a shift modifier. For example:

/cast [nomod] Battle Shout
/cast [modifier:shift] Demoralizing Shout

I know this won't work here but, is there a way that I can make a macro with the same effect?
Draxan138
Tester
 

Re: Macroing spells with a modifier

by Dreez » Thu Jan 21, 2016 7:10 pm

/run local s=IsShiftKeyDown()c=IsControlKeyDown()x=IsAltKeyDown()n=CastSpellByName if(s)then n("Conjure Mana Citrine")else if(c)then n("Conjure Mana Jade")else if(x)then n("Conjure Mana Agate")else n("Conjure Mana Ruby") end end end

red = shift
blue = ctrl
green = alt
white = no modifier
Dreez - PvP server
<Endzeit>
User avatar
Dreez
Knight-Lieutenant
Knight-Lieutenant
 


Return to Addons & macros