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

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,240
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