- Joined
- Sep 20, 2015
- Messages
- 385
Hello. I'm creating a map where when a hero level up the owner of the hero will have +1 wood. If i use this trigger
Event
A unit gain a level
-
Actions
Player - Add 1 to owner of (leveling hero) Wood
it seems to work but if the units gain a lot of experience and level up for 2 levels at one time, the wood added will be still 1 instead of 2 or more.
The problem is that the
Units - Level Up
event need an existing units in the map. There is a way i can make this second triggers work with a units variable? so if the hero levels up for 2 or more levels, the player who control him recieves an exact amount of wood for each level gained.
Thank you
Event
A unit gain a level
-
Actions
Player - Add 1 to owner of (leveling hero) Wood
it seems to work but if the units gain a lot of experience and level up for 2 levels at one time, the wood added will be still 1 instead of 2 or more.
The problem is that the
Units - Level Up
event need an existing units in the map. There is a way i can make this second triggers work with a units variable? so if the hero levels up for 2 or more levels, the player who control him recieves an exact amount of wood for each level gained.
Thank you