zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_shadowgorechild/init.lua

10 lines
193 B
Lua
Raw Permalink Normal View History

INC_SERVER()
function SWEP:ApplyMeleeDamage(ent, trace, damage)
if ent:IsPlayer() then
ent:GiveStatus("dimvision", 2.5)
end
self.BaseClass.ApplyMeleeDamage(self, ent, trace, damage)
end