Well, this is kind of a development question, but it doesn't belong in the EV Developer's Corner, so I figured this is probably the best place to put it.
I'm making a WCIII Map that includes, among other things, custom heroes. It's based on the World War III Maps, but implements my own designs.
They're known as "Country Heroes," which are 10 unique and very powerful characters. One of them, the Middle-Eastern Zealot, is one I'm having problems with.
The thing is, whenever he attacks Undead or Demonic Units, I'm wanting his attacks to deal double damage to them. The way I have it set up is:
CODE
If ((attacking unit) equal to (Middle Eastern Zealot)) then (set target unit's life to ((target unit's life) - (damage taken))
Or something along those lines. Should that work, or do I need to do something different?
Thanks for your time.
Salutations and Regards,
Warlord Mike