I tried making a multiple life drain spell, that drains a low ammount of hit points from each unit, so that when heaps of units are around it makes a really powerful spell.
This is what i tried.
1- based spell of channel called Multiple life drain
2- gave spell to hero
3- made trigger that did something like this.
however obviously this wont work because it doesnt give the hp to the caster.
any way of making this happen?
This is what i tried.
1- based spell of channel called Multiple life drain
2- gave spell to hero
3- made trigger that did something like this.
Code:
E-unit starts effect of a ability
C-ability being cast equal to multi life drain
E- create 5 dummies
-give life drain to dummy
pick every unit in 400 aoe from triggering unit and do.
-order last created unit to life drain picked unit.
however obviously this wont work because it doesnt give the hp to the caster.
any way of making this happen?