Anyway we can tell if a target is undead?

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

mongo
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sun Jun 22, 2003 7:52 pm

Anyway we can tell if a target is undead?

Post by mongo » Fri Nov 21, 2003 9:26 pm

Hopefuly its easy...

Falco72
a hill giant
a hill giant
Posts: 215
Joined: Fri Sep 26, 2003 3:24 am

Post by Falco72 » Sun Nov 23, 2003 9:37 am

Try

Code: Select all

 /if "$target(type)"="corpse"
and/or

Code: Select all

/if n $target(hp,cur)<=0
Usually I use both.

User avatar
ap50
a snow griffon
a snow griffon
Posts: 425
Joined: Sun Aug 18, 2002 2:29 pm

Post by ap50 » Sun Nov 23, 2003 10:43 am

Heh, he said UNdead, not dead. :)
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

Falco72
a hill giant
a hill giant
Posts: 215
Joined: Fri Sep 26, 2003 3:24 am

Post by Falco72 » Sun Nov 23, 2003 3:07 pm

OOPPSSSSS. My fault.
/em is putting is head under a rock for the shame.