• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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

Status
Not open for further replies.
Level 13
Joined
Oct 16, 2010
Messages
731
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,657
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