Пример #1
0
        public void Clone(ISWeapon weapon)
        {
            base.Clone(weapon);

            _mindamage     = weapon.MinDamage;
            _durability    = weapon.Durability;
            _maxdurability = weapon.MaxDurability;
            EquipmentSlot  = weapon.EquipmentSlot;
            _prefab        = weapon.Prefab;
        }
Пример #2
0
 public ISWeapon(ISWeapon weapon)
 {
     Clone(weapon);
 }