- Joined
- Jul 26, 2008
- Messages
- 1,491
Hey guys, this is a spell that destroys mana and HP from an enemy unit, while also converting HP back to the caster.
The destroy HP part is from a modified version of shadow strike from the object editor--- the destroy mana and regain HP part is from this trigger.
I have noticed there is like a 1/6 chance that it causes the map to crash when used. I can't figure it out why this happens. All I know is, this is more aparent on 1.32+, since I have not seen comments about this spell causing crashes on earlier versions.
Many thanks if anyone can help figure out what is going on, or what condition (enemy having not enough HP/mana etc) is causing the crash.
The destroy HP part is from a modified version of shadow strike from the object editor--- the destroy mana and regain HP part is from this trigger.
I have noticed there is like a 1/6 chance that it causes the map to crash when used. I can't figure it out why this happens. All I know is, this is more aparent on 1.32+, since I have not seen comments about this spell causing crashes on earlier versions.
Many thanks if anyone can help figure out what is going on, or what condition (enemy having not enough HP/mana etc) is causing the crash.
-
ashen Q
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to 精神重创
-
-
Actions
-
Unit - Set mana of (Target unit of ability being cast) to ((Mana of (Target unit of ability being cast)) - (50.00 x ((Real((Level of 精神重创 for (Casting unit)))) + 1.00)))
-
Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + (50.00 x ((Real((Level of 精神重创 for (Casting unit)))) + 1.00)))
-
-
Last edited: