viewing paste Unknown #20950 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
    if(sc->data[SC_INCMHPRATE])
        maxhp += maxhp * sc->data[SC_INCMHPRATE]->val1/100;
    if(sc->data[SC_APPLEIDUN])
        maxhp += maxhp * sc->data[SC_APPLEIDUN]->val2/100;
    if(sc->data[SC_DELUGE])
        maxhp += maxhp * sc->data[SC_DELUGE]->val2/100;
    if(sc->data[SC_BERSERK] || sc->data[SC_SATURDAYNIGHTFEVER])
        maxhp += maxhp * 2;
    if(sc->data[SC_MARIONETTE])
        maxhp -= 1000;
 
    if(sc->data[SC_MERC_HPUP])
        maxhp += maxhp * sc->data[SC_MERC_HPUP]->val2/100;
 
    if(sc->data[SC_EPICLESIS])
        maxhp += maxhp / 100 * 5 * sc->data[SC_EPICLESIS]->val1;
    if(sc->data[SC_VENOMBLEED])
        maxhp -= maxhp * 15 / 100;
    if(sc->data[SC__WEAKNESS])
        maxhp -= maxhp * sc->data[SC__WEAKNESS]->val2 / 100;
    if(sc->data[SC_LERADSDEW])
        maxhp += maxhp * sc->data[SC_LERADSDEW]->val3 / 100;
    if(sc->data[SC_FORCEOFVANGUARD])
        maxhp += maxhp * 3 * sc->data[SC_FORCEOFVANGUARD]->val1 / 100;
    if(sc->data[SC_INSPIRATION]) //Custom value.
        maxhp += maxhp * 3 * sc->data[SC_INSPIRATION]->val1 / 100;
    if(sc->data[SC_GT_CHANGE])
        maxhp -= maxhp * (2 * sc->data[SC_GT_CHANGE]->val1) / 100;
    if(sc->data[SC_GT_REVITALIZE])
        maxhp += maxhp * (3 * sc->data[SC_GT_REVITALIZE]->val1) / 100;
    if(sc->data[SC_SOLID_SKIN_OPTION])
        maxhp += 2000;// Fix amount.
    if(sc->data[SC_POWER_OF_GAIA])
        maxhp += 3000;
    if(sc->data[SC_MYSTERIOUS_POWDER])
        maxhp -= sc->data[SC_MYSTERIOUS_POWDER]->val1 / 100;
 
    return cap_value(maxhp,1,UINT_MAX);
}
 
Viewed 712 times, submitted by Guest.