garrynewman/garrysmod — pull request #663 by YMIndustries (2014-04-08 12:24:02+00:00)
Title: Make avoidable damage karma system accessible to custom weapons

Rather than having the karma system handle the special case of "ttt_c4" when damage is traitor vs traitor, the inflictor entity (or SWEP) can specify whether the damage was avoidable.

Not only does this make the system accessible to custom weapons (spykr's SLAM inspired me to make this) but it also makes the code more semantic and concise.