- Joined
- Aug 20, 2004
- Messages
- 65
Okay, this trigger isn't workin'
Events
Unit - A unit starts the effect of an ability
Conditions
(Ability being cast) Equal to (myspell)
Actions
Unit - Cause (Triggering unit) to damage (Targeted unit), dealing ((Max life of (Targeted unit)) -(thats a minus) ((Life of (Targeted unit)) X (Real((Level of (myspell) for (triggering unit))))) damage of attack type normal and damage type normal.
So it'll go like this
Units Max life = 1000
Minus Units life = 730
1000 - 730 = 270
Level of spell = 2
270 X 2 = 540
Unit takes 540 damage.
Or thats how it should work, but it doesn't.
Events
Unit - A unit starts the effect of an ability
Conditions
(Ability being cast) Equal to (myspell)
Actions
Unit - Cause (Triggering unit) to damage (Targeted unit), dealing ((Max life of (Targeted unit)) -(thats a minus) ((Life of (Targeted unit)) X (Real((Level of (myspell) for (triggering unit))))) damage of attack type normal and damage type normal.
So it'll go like this
Units Max life = 1000
Minus Units life = 730
1000 - 730 = 270
Level of spell = 2
270 X 2 = 540
Unit takes 540 damage.
Or thats how it should work, but it doesn't.