- Joined
- Dec 2, 2016
- Messages
- 733
-
Update Income Tier1 Goldmine
-

Events
-


Time - Every 0.10 seconds of game time
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Integer_Seconds Equal to 60
-




TempBool Equal to False
-
-



Then - Actions
-




Unit Group - Pick every unit in (Units in Level Slayers <gen>) and do (Hero - Set (Picked unit) Hero-level to ((Hero level of (Picked unit)) + 1), Show level-up graphics)
-




Unit Group - Remove all units of (Last created unit group) from (Last created unit group)
-




Set tempSlayerGroup = (Last created unit group)
-




Set TempBool = True
-




For each (Integer A) from 1 to (Number of players), do (Actions)
-





Loop - Actions
-






Player - Set (Player((Integer A))) Current gold to (((Player((Integer A))) Current gold) + Goldmines[(Player number of (Player((Integer A))))])
-






Player - Set (Player((Integer A))) Current gold to (((Player((Integer A))) Current gold) + Goldmines[(Player number of (Player((Integer A))))])
-
-
-




Wait 5.00 seconds
-




Set TempBool = False
-
-



Else - Actions
-
-
-