I want to add +2 gold to owners of heroes that are affected by aura. Number of units dont matter. I mean if you have hero that is affected by an aura and you have less than 98 gold you gain +2 gold (so you never get 100+ gold because of that trigger). So far it looks like that:
"((Owner of (Picked unit)) current gold) lower than 98"
i need a check if picked unit is under effect of an aura.
-
Wyzwalacz bez nazwy 001
-
Events
- Time - Every 2.00 seconds of game time
- Conditions
-
Actions
-
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
- ((Owner of (Picked unit)) current gold) lower than 98
-
Then- Actions
- Player - Add 2 to (Owner of (Picked unit)) current gold
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Events
"((Owner of (Picked unit)) current gold) lower than 98"
i need a check if picked unit is under effect of an aura.