Bladezor
You can change this now in User CP.
- Reaction score
- 0
can I make a passive spell that I will get 1 gold/lumber every 2 second or something? for that player who spec it. =)
Just made two triggers for you, Bladezor. Didn't really think of its efficiency, but I think it's quite decent. And it works also, just tested it with the spell "Human Archmage - Blizzard".
Trigger:
- Add To UnitGroup
- Events
- Unit - A unit Learns a skill
- Conditions
- (Learned Hero Skill) Equal to Human Archmage - Blizzard
- Actions
- Unit Group - Add (Learning Hero) to Spell_UnitGroup
Trigger:
- Give Gold And Lumber
- Events
- Time - Every 2.00 seconds of game time
- Conditions
- Actions
- Unit Group - Pick every unit in Spell_UnitGroup and do (Actions)
- Loop - Actions
- Player - Add 1 to (Owner of (Picked unit)) Current gold
- Player - Add 1 to (Owner of (Picked unit)) Current lumber
I used one variable of type Unit Group.
The first trigger adds the unit with the ability to the unit group and the second trigger adds 1 gold and lumber to the players whom have learned the ability. I guess you can also figure that out yourself from the triggers, hehe.
Hope I helped!