Skip to content

Commit

Permalink
fix cloaker hurt severity crash
Browse files Browse the repository at this point in the history
THANKS SBZ FOR REMOVING THIS FROM VANILLA CHARTWEAK FOR NO REASON)0))0)
  • Loading branch information
nikitawastaken committed Dec 2, 2023
1 parent e1c3663 commit 42a0f40
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions lua/charactertweakdata.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 42a0f40

Please sign in to comment.