- Joined
- Jan 2, 2015
- Messages
- 171
Hi everyone, i would like to make revive spell that when unit dies it will activated automatically. So when caster cast Auto-Life spell on other unit..this unit will get buff named Auto Life and get the reincarnation spell when attacked. I make the reincarnation spell added when unit is attacked because i dont know how the game check when unit has Auto Life buff so its safe to add reincarnation when unit is attacked and have Auto Life buff. My Problem is when unit dies..it will revived automatically but i cant remove this reincarnation spell from revived unit. I want reincarnation only available when unit have this auto life buff and removed when the buff expires or unit dies.
heres my trigger but not successfull
heres my trigger but not successfull
-
ressurection
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
((Attacked unit) has buff Auto Life ) Equal to True
-
-
Actions
-
Set auto revive = (Attacked unit)
-
Unit - Add Reincarnation (Cairne) to auto revive
-
-
-
revive remove
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Reincarnation (Cairne)
-
-
Actions
-
Unit - Remove Reincarnation (Cairne) from (Triggering unit)
-
-