• 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.

area heal request

Status
Not open for further replies.
Level 5
Joined
Aug 25, 2010
Messages
120
Hy!

I need a spell, an area heal, similar to the basic heal spell, but can heal a targeted area, not around the caster.

Can somebody help me?

THx a lot!
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Event
Unit starts the effect of an ability
Condition
Ability being cast == your ability
Actions
Pick all unit in range of target point of ability being cast
loop
->conditions
->->picked unit is an ally of owner of triggerin unit
->->picked unit is alive
->->then set life of picked unit to life of picked unit + x

Make sure the target point an unit group do not leak: http://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/
 
Level 5
Joined
Aug 25, 2010
Messages
120
thx it works!

another question, what about if want to use it as hero spell, so i want to 3 level and learn?
What's the modifications?
 
Status
Not open for further replies.
Top