- Joined
- May 5, 2009
- Messages
- 25
I need a trigger which give lumber to a player each time his hero gains a level.
I already have a trigger, a simple one:
Events
Unit - A unit Gains a level
Conditions
Actions
Player - Add 2 to (Owner of (Triggering unit)) Current lumber
But there's a problem, in my map, if a hero kill a boss, it will get more than 1 level at once, and the trigger will not give the propper amount of lumber, for exemple, if the hero gains 3 levels at once, the trigger will detect just one level, and will give only 1 lumber.
Hope somebody can help me, thanks.
I already have a trigger, a simple one:
Events
Unit - A unit Gains a level
Conditions
Actions
Player - Add 2 to (Owner of (Triggering unit)) Current lumber
But there's a problem, in my map, if a hero kill a boss, it will get more than 1 level at once, and the trigger will not give the propper amount of lumber, for exemple, if the hero gains 3 levels at once, the trigger will detect just one level, and will give only 1 lumber.
Hope somebody can help me, thanks.