From 8ca090910e248dca69d21295683be126599cece2 Mon Sep 17 00:00:00 2001 From: Tom Leys Date: Thu, 25 May 2023 15:41:03 +1200 Subject: [PATCH] Nerf zombies - Slower, take more damage, less infectious. (#16587) --- Content.Shared/Zombies/ZombieComponent.cs | 24 ++++++++++--------- Resources/Prototypes/Damage/modifier_sets.yml | 8 +++---- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/Content.Shared/Zombies/ZombieComponent.cs b/Content.Shared/Zombies/ZombieComponent.cs index 1549d712c0..6031f993c1 100644 --- a/Content.Shared/Zombies/ZombieComponent.cs +++ b/Content.Shared/Zombies/ZombieComponent.cs @@ -20,17 +20,11 @@ namespace Content.Shared.Zombies [ViewVariables] public float OtherZombieDamageCoefficient = 0.25f; - /// - /// The baseline infection chance you have if you are completely nude - /// - [ViewVariables(VVAccess.ReadWrite)] - public float MaxZombieInfectionChance = 0.40f; - /// /// Chance that this zombie be permanently killed (rolled once on crit->death transition) /// [ViewVariables(VVAccess.ReadWrite)] - public float ZombiePermadeathChance = 0.70f; + public float ZombiePermadeathChance = 0.80f; /// /// Chance that this zombie will be healed (rolled each second when in crit or dead) @@ -45,22 +39,28 @@ namespace Content.Shared.Zombies [ViewVariables(VVAccess.ReadWrite)] public bool Permadeath = false; + /// + /// The baseline infection chance you have if you are completely nude + /// + [ViewVariables(VVAccess.ReadWrite)] + public float MaxZombieInfectionChance = 0.30f; + /// /// The minimum infection chance possible. This is simply to prevent /// being invincible by bundling up. /// [ViewVariables(VVAccess.ReadWrite)] - public float MinZombieInfectionChance = 0.10f; + public float MinZombieInfectionChance = 0.05f; [ViewVariables(VVAccess.ReadWrite)] - public float ZombieMovementSpeedDebuff = 0.75f; + public float ZombieMovementSpeedDebuff = 0.70f; /// /// How long it takes our bite victims to turn in seconds (max). /// Will roll 25% - 100% of this on bite. /// [DataField("zombieInfectionTurnTime"), ViewVariables(VVAccess.ReadWrite)] - public float ZombieInfectionTurnTime = 240.0f; + public float ZombieInfectionTurnTime = 480.0f; /// /// The skin color of the zombie @@ -115,10 +115,12 @@ namespace Content.Shared.Zombies public EmoteSoundsPrototype? EmoteSounds; - // Heal on tick [DataField("nextTick", customTypeSerializer:typeof(TimeOffsetSerializer))] public TimeSpan NextTick; + /// + /// Healing each second + /// [DataField("damage")] public DamageSpecifier Damage = new() { DamageDict = new () diff --git a/Resources/Prototypes/Damage/modifier_sets.yml b/Resources/Prototypes/Damage/modifier_sets.yml index 3d73235b8f..694191b403 100644 --- a/Resources/Prototypes/Damage/modifier_sets.yml +++ b/Resources/Prototypes/Damage/modifier_sets.yml @@ -130,11 +130,11 @@ - type: damageModifierSet id: Zombie #Blunt resistent and immune to biological threats, but can be hacked apart and burned coefficients: - Blunt: 0.5 - Slash: 0.7 - Piercing: 0.7 + Blunt: 0.7 + Slash: 1.1 + Piercing: 0.9 Shock: 1.5 - Cold: 0.2 + Cold: 0.3 Heat: 2.0 Poison: 0.0 Radiation: 0.0