- Joined
- Apr 8, 2007
- Messages
- 116
Heya, I'm using WEU and GUI, and basically, I'm stumped in trying to find how to turn damage a unit does into a variable in order to implement it in my triggering. In essence, what I'm trying to do is create a trigger where a unit attacks another, and as an action it sets the attacked unit's mana to mana of attacked unit minus the damage done.
However, in browsing options for a "value" to subtract from the attacked unit's mana, the only remotely near way to implement "damage done" was the one named "event - amount of damaged done". The problem here, is that it requires the event to be "damage done/taken", which is only available if I use a specific unit event, whereas in the circumstances of my trigger, it has to be a generic unit event...
...So any ideas on how I might go about doing this?
However, in browsing options for a "value" to subtract from the attacked unit's mana, the only remotely near way to implement "damage done" was the one named "event - amount of damaged done". The problem here, is that it requires the event to be "damage done/taken", which is only available if I use a specific unit event, whereas in the circumstances of my trigger, it has to be a generic unit event...
...So any ideas on how I might go about doing this?