used Condition(function GetTrue) for the boolexpr.
EDIT: Event Leaks.
Proven by the map I uploaded.
Now what must I do for my map...
How many handles can we have in a map ?
EDIT again: eh, not. They are destroyed when the trigger is destroyed -_-
Yes... thats also what I thought.
But my spell map's handle id keeps increasing lol I don't understand. I don't think I made any other leak.
Any other answers?
I'm sure with Event UnitTakesDamage, we can get this result:
GetWidgetLife(x()) = HP before damaged
GetDamageTaken() = Damage going to be taken
GetWidgetLife(GetTriggerUnit()) - GetDamageTaken() = Remaining HP after taking damage
I think..? :D
It seems that my spells are all unspammable (0 sec cd)
Which in fact it only create around 50 handle per cast and each cast lasts around 3 seconds, it should only reach max handle of 250-300. The values between casts starts to go messed up and end up by Fatal Error.
Why is it? Because of my...