viewing paste Unknown #1422 | C

Posted on the | Last edited on
1 2 3 4 5
if (id->maxchance == 10000 || (id->maxchance < db->dropitem[i].p) ) {
                id->maxchance = db->dropitem[i].p; //item has bigger drop chance or sold in shops
                if(db->status.mode&MD_BOSS && id->type == IT_CARD)
                    id->maxchance = 25;
            }
Viewed 1395 times, submitted by Streusel.