Is there a spell that it will gain gold per second?

Status
Not open for further replies.
Level 14
Joined
Oct 16, 2010
Messages
740
No but you can easily trigger it. Just periodically set a unit group as units that are alive with that passive and give gold to the owning player, if you have levels just check the level of the ability and give gold accordingly.
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
Answer: Nope.

But as Karzama said, you can easily trigger it.
Create one group that contains the units that have that spell.
Check if the unit is alive and if the unit has that ability.
If not, remove them from the group.
If true, give gold to player.

Pick every unit in entire map at initialization and check if they have the ability and add those in the group.
Make a trigger that will catch every unit that enters the entire map and check if that unit has the ability.
 
Status
Not open for further replies.
Top