I did make the item, but everytime I tried it, it only heals one unit, not 4, as my ability. Is there a way to fix this? I tried basing the item on the healing wave, doesn't work and then the chain lightning. Really doesn't work.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Scroll of Multiheal completion

Events


Unit - A unit Uses an item

Conditions


(Item-type of (Last created item)) Equal to Scroll of Multiheal


(Item-class of (Last created item)) Equal to Purchasable

Actions


Set Placement = (Position of (Casting unit))


Unit - Create 1 Dummy3 for (Owner of (Casting unit)) at Placement facing (Facing of (Casting unit)) degrees


Unit - Add Healing Wave (item) to (Last created unit)


Unit - Order (Last created unit) to Orc Shadow Hunter - Healing Wave (Triggering unit)


Custom script: call RemoveLocation(udg_Placement)
Healing Wave

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Healing Wave (Fake Spell)

Actions


-------- NOTE: The selected spell in the conditions block is not the ACTUAL ability (NO SHIT SHERLOCK!). --------


-------- Then, you might ask: Why are you doing this? Simple, if I were to choose the real spell in the conditions block, and also gave it to the item, the first unit would be healed until its HP gets full. --------


-------- Yes, that is correct, because I'd be creating a dummy unit casting the very same spell, and that will fire this trigger again. --------


-------- Despite the infinite loop that could be easily fixed (by turning this trigger off, ordering dummy to cast spell, and turning it back on) --------


-------- ... You'd be facing the double heal towards the first target anyway. --------


-------- Without any further ado, let's begin. --------


Set tempLoc = (Position of (Triggering unit))


Unit - Create 1 Dummy for (Owner of (Triggering unit)) at tempLoc facing Default building facing degrees


-------- Make sure you're giving the correct ability to the dummy unit. --------


Unit - Add Healing Wave (Correct spell) to (Last created unit)


Unit - Order (Last created unit) to Orc Shadow Hunter - Healing Wave (Target unit of ability being cast)


Unit - Add a 1.00 second Generic expiration timer to (Last created unit)


Custom script: call RemoveLocation(udg_tempLoc)
