Skip to content

Commit

Permalink
zombie balance fix (no more грууаааа......) (#86)
Browse files Browse the repository at this point in the history
* debuff regen and speed

* virus debuf

* debuff стамин урон, я не осилил инглишь

* fix 1

* buff... eeee
  • Loading branch information
RedTerrorDark authored Nov 26, 2024
1 parent aebcace commit 242957c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Content.Server/Zombies/ZombieSystem.Transform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public void ZombifyEntity(EntityUid target, MobStateComponent? mobState = null)
// Humanoid zombie now deals stamina damage! ye.
AddComp<StaminaDamageOnHitComponent>(target);
var staminDamage = EnsureComp<StaminaDamageOnHitComponent>(target);
staminDamage.Damage = 25f;
staminDamage.Damage = 15f;

Dirty(target, staminDamage);

Expand Down
6 changes: 3 additions & 3 deletions Content.Shared/Zombies/PendingZombieComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public sealed partial class PendingZombieComponent : Component
{
DamageDict = new ()
{
{ "Poison", 0.5 },
{ "Poison", 0.4 },
{ "Cellular", 0.2 },
}
};
Expand All @@ -41,13 +41,13 @@ public sealed partial class PendingZombieComponent : Component
/// The minimum amount of time initial infected have before they start taking infection damage.
/// </summary>
[DataField]
public TimeSpan MinInitialInfectedGrace = TimeSpan.FromMinutes(6f);
public TimeSpan MinInitialInfectedGrace = TimeSpan.FromMinutes(12f);

/// <summary>
/// The maximum amount of time initial infected have before they start taking damage.
/// </summary>
[DataField]
public TimeSpan MaxInitialInfectedGrace = TimeSpan.FromMinutes(15f);
public TimeSpan MaxInitialInfectedGrace = TimeSpan.FromMinutes(20f);

/// <summary>
/// The chance each second that a warning will be shown.
Expand Down
10 changes: 5 additions & 5 deletions Content.Shared/Zombies/ZombieComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ public sealed partial class ZombieComponent : Component
/// being invincible by bundling up.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
public float MinZombieInfectionChance = 0.40f;
public float MinZombieInfectionChance = 0.30f;

[ViewVariables(VVAccess.ReadWrite)]
public float ZombieMovementSpeedDebuff = 0.80f;
public float ZombieMovementSpeedDebuff = 0.75f;

/// <summary>
/// The skin color of the zombie
Expand Down Expand Up @@ -99,9 +99,9 @@ public sealed partial class ZombieComponent : Component
{
DamageDict = new ()
{
{ "Blunt", -0.8 },
{ "Slash", -0.4 },
{ "Piercing", -0.4 },
{ "Blunt", -0.7 },
{ "Slash", -0.3 },
{ "Piercing", -0.3 },
{ "Heat", -0.05 },
{ "Shock", -0.05 }
}
Expand Down

0 comments on commit 242957c

Please sign in to comment.