| 11-04-2004, 06:13 PM | #1 |
Real quick question. Code:
Goku
Events
Unit - A unit Gains a level
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Hero level of (Leveling Hero)) Equal to 60
Then - Actions
Add Mana Burn to (Leveling Hero)
Else - ActionsBasic trigger.. correct? Here's the question. When you do a Hero-Level of Leveling Hero, does it refer to the level of the hero before it levels up or afterwards? I've tried using triggers for both of them but I can't seem to get the arithmetic right because the equations don't come out to whole numbers. |
| 11-04-2004, 06:17 PM | #2 |
I would think to add a temporary Game - Display to all players (string(Hero level of (Leveling Hero)) action , and that would let you know over a couple test tries. |
| 11-04-2004, 06:20 PM | #3 |
Guest | I tested it: Afterwards |
| 11-04-2004, 06:25 PM | #4 |
I just tested it too. I set it to level up ability at level 5, and thats what it did, so its afterwards. Kinda weird though, because my other trigger doesn't work. |
| 11-05-2004, 06:10 AM | #5 | |
Quote:
Event:A unit gain a level Condition:hero level of triggering unit equal to 60 Action:Add mana burn to triggering unit |
| 11-05-2004, 11:36 AM | #6 |
Well yes, triggering unit would work for the actions, but what I've always been told is to use the closest choice to matching the unit. This time it is not only the triggering unit but it has been identified as a leveling hero. |
