- Joined
- Jul 28, 2008
- Messages
- 211
I saw a spell inside a turorial and i wanted to try and make my own spell. But it doesn't work.
Here's the spell:
Thx in advance
thumbs_up:
Here's the spell:
-
Rage Cast
-
Events
-
Unit - A unit Begins channeling an ability
-
-
Conditions
-
(Ability being cast) Equal to Rage
-
-
Actions
-
Custom script: local unit udg_Caster
-
Custom script: local effect udg_Effect1
-
Custom script: local effect udg_Effect2
-
Custom script: local effect udg_Effect3
-
Set Caster = (Triggering unit)
-
Special Effect - Create a special effect attached to the weapon of Caster using Abilities\Spells\Orc\TrollBerserk\HeadhunterWEAPONSLeft.mdl
-
Set Effect1 = (Last created special effect)
-
Special Effect - Create a special effect attached to the chest of Caster using Abilities\Spells\Other\Drain\DrainTarget.mdl
-
Set Effect2 = (Last created special effect)
-
Special Effect - Create a special effect attached to the overhead of Caster using Abilities\Weapons\NecromancerMissile\NecromancerMissile.mdl
-
Set Effect3 = (Last created special effect)
-
Unit - Add Rage Life to Caster
-
Unit - Add Rage Speed to Caster
-
Unit - Add Rage Damage to Caster
-
Unit - Add Rage Drain to Caster
-
Wait 20.00 seconds
-
Special Effect - Destroy Effect1
-
Special Effect - Destroy Effect2
-
Special Effect - Destroy Effect3
-
Unit - Remove Rage Damage from Caster
-
Unit - Remove Rage Life from Caster
-
Unit - Remove Rage Drain from Caster
-
Unit - Remove Rage Speed from Caster
-
-
Thx in advance

Attachments
Last edited: