1 2 3 4 5 6 | for(i=0;i<EQI_MAX;i++) { // unequip items that can't be equipped by base 1 [Valaris] if((sd->class_&MAPID_UPPERMASK) != MAPID_SUPER_NOVICE) if(sd->equip_index[i] >= 0) if(!pc->isequip(sd,sd->equip_index[i])) pc->unequipitem(sd,sd->equip_index[i],2); } |