- Joined
- Apr 17, 2010
- Messages
- 124
Not exactly sure If this is the right section, but I don't know how to make an ability do what i want it to. It's suppose to be called 'Healing Mark'.
It's basically heal and reincarnate put together; You heal a target for x(undecided) hp and leave a mark for say 30 seconds. If the target unit dies, its instantly revived. I already have it down, but I'm not sure if it works.
Heres the thing itself..
Events
Conditions
Actions
AND healing mark 2:
Events
No conditions
Actions
It's basically heal and reincarnate put together; You heal a target for x(undecided) hp and leave a mark for say 30 seconds. If the target unit dies, its instantly revived. I already have it down, but I'm not sure if it works.
Heres the thing itself..
Events
Code:
Unit- A unit finishes casting an ability
Code:
(Ability being cast)Equal to Healing Mark
Code:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Targeted unit) is A Hero) Equal to True
Then - Actions
Set healingmarktarget = (Targeted unit)
Set healingmark = 1
Compatibility - Create the illusion of Healing Mark with that buff's Effect model attached to (Targeted unit) on it's overhead
Trigger - Turn on healing mark 2 <gen>
Wait 30.00 seconds
Trigger - Turn off healing mark 2 <gen>
Else - Actions
Do nothing
AND healing mark 2:
Events
Code:
Unit- A unit dies.
Actions
Code:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to healingmarktarget
Then - Actions
Hero - Instantly revive healingmarktarget at (Position of (Dying unit)), Hide revival graphics
Else - Actions
Do nothing