public void ReceiveDamageByBoss() { if (isLocalPlayer) CmdReceiveDamageBoss(gameObject.GetComponent<Inventory>().Armor); }