예제 #1
0
 public WeaponItems(WeaponItems orig)
 {
     SetItemName(orig.GetItemName());
     SetItemRarity(orig.GetItemRarity());
     SetItemType(orig.GetItemType());
     SetWeaponType(orig.GetWeaponType());
     SetWeaponAttackspeed(orig.GetWeaponAttackspeed());
     SetWeaponDamage(orig.GetWeaponDamage());
 }
예제 #2
0
 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";
 }