From 42a0f40e7102784ee5ceed8e590c53a1970498e6 Mon Sep 17 00:00:00 2001 From: nikita <59087849+mrcreepysos@users.noreply.github.com> Date: Sat, 2 Dec 2023 16:59:29 +0300 Subject: [PATCH] fix cloaker hurt severity crash THANKS SBZ FOR REMOVING THIS FROM VANILLA CHARTWEAK FOR NO REASON)0))0) --- lua/charactertweakdata.lua | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/lua/charactertweakdata.lua b/lua/charactertweakdata.lua index d0b8caa..d728979 100644 --- a/lua/charactertweakdata.lua +++ b/lua/charactertweakdata.lua @@ -281,6 +281,51 @@ function CharacterTweakData:_presets(tweak_data, ...) end end + -- thanks sbz for removing this from vanilla for no reason :) + presets.hurt_severities.only_light_hurt_and_fire = { + tase = true, + bullet = { + health_reference = 1, + zones = { + { + light = 1 + } + } + }, + explosion = { + health_reference = 1, + zones = { + { + explode = 1 + } + } + }, + melee = { + health_reference = 1, + zones = { + { + light = 1 + } + } + }, + fire = { + health_reference = 1, + zones = { + { + fire = 1 + } + } + }, + poison = { + health_reference = 1, + zones = { + { + none = 1 + } + } + } + } + -- dozer damage reaction presets.hurt_severities.dozer = { tase = false,