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]
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>
/// Chance that this zombie be permanently killed (rolled once on crit->death transition)
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
public float ZombiePermadeathChance = 0.70f;
public float ZombiePermadeathChance = 0.80f;
/// <summary>
/// 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;
/// <summary>
/// The baseline infection chance you have if you are completely nude
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
public float MaxZombieInfectionChance = 0.30f;
/// <summary>
/// The minimum infection chance possible. This is simply to prevent
/// being invincible by bundling up.
/// </summary>
[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;
/// <summary>
/// How long it takes our bite victims to turn in seconds (max).
/// Will roll 25% - 100% of this on bite.
/// </summary>
[DataField("zombieInfectionTurnTime"), ViewVariables(VVAccess.ReadWrite)]
public float ZombieInfectionTurnTime = 240.0f;
public float ZombieInfectionTurnTime = 480.0f;
/// <summary>
/// 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;
/// <summary>
/// Healing each second
/// </summary>
[DataField("damage")] public DamageSpecifier Damage = new()
{
DamageDict = new ()

View File

@@ -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