- Joined
- Mar 25, 2010
- Messages
- 187
So i've made a spell that acts as a normal single-target damage spell, but when the target's health is below 20% its killed instantly by this spell.
Problem is, the spell is based off storm bolt, and when i use another spell also based on storm bolt, it triggers this effect.
Anyway here's the trigger.
Problem is, the spell is based off storm bolt, and when i use another spell also based on storm bolt, it triggers this effect.
Anyway here's the trigger.
-
Events
-

Unit - A unit Starts the effect of an ability
-
-
Conditions
-

(Ability being cast) Equal to Decapitate
-
-
Actions
-

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-


If - Conditions
-



(Percentage life of (Target unit of ability being cast)) Less than or equal to 20.00
-



((Target unit of ability being cast) is in Bosses) Not equal to True
-
-


Then - Actions
-



Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 10000.00 damage of attack type Normal and damage type Normal
-



Special Effect - Create a special effect attached to the origin of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\OrcSmallDeathExplode\OrcSmallDeathExplode.mdl
-



Special Effect - Destroy (Last created special effect)
-
-


Else - Actions
-



Do nothing
-
-
-




