Ashcat
Hellooo
- Reaction score
- 68
Okay, so I made this simple healing spell, just target an area and heal all friendlies in it. I took a rain of fire with most everything set to 0 for the spell, then made a healing wave that doesn't bounce for the dummy unit to cast on each unit in the area.
Now when I cast it, all it does is heal one unit in the target area and ignores all the rest
this is the trigger
If anyone could tell me how to make it work correctly I'd be very appreciative, thanks.
Now when I cast it, all it does is heal one unit in the target area and ignores all the rest
this is the trigger
Code:
Circle of Healing Heal
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Circle of Healing (Holy Priest)
Actions
Unit Group - Pick every unit in (Units within (175.00 + (25.00 x (Real((Level of Circle of Healing (Holy Priest) for (Casting unit)))))) of (Target point of ability being cast) matching ((((Matching unit) is alive) Equal to True) and (((Owner of (Matching unit)) is an ally of (Owner of (Cas and do (Actions)
Loop - Actions
Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at (Position of (Picked unit)) facing 0.00 degrees
Unit - Add Dummy Cast (Circle of Healing Heal) to (Last created unit)
Unit - Set level of Dummy Cast (Circle of Healing Heal) for (Last created unit) to (Level of Circle of Healing (Holy Priest) for (Casting unit))
Unit - Order (Last created unit) to Orc Shadow Hunter - Healing Wave (Picked unit)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
If anyone could tell me how to make it work correctly I'd be very appreciative, thanks.