Have no idea but this is suppose to increase the persons mana by 1. The first time it is 1 but the second time 2 and third 3 and so on. Anyone know why?
Theres no event coz another trigger adds the event later on.
Thanks in advance
Theres no event coz another trigger adds the event later on.
Code:
Freight
Events
Conditions
(Unit-type of (Triggering unit)) Equal to Chicken
Actions
Wait 1.00 seconds
For each (Integer A) from 1 to 15, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(ShopRegions[(Integer A)] contains (Triggering unit)) Equal to True
Then - Actions
Unit Group - Pick every unit in (Units in ShopRegions[(Integer A)] matching (((Matching unit) is A structure) Equal to True)) and do (Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) + 1.00))
Else - Actions
Do nothing
Unit - Remove (Triggering unit) from the game
Thanks in advance