I've been trying to make a trigger spell called Healing Aura. Works like Brilliance Aura simply, only change is that it heals instead of restores mana.
So I made the custom Brilliance Aura spell, removed effects etc, only set range; Made a trigger
Healing Aura
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Healing Aura
Actions
Trigger - Turn on Healing Aura 2 <gen>
Healing Aura 2
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units within 500.00 of (Position of Cleric 0016 <gen>) matching (((Picked unit) belongs to an ally of Player 1 (Red)) Equal to True)) and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 50.00))
The Healing Aura 2 trigger is initially off.
It's probably something simple-.. cant figure it out tho, i'd love some help![/code]
LOL The trouble is it leaks but thats not the point. WC3 comes with a built in healing aurea called unholy aura just change its stats to what you want.
There honestly is NO NEED to use triggers that leak and lag to simulate an already included aura and do not forget that if you want to change the effect the aura shows on units you can!
Cool, didn't know that worked, with the aura. But what do you mean leak? I'm not especially "tuned" with WC3 Editor, since I play WoW. But I know some stuff about triggers...
BTW I just tested out your Unholy Aura idea.. Only problem is Unholy Aura only increases regeneration with %. I wanna use a set number of healing every 5 seconds.
uuh.. mbe triggers then? idk if there are any set healing auras. anyways, what he means by 'leak' is that the unit group thing will leave the groups lying around, just generating lag.
Healing Aura 2 Events Time - Every 5.00 seconds of game time Conditions Actions Unit Group - Pick every unit in (Units within 500.00 of (Position of Cleric 0016 <gen>) matching (((!!!!!!!) belongs to an ally of Player 1 (Red)) Equal to True)) and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 50.00))
You should change Picked unit to Matching unit on the place where i put the exclamation marks.. Maybe it will work. Good luck!
imported_Desert King
#10
Oh, by the way: I would also recommend to create a buff so instead of using a single unit you can make a universal trigger:
Pick every unit matching: matching unit has buff Heal aura and do actions..