ok i posted what i could make so far in the JASS forum.
anyway, i want this to be an ability EXACTLY like critical strike but instead of dealing double damage or whatever, it deals 50% of the attackers current mana in damage.
i dont want a trigger which runs when a unit is attacked and then tries to 'simulate' the attack swing with a suitably small wait time before applying the damage.
i want the bonus damage to be applied EXACTLY when the hit lands, just as critical strike/bash does.
ofcourse there are huge problems when you consider that the attacked unit could have evasion, could blink, could stun you during your swing etc.
as far as i know, its impossible to replicate the 'bonus effect on unit hit' event perfectly.
anyway, i want this to be an ability EXACTLY like critical strike but instead of dealing double damage or whatever, it deals 50% of the attackers current mana in damage.
i dont want a trigger which runs when a unit is attacked and then tries to 'simulate' the attack swing with a suitably small wait time before applying the damage.
i want the bonus damage to be applied EXACTLY when the hit lands, just as critical strike/bash does.
ofcourse there are huge problems when you consider that the attacked unit could have evasion, could blink, could stun you during your swing etc.
as far as i know, its impossible to replicate the 'bonus effect on unit hit' event perfectly.