public WeaponItems(WeaponItems orig) { SetItemName(orig.GetItemName()); SetItemRarity(orig.GetItemRarity()); SetItemType(orig.GetItemType()); SetWeaponType(orig.GetWeaponType()); SetWeaponAttackspeed(orig.GetWeaponAttackspeed()); SetWeaponDamage(orig.GetWeaponDamage()); }
public void AddWeaponToInventory(WeaponItems randomdrop) { inventorySpace.Add(new WeaponItems(randomdrop)); if (MyConst.almir) { Debug.Log("Random Item has successfully been added!"); } itemLog.text += randomdrop.GetItemName() + "\n"; }