public boolean hasRunes(int spellbook, int spell) {
   PlayerItems playerItems = new PlayerItems();
   if (playerItems.hasPlayerItemAmount(p, rune1[0], rune1[1])
       && playerItems.hasPlayerItemAmount(p, rune2[0], rune2[1])
       && playerItems.hasPlayerItemAmount(p, rune3[0], rune3[1])) {
     return true;
   }
   return false;
 }
 public void removeRunes(int spellbook, int spell) {
   PlayerItems playerItems = new PlayerItems();
   playerItems.deleteItem(p, rune1[0], playerItems.getItemSlot(p, rune1[0]), rune1[1]);
   playerItems.deleteItem(p, rune2[0], playerItems.getItemSlot(p, rune2[0]), rune2[1]);
   playerItems.deleteItem(p, rune3[0], playerItems.getItemSlot(p, rune3[0]), rune3[1]);
 }