The one I provided is a minimal version. The version I use normally allows for out-of-mini-game damage, shield power, invincibility and overheal. I could post that one too if you want it.
Well, this could definitely be done, however this does overwrite a few default functions. It does an almost exact imitation of the default behavior, however it also causes the unfortunate side effect that any add-on which modifies damage functions executed before this will break.
Shield power is a yes, thanks!
Yeah, I edited my post on the 'releasing' thing, I think it's already a similar private mod elsewhere.
Thanks for all the help though!
EDIT:
So the mods will break if they modify which functions, exactly?
The best I can figure is that it will break the 'downed' status in Gamemode_Zombie... will it also break Assist Kills/Finished Off Kills?