Originally Posted by Powerlord
You're aware that this plugin only works for non-bosses, right?
Yes. What does that have to do with anything? It converts damage to kills.
I just realized though, this plugin probably doesn't create event_player_death to show the actual killstreak notifications in the upper right / middle of the screen (for every 5 kills).
Originally Posted by sarysa
Nice. Have you figured out a workaround for the spy problem? Since actual spy damage in OnTakeDamagePost() is inaccurate, at least with FF2.
You should always be able to grab whatever damage a spy actual deals either by player_hurt or.. . ....... ... place whatever code you need that amount for right after you actually calculate the spy's damage formula.
if (iDmgCustom == TF_CUSTOM_BACKSTAB)
new Float:flHaleHealthMax = float(HaleHealthMax);
flDamage = ( BackstabCalculate(flHaleHealthMax) )/3.0;
iDmgType |= DMG_CRIT|DMG_PREVENT_PHYSICS_FORCE;
SpyBackstabCallback(iVictim, iAtker, flDamage*3.0); // Since this is OnTakeDamage (pre) the crit gets applied later.