Index: map/pc.c
===================================================================
--- map/pc.c (revision 17101)
+++ map/pc.c (working copy)
@@ -2612,6 +2612,8 @@
#endif
default:
ShowWarning("pc_bonus: unknown type %d %d !\n",type,val);
+ ShowWarning("Item ID: %d | Slot Data: %d %d %d %d !\n",sd->status.inventory[current_equip_item_index].nameid,sd->status.inventory[current_equip_item_index].card[0],sd->status.inventory[current_equip_item_index].card[1],
+ sd->status.inventory[current_equip_item_index].card[2],sd->status.inventory[current_equip_item_index].card[3]); //[clydelion]
break;
}
return 0;
@@ -3181,6 +3183,8 @@
break;
default:
ShowWarning("pc_bonus2: unknown type %d %d %d!\n",type,type2,val);
+ ShowWarning("Item ID: %d | Slot Data: %d %d %d %d !\n",sd->status.inventory[current_equip_item_index].nameid,sd->status.inventory[current_equip_item_index].card[0],sd->status.inventory[current_equip_item_index].card[1],
+ sd->status.inventory[current_equip_item_index].card[2],sd->status.inventory[current_equip_item_index].card[3]); //[clydelion]
break;
}
return 0;
@@ -3308,6 +3312,8 @@
default:
ShowWarning("pc_bonus3: unknown type %d %d %d %d!\n",type,type2,type3,val);
+ ShowWarning("Item ID: %d | Slot Data: %d %d %d %d !\n",sd->status.inventory[current_equip_item_index].nameid,sd->status.inventory[current_equip_item_index].card[0],sd->status.inventory[current_equip_item_index].card[1],
+ sd->status.inventory[current_equip_item_index].card[2],sd->status.inventory[current_equip_item_index].card[3]); //[clydelion]
break;
}
@@ -3350,6 +3356,8 @@
default:
ShowWarning("pc_bonus4: unknown type %d %d %d %d %d!\n",type,type2,type3,type4,val);
+ ShowWarning("Item ID: %d | Slot Data: %d %d %d %d !\n",sd->status.inventory[current_equip_item_index].nameid,sd->status.inventory[current_equip_item_index].card[0],sd->status.inventory[current_equip_item_index].card[1],
+ sd->status.inventory[current_equip_item_index].card[2],sd->status.inventory[current_equip_item_index].card[3]); //[clydelion]
break;
}
@@ -3378,6 +3386,8 @@
default:
ShowWarning("pc_bonus5: unknown type %d %d %d %d %d %d!\n",type,type2,type3,type4,type5,val);
+ ShowWarning("Item ID: %d | Slot Data: %d %d %d %d !\n",sd->status.inventory[current_equip_item_index].nameid,sd->status.inventory[current_equip_item_index].card[0],sd->status.inventory[current_equip_item_index].card[1],
+ sd->status.inventory[current_equip_item_index].card[2],sd->status.inventory[current_equip_item_index].card[3]); //[clydelion]
break;
}