- Joined
- Jul 25, 2019
- Messages
- 110
Hey dudes, so, im making a couple heroes for a map, and, i have this 1 hero who when his hp is 5% of lees, detonates himself for dmg based on his str + int, as you can see in the trigger. Now, when this happens, the game crashes. But not just crashes, it eliminates itself from existence. No crash report, no crash file, not even the window with CDkey thing, just vanish. I tried to replace the AOE dmg trigger with an automated message and it didnt crash so... does anyone have any clue why this 1 single trigger makes warcraft3 game literally purge itself from Process List. I dont really need help with this one im just curious about why it happens
-
EverlastingFireOnDeath
-
Events
-
Unit - Takes damage
-
-
Conditions
-
(Triggering unit) Equal to Hero_CorruptedLord
-
(Life of Hero_CorruptedLord) Less than or equal to ((Max life of Hero_CorruptedLord) x 0.05)
-
-
Actions
-
Set VariableSet Strength = (Strength of Hero_CorruptedLord (Include bonuses))
-
Set VariableSet Inteligence = (Intelligence of Hero_CorruptedLord (Include bonuses))
-
Set VariableSet RealAttribute = (((Real(Inteligence)) x 0.50) + (Real(Strength)))
-
Unit - Cause Hero_CorruptedLord to damage circular area after 0.00 seconds of radius 500.00 at (Position of Hero_CorruptedLord), dealing (RealAttribute x 4.00) damage of attack type Spells and damage type Fire
-
Unit - Kill Hero_CorruptedLord
-
Trigger - Turn off (This trigger)
-
Wait 1500.00 seconds
-
Trigger - Turn on (This trigger)
-
-