diff --git a/Content.Server/Zombies/ZombieSystem.Transform.cs b/Content.Server/Zombies/ZombieSystem.Transform.cs index 48954db4f1..a7a22c4175 100644 --- a/Content.Server/Zombies/ZombieSystem.Transform.cs +++ b/Content.Server/Zombies/ZombieSystem.Transform.cs @@ -178,17 +178,7 @@ public sealed partial class ZombieSystem _humanoidAppearance.SetBaseLayerId(target, HumanoidVisualLayers.Snout, zombiecomp.BaseLayerExternal, humanoid: huApComp); //This is done here because non-humanoids shouldn't get baller damage - //lord forgive me for the hardcoded damage - DamageSpecifier dspec = new() - { - DamageDict = new() - { - { "Slash", 13 }, - { "Piercing", 7 }, - { "Structural", 10 } - } - }; - melee.Damage = dspec; + melee.Damage = zombiecomp.DamageOnBite; // humanoid zombies get to pry open doors and shit var pryComp = EnsureComp(target); diff --git a/Content.Shared/Zombies/ZombieComponent.cs b/Content.Shared/Zombies/ZombieComponent.cs index 94e1e5afec..f9576dd3aa 100644 --- a/Content.Shared/Zombies/ZombieComponent.cs +++ b/Content.Shared/Zombies/ZombieComponent.cs @@ -127,6 +127,20 @@ public sealed partial class ZombieComponent : Component } }; + /// + /// The damage dealt on bite, dehardcoded for your enjoyment + /// + [DataField] + public DamageSpecifier DamageOnBite = new() + { + DamageDict = new() + { + { "Slash", 13 }, + { "Piercing", 7 }, + { "Structural", 10 } + } + }; + /// /// Path to antagonist alert sound. ///