i'm currently trying to give my spell, lifebloom (a heal over time), a heal after it finishes, but i can't seem to figure it out.
i copied this from my aoe circle of healing and changed it for lifebloom:
Lifebloom
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Lifebloom
Actions
Set LbPoint = (Position of (Target unit of ability being cast))
Set LbGroup = (Units within 0.00 of LbPoint matching ((((Owner of (Matching unit)) is an ally of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True)))
Wait 7.20 seconds
Unit Group - Pick every unit in HealGroup and do (Actions)
Loop - Actions
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + ((Max life of (Picked unit)) x 0.20))
Special Effect - Create a special effect at (Position of (Picked unit)) using Cure.mdx
Custom script: call RemoveLocation(udg_LbPoint)
Custom script: call DestroyGroup(udg_LbGroup)
i copied this from my aoe circle of healing and changed it for lifebloom:
Lifebloom
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Lifebloom
Actions
Set LbPoint = (Position of (Target unit of ability being cast))
Set LbGroup = (Units within 0.00 of LbPoint matching ((((Owner of (Matching unit)) is an ally of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True)))
Wait 7.20 seconds
Unit Group - Pick every unit in HealGroup and do (Actions)
Loop - Actions
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + ((Max life of (Picked unit)) x 0.20))
Special Effect - Create a special effect at (Position of (Picked unit)) using Cure.mdx
Custom script: call RemoveLocation(udg_LbPoint)
Custom script: call DestroyGroup(udg_LbGroup)