예제 #1
0
 public void Unequip(EquippableItem item)
 {
     if (!archetype.IsFull() && equipmentPanel.RemoveItem(item))
     {
         nextTable = item.CurrentTable;
         archetype.nextButton.enabled = false;
         item.Unequip(this);
         statPanel.UpdateStatValues();
         advantagePanel.UpdateStatValues();
         archetype.AddItem(item);
         skillPanel.UpdateStatValues();
         powerPanel.UpdateStatValues();
     }
 }