Mikusch / friendlyfire

A plugin that fixes mp_friendlyfire in Team Fortress 2
https://forums.alliedmods.net/showthread.php?t=342166
GNU General Public License v3.0
16 stars 2 forks source link

Don't run damage logic on self-damage #16

Closed Mikusch closed 2 months ago

Mikusch commented 2 months ago

Weapons like the Half-Zatoichi are really weird and will deal self-damage on holster while the player is dead (though it is set to 0.0). This somehow causes the attacker and victim to change between the pre-hook and post-hook, which messes up the chain. Ironically, my system to foolproof against other plugins bites me in the ass here.

Closes #15