Dehardcode zombie damage values (#36494)
* Quick, send it! * no spaces, no fun * Noooo I have to adhere to good code standards
This commit is contained in:
@@ -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<PryingComponent>(target);
|
||||
|
||||
Reference in New Issue
Block a user