Looking for Macro help

Post Reply
User avatar
Zahnfee
Barrens Chat Casualty
Posts: 56

Looking for Macro help

Post by Zahnfee » Sat Feb 17, 2024 9:57 am

hi guys! i dont know if this would be the right forum for this but since i plan to play shaman i give it a shot!
I started playing wow vanilla again but since my fingers are not as nimble as they once were i realise shaman have a shit ton of buttons by themselves not talking about Downrank heals, pvp gadgets or other stuff in itself... so i came to the realisation i need some sort of macro to have a few less buttons to press!

What im actually looking for would be a conditional target macro something like if i have a enemy selected player or Target cast Lightning Bolt
else
if i have friend selected Player or Target cast spell Healing Wave

if UnitIsFriend("player", "target") then
CastSpellByName("Healing Wave")
else
CastSpellByName("Lightning Bolt", 1)
end

Something like this! but i dont know what i am missing here it just spams the chat:D maybe im just thinking to stupid idk if someone could help me out i would apreciate it to save myself a few keybinds

User avatar
Zahnfee
Barrens Chat Casualty
Posts: 56

Re: Looking for Macro help

Post by Zahnfee » Sat Feb 17, 2024 9:59 am

oh ehm i might want to add that i have the addon Supermacro on my side if that helps finding a sollution quicker

Twospooky
Posts: 26
Been thanked: 6 times

Re: Looking for Macro help

Post by Twospooky » Sat Feb 17, 2024 10:53 am

/run if UnitCanAttack("player","target") == 1 then CastSpellByName("lightning bolt") else CastSpellByName("healing wave") end

No macro addon needed

User avatar
Zahnfee
Barrens Chat Casualty
Posts: 56

Re: Looking for Macro help

Post by Zahnfee » Sat Feb 17, 2024 12:54 pm

Twospooky wrote: Sat Feb 17, 2024 10:53 am /run if UnitCanAttack("player","target") == 1 then CastSpellByName("lightning bolt") else CastSpellByName("healing wave") end

No macro addon needed
thank you will try it out later today!
have a good weekend

Post Reply