• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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