I'm brand new here, and new to map making, so my dilemma is relatively basic.
I've got a very simple spell i want to have castable on multiple units who's effects can stack. It simply does:
set life of target unit of ability being cast = life of target unit + healed amount
every 1 second after the spell is cast, for 15 seconds, and then destroys the created unit-attached spell effect.
I thought i could have it stack without using JASS by using manipulating triggers and variable arrays, but it got REALLY messy and impossible to write... trying to use the time of day as a reference of expiration and checking every tenth of a second to see if the first instance of the spell cast was done, to remove the associated effect, and to cut off the healing to that target... :banghead:
It would be way simpler if the target unit variable and the associated spell effect variable could be stored in multiple instances.
Can this be done in JASS? And, would it be easy to write?
Or would there be an easy way of doing it in the regular editor?
Thanks for any help -
I've got a very simple spell i want to have castable on multiple units who's effects can stack. It simply does:
set life of target unit of ability being cast = life of target unit + healed amount
every 1 second after the spell is cast, for 15 seconds, and then destroys the created unit-attached spell effect.
I thought i could have it stack without using JASS by using manipulating triggers and variable arrays, but it got REALLY messy and impossible to write... trying to use the time of day as a reference of expiration and checking every tenth of a second to see if the first instance of the spell cast was done, to remove the associated effect, and to cut off the healing to that target... :banghead:
It would be way simpler if the target unit variable and the associated spell effect variable could be stored in multiple instances.
Can this be done in JASS? And, would it be easy to write?
Or would there be an easy way of doing it in the regular editor?
Thanks for any help -