Macro Help

Macro Help

Postby Ironwill » Sun Aug 10, 2008 4:57 pm

I have this macro, which heals target of target:

    #showtooltip Holy Light
    /cast [help] Holy Light; [target=targettarget] Holy Light


What I need is:

1- Heal target of target, if the target is hostile.
2- Heal target if it is friendly.
3- Heal myself if there is no target.

/I <--- lul
Image
User avatar
Ironwill
Veteran
 
Posts: 218
Joined: Wed Aug 01, 2007 1:55 am
Location: Camel Land


Postby Sibyl » Sun Aug 10, 2008 6:52 pm

#showtooltip Holy Light
/cast [help] Holy Light; [target=targettarget,help] Holy Light; [target=player] Holy Light

Im not sure but that might work, i'll test it out more.
Sibyl
Veteran
 
Posts: 155
Joined: Fri Jun 13, 2008 11:58 pm


Postby Mell » Sun Aug 10, 2008 6:55 pm

Not sure if you can have all those conditions in one macro.. but this macro should allow the player to heal his "target's target" when it is hostile. If you press alt and then the macro you will heal yourself.

#show Holy Light
/cast [modifier:alt,target=player] Holy Light
/cast [help,target=target] Holy Light
/cast [help,nodead,nomodifier:alt,target=targettarget,help,nodead] Holy Light
/cast Holy Light
Image
User avatar
Mell
Veteran
 
Posts: 792
Joined: Sat Dec 22, 2007 7:22 pm
Location: Karlstad, Swe



Return to General

Who is online

Users browsing this forum: No registered users and 17 guests

cron