diff --git a/lua/zcnpci.lua b/lua/zcnpci.lua index eb8da80..7843ecc 100644 --- a/lua/zcnpci.lua +++ b/lua/zcnpci.lua @@ -154,8 +154,8 @@ hook.Add("HomigradDamage", "zcnpci", function(ent, dmginfo) last_attacker[ent] = dmginfo:GetAttacker() if dmginfo:IsDamageType(DMG_BULLET + DMG_BUCKSHOT + DMG_BLAST) then - if dmginfo:GetDamage() > 1.5 then - ent:TakeDamage(ent:Health()) + if dmginfo:GetDamage() > 3 then + table.insert(npcs_to_fake, ent) end elseif dmginfo:IsDamageType(DMG_CLUB + DMG_SLASH) then local fists = dmginfo:GetAttacker():GetWeapon("weapon_hands_sh")