viewing paste Unknown #17472 | C

Posted on the
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);
        }
Viewed 557 times, submitted by Guest.