• 🏆 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!

[Trigger] Strength per nearby hero

Status
Not open for further replies.
Level 5
Joined
Nov 4, 2006
Messages
132
I want a trigger that makes any unit with with [passive dummy ability] to gain +5% attack damage and +1 armor for every enemy hero within 1500 range. but this ability should not do anything if only 1 hero is nearby.

Once a hero goes out of the range the bonus needs to go away.

eg:
1 hero nearby = no bonus
2 heros nearby = +5% attack, +1 armor
3 heros nearby = +10% attack, +2 armor
etc
etc...

How would I do this with GUI?
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Make an inner fire that gives %5-%10-%15-etc attack and +1-+2-+3-etc (lasts 1 second)
Everysecond pick all units with Your Ability
if Enemy heroes near it is greater than 1
make a dummy cast that dummy inner fire to your unit with (number of enemy heroes - 1 level)
 
Status
Not open for further replies.
Top