i been working on abaddon ultimate i wrote a perfect trigger but game always crashing every time any idea ? here is the trigger:
Borrowed Time:
Event;Unit - A unit begins casting an ability
Conditions;Ability being cast equal to Burrowed Time
Actions; Set Burrowtimemaxhp = (life of (Casting Unit))
Trigger - Turn on Burrowed time action <gen>
Wait 4 game time seconds
Trigger - Turn off Burrowed time action <gen>
Burrowed Time action
Event;Unit - Arthas 0000<gen> Takes damage
Action; Unit- Cause (attacked unit) to damage (attacked unit) dealing((Burrowtimemaxhp - ((Life of(attacked unit))x-1)x2) damage to
Set Burrowtimemaxhp =(life of (Arthas evil))
The idea is quite hard to understand let me explain when abaddon casts burrow time game saves his hp and doing this math (Saved hp-after damage taken hp) X 2 as heal him and saving his after damage hp as saved hp so its repeating well but its crashing game... hope someone figure it out
Borrowed Time:
Event;Unit - A unit begins casting an ability
Conditions;Ability being cast equal to Burrowed Time
Actions; Set Burrowtimemaxhp = (life of (Casting Unit))
Trigger - Turn on Burrowed time action <gen>
Wait 4 game time seconds
Trigger - Turn off Burrowed time action <gen>
Burrowed Time action
Event;Unit - Arthas 0000<gen> Takes damage
Action; Unit- Cause (attacked unit) to damage (attacked unit) dealing((Burrowtimemaxhp - ((Life of(attacked unit))x-1)x2) damage to
Set Burrowtimemaxhp =(life of (Arthas evil))
The idea is quite hard to understand let me explain when abaddon casts burrow time game saves his hp and doing this math (Saved hp-after damage taken hp) X 2 as heal him and saving his after damage hp as saved hp so its repeating well but its crashing game... hope someone figure it out