Example #1
0
        public virtual void DamageArmor()
        {
            if (Player.GameMode != GameMode.Survival)
            {
                return;
            }

            Helmet   = DamageArmorItem(Helmet);
            Chest    = DamageArmorItem(Chest);
            Leggings = DamageArmorItem(Leggings);
            Boots    = DamageArmorItem(Boots);
            Player.SendEquipmentForPlayer();
        }