Nerf zombies - Slower, take more damage, less infectious. (#16587)

This commit is contained in:
Tom Leys
2023-05-25 15:41:03 +12:00
committed by GitHub
parent 5a841c651e
commit 8ca090910e
2 changed files with 17 additions and 15 deletions

View File

@@ -20,17 +20,11 @@ namespace Content.Shared.Zombies
[ViewVariables] [ViewVariables]
public float OtherZombieDamageCoefficient = 0.25f; public float OtherZombieDamageCoefficient = 0.25f;
/// <summary>
/// The baseline infection chance you have if you are completely nude
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
public float MaxZombieInfectionChance = 0.40f;
/// <summary> /// <summary>
/// Chance that this zombie be permanently killed (rolled once on crit->death transition) /// Chance that this zombie be permanently killed (rolled once on crit->death transition)
/// </summary> /// </summary>
[ViewVariables(VVAccess.ReadWrite)] [ViewVariables(VVAccess.ReadWrite)]
public float ZombiePermadeathChance = 0.70f; public float ZombiePermadeathChance = 0.80f;
/// <summary> /// <summary>
/// Chance that this zombie will be healed (rolled each second when in crit or dead) /// 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)] [ViewVariables(VVAccess.ReadWrite)]
public bool Permadeath = false; public bool Permadeath = false;
/// <summary>
/// The baseline infection chance you have if you are completely nude
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
public float MaxZombieInfectionChance = 0.30f;
/// <summary> /// <summary>
/// The minimum infection chance possible. This is simply to prevent /// The minimum infection chance possible. This is simply to prevent
/// being invincible by bundling up. /// being invincible by bundling up.
/// </summary> /// </summary>
[ViewVariables(VVAccess.ReadWrite)] [ViewVariables(VVAccess.ReadWrite)]
public float MinZombieInfectionChance = 0.10f; public float MinZombieInfectionChance = 0.05f;
[ViewVariables(VVAccess.ReadWrite)] [ViewVariables(VVAccess.ReadWrite)]
public float ZombieMovementSpeedDebuff = 0.75f; public float ZombieMovementSpeedDebuff = 0.70f;
/// <summary> /// <summary>
/// How long it takes our bite victims to turn in seconds (max). /// How long it takes our bite victims to turn in seconds (max).
/// Will roll 25% - 100% of this on bite. /// Will roll 25% - 100% of this on bite.
/// </summary> /// </summary>
[DataField("zombieInfectionTurnTime"), ViewVariables(VVAccess.ReadWrite)] [DataField("zombieInfectionTurnTime"), ViewVariables(VVAccess.ReadWrite)]
public float ZombieInfectionTurnTime = 240.0f; public float ZombieInfectionTurnTime = 480.0f;
/// <summary> /// <summary>
/// The skin color of the zombie /// The skin color of the zombie
@@ -115,10 +115,12 @@ namespace Content.Shared.Zombies
public EmoteSoundsPrototype? EmoteSounds; public EmoteSoundsPrototype? EmoteSounds;
// Heal on tick
[DataField("nextTick", customTypeSerializer:typeof(TimeOffsetSerializer))] [DataField("nextTick", customTypeSerializer:typeof(TimeOffsetSerializer))]
public TimeSpan NextTick; public TimeSpan NextTick;
/// <summary>
/// Healing each second
/// </summary>
[DataField("damage")] public DamageSpecifier Damage = new() [DataField("damage")] public DamageSpecifier Damage = new()
{ {
DamageDict = new () DamageDict = new ()

View File

@@ -130,11 +130,11 @@
- type: damageModifierSet - type: damageModifierSet
id: Zombie #Blunt resistent and immune to biological threats, but can be hacked apart and burned id: Zombie #Blunt resistent and immune to biological threats, but can be hacked apart and burned
coefficients: coefficients:
Blunt: 0.5 Blunt: 0.7
Slash: 0.7 Slash: 1.1
Piercing: 0.7 Piercing: 0.9
Shock: 1.5 Shock: 1.5
Cold: 0.2 Cold: 0.3
Heat: 2.0 Heat: 2.0
Poison: 0.0 Poison: 0.0
Radiation: 0.0 Radiation: 0.0