private void Kill()
{
if (isLocalPlayer)
{
character.GetComponent<Rigidbody>().velocity = Vector3.zero;
gameObject.transform.FindChild("Character").FindChild("Armature").gameObject.SetActive(false);
gameObject.transform.FindChild("Character").FindChild("NPC_Man_Normal001").gameObject.SetActive(false);
gameObject.transform.FindChild("Character").GetComponent<CapsuleCollider>().enabled = false;
this.Poison = 0;
this.Regen = 0;
this.Speed = 0;
this.Jump = 0;
gameObject.GetComponent<Inventory>().DropAll();
gameObject.GetComponent<Social_HUD>().CmdSendActivity(Activity.Death);
GetComponent<InputManager>().IAmDead();
if (gameObject.GetComponent<BossFight>().MyState == BossFight.State.Infight)
gameObject.GetComponent<BossFight>().EnterSpec();
}
}