All pastes #911867 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-02-20 23:38 UTC
rendered paste body
function GM:ScalePlayerDamage(player,hitgroup,dmginfo)
	if not dmginfo:GetAttacker():IsPlayer() then return end
	if dmginfo:GetAttacker():GetActiveWeapon():GetClass()=="weapon_stunstick" then
		dmginfo:ScaleDamage(0)
	end
	return dmginfo
end