public void TakeBurnDamage(float damage) { foreach (var ContainsLimb in ContainsLimbs) { ContainsLimb.ApplyTraumaDamage(damage, BodyPart.TramuticDamageTypes.BURN); } }
/// <summary> /// Applies pierce damage to limbs inside of this container. Armor chance is handled inside of ApplyTraumaDamage(); /// </summary> public void TakePierceDamage(float damage) { foreach (var ContainsLimb in ContainsLimbs) { ContainsLimb.ApplyTraumaDamage(damage, BodyPart.TramuticDamageTypes.PIERCE); } }