Ok for my dialog its a atribute system where wen u lvl up u get to add your stats. your lumber represents stat points.this is what i have but my problem is that if you lvl up 2 times with 1 kill you only get 3 Atribute points not 6
Events
Dialog - A dialog button is clicked for Dialog
Conditions
(Clicked dialog button) Equal to DialogButton[1]
Actions
Hero - Modify Agility of (Random unit from (Units in (Entire map) owned by (Triggering player))): Add 1
Player - Add -1 to (Triggering player) Current lumber
Dialog - Clear Dialog