Beispiel #1
0
 public override void RightClick(ref Item item, Player player, bool byMouseItem)
 {
     GadgetMethods.PrefixItem(ref item, false, true);
     if (byMouseItem)
     {
         player.inventory[58] = item.Clone();
     }
 }
Beispiel #2
0
 private void ReforgeItem()
 {
     Main.LocalPlayer.BuyItem(reforgePrice, -1);
     GadgetMethods.PrefixItem(ref reforgeSlot.item);
     OnItemChanged();
 }