[Trigger] Request: Gold Income

Status
Not open for further replies.

Tinaki

T

Tinaki

I'm normally good with triggers, although I can't figure out to make a trigger that does the following

Spell Income: You research a spell that increases your gold income at a periodic event. This involves having 5 spells that all increase gold at a different level.

One doing +1, +5, +10, +25, +50.
 
No, I'm saying each player has a "Research" building. The building has many spells in it, but 5 of them are income increasing, or a number like 5, single digit.

Is it easier if I make a separate building for income?
 
Do they click the click the ability to make it happen? Or is the building existing enough to add an automatic income? (I mean which do you want)
 
  • Unknown
    • Events
      • Unit - A unit Finishes research
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Base
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Researched tech-type) Equal to Income_Research
        • Then - Actions
          • -------- Make for all players --------
          • If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Set Your_Income[1] = (Your_Income[1] + 5)) else do (Do nothing)
          • If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Set Your_Income[2] = (Your_Income[2] + 5)) else do (Do nothing)
        • Else - Actions
 
Status
Not open for further replies.
Back
Top