thanks alot for your help but im still having an error i think its about this
EDITED:
clif_updatestatus(sd,SP_WEIGHT);
//Auto-equip
if(data->flag.autoequip) pc_equipitem(sd, i, data->equip);
+ if(sd->inventory_data->type == IT_CHARM) status_calc_pc(sd,0);
return 0;
}
should i still add return 0; } ? cause when i try removing that thing compilation doesnt have errors
and i think you forgot to put this
--- map/itemdb.c Sat May 03 14:36:36 2008
+++ map/itemdb.c Sat Oct 11 20:24:47 2008
@@ -358,10 +358,11 @@
switch(type) {
case IT_WEAPON:
case IT_ARMOR:
case IT_PETEGG:
case IT_PETARMOR:
+ case IT_CHARM:
return 0;
default:
return 1;
}
}
@@ -375,10 +376,11 @@
switch(data->type) {
case IT_WEAPON:
case IT_ARMOR:
case IT_PETEGG:
case IT_PETARMOR:
+ case IT_CHARM:
return 0;
default:
return 1;
}
}
* GOT IT FIXED THANKS FOR HELPING