test
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Mining Facility) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Mana of (Picked unit)) Greater than or equal to 10.00
Then - Actions
Player - Add 10 to (Owner of (Picked unit)) Current gold
Else - Actions