- Joined
- Apr 23, 2006
- Messages
- 17
ok the spell i was gonna make is called stHeal and it should do this ill give u level 1 stats ) damage 75 thats it but when a unit get killed by this spell it should recover the caster it hit points so ( btw i used storm bolt ) hmm these are my triggers for it:
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to stHeal
Actions
Unit Group - Add (Target unit of ability being cast) to stHeal_unit_group
Wait 0.01 seconds
Wait until ((All units of stHeal_unit_group are dead) Equal to True), checking every 0.50 seconds
Unit - Set life of (Target unit of issued order) to 100.00%
Special Effect - Create a special effect attached to the chest of (Target unit of issued order) using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
Set stHeal_Effect = (Last created special effect)
Unit Group - Remove all units from stHeal_unit_group
Wait 5.00 seconds
Special Effect - Destroy stHeal_Effect
and
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to stHeal
Actions
Wait 5.00 seconds
Unit Group - Remove all units from
stHeal_unit_group
cooldown of teh spell = 12 secs so np for teh w8 times
HEEEEEEEELP PLZZZZZZZZZZZ
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to stHeal
Actions
Unit Group - Add (Target unit of ability being cast) to stHeal_unit_group
Wait 0.01 seconds
Wait until ((All units of stHeal_unit_group are dead) Equal to True), checking every 0.50 seconds
Unit - Set life of (Target unit of issued order) to 100.00%
Special Effect - Create a special effect attached to the chest of (Target unit of issued order) using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
Set stHeal_Effect = (Last created special effect)
Unit Group - Remove all units from stHeal_unit_group
Wait 5.00 seconds
Special Effect - Destroy stHeal_Effect
and
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to stHeal
Actions
Wait 5.00 seconds
Unit Group - Remove all units from
stHeal_unit_group
cooldown of teh spell = 12 secs so np for teh w8 times
HEEEEEEEELP PLZZZZZZZZZZZ