- Joined
- Sep 14, 2004
- Messages
- 66
Ok I've been trying making a hero spell that makes the selected friendly unit invulnerable for some seconds, (like divine shield but not on yourself)
However I can't get it to work. I had frost nova as base spell and then I triggered like this:
Events:
Unit - A unit Begins casting an ability
Conditions:
(Ability being cast) Equal to Wall
(Level of Wall for (Casting unit)) Equal to 1
Actions:
Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Unit - Make (Target unit of ability being cast) Invulnerable
Wait 6.00 seconds
Unit - Make (Target unit of ability being cast) Vulnerable
To me, this should work, but the unit never go back to vulnerable again....
Can I do this different/easier?
However I can't get it to work. I had frost nova as base spell and then I triggered like this:
Events:
Unit - A unit Begins casting an ability
Conditions:
(Ability being cast) Equal to Wall
(Level of Wall for (Casting unit)) Equal to 1
Actions:
Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Unit - Make (Target unit of ability being cast) Invulnerable
Wait 6.00 seconds
Unit - Make (Target unit of ability being cast) Vulnerable
To me, this should work, but the unit never go back to vulnerable again....
Can I do this different/easier?