Zombie wideswing and misc fix (#26064)

* inital

* b

* Update MeleeWeaponComponent.cs

* Update Content.Shared/Zombies/ZombieComponent.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Mr. 27
2024-03-13 06:02:10 -04:00
committed by GitHub
parent 67d4fee285
commit 3981173a15
3 changed files with 10 additions and 1 deletions

View File

@@ -125,7 +125,10 @@ namespace Content.Server.Zombies
var melee = EnsureComp<MeleeWeaponComponent>(target);
melee.Animation = zombiecomp.AttackAnimation;
melee.WideAnimation = zombiecomp.AttackAnimation;
melee.AltDisarm = false;
melee.Range = 1.2f;
melee.Angle = 0.0f;
melee.HitSound = zombiecomp.BiteSound;
if (mobState.CurrentState == MobState.Alive)
{