@@ -198,12 +198,10 @@ namespace Content.Server.Zombies
|
||||
if (TryComp<TemperatureComponent>(target, out var tempComp))
|
||||
tempComp.ColdDamage.ClampMax(0);
|
||||
|
||||
_mobThreshold.SetAllowRevives(target, true);
|
||||
//Heals the zombie from all the damage it took while human
|
||||
if (TryComp<DamageableComponent>(target, out var damageablecomp))
|
||||
_damageable.SetAllDamage(target, damageablecomp, 0);
|
||||
_mobState.ChangeMobState(target, MobState.Alive);
|
||||
_mobThreshold.SetAllowRevives(target, false);
|
||||
|
||||
var factionComp = EnsureComp<NpcFactionMemberComponent>(target);
|
||||
foreach (var id in new List<string>(factionComp.Factions))
|
||||
|
||||
Reference in New Issue
Block a user