• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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!
 
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: https://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/
 
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.
Back
Top