public void TakeDamage(Damage damage) { if (!ragdoll) { return; } if (!ragdoll.iChar.isDead) { inAddDamage = true; if (overrideReactionID) { damage.reaction_id = reactionID; } ragdoll.ApplyDamage(damage); Invoke("ResetAddDamage", 0.1f); } }