Gold tower

Status
Not open for further replies.
Level 1
Joined
Jan 15, 2013
Messages
61
Hi guys. I want to make a tower that will give you 1 gold every 10 sec for example. Then you can upgrade it to give you 1g/7sec, 1g/5sec/, 1g/3sec and finally 1 gold every second. Can i make it in one trigger or i dont need any trigger for that. Please help. Thx in advance
 
  • Gold Tower
    • Events
      • Time - Every 7.00 seconds of game time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Unit-type of (Picked unit)) Equal to Gold Tower LVL 1
            • Then - Actions
              • Player - Add 1 to (Owner of (Picked unit)) Current gold
            • Else - Actions
 
Status
Not open for further replies.
Back
Top