viewing paste Unknown #5708 | Diff

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//Skill damage modifiers that stack linearly
        if(sc && skill_id != PA_SACRIFICE)
        {
            if(sc->data[SC_OVERTHRUST])
                skillratio += sc->data[SC_OVERTHRUST]->val3;
            if(sc->data[SC_MAXOVERTHRUST])
                skillratio += sc->data[SC_MAXOVERTHRUST]->val2;
            if (sc->data[SC_BERSERK] || sc->data[SC_SATURDAYNIGHTFEVER] || sc->data[SC__BLOODYLUST])
                skillratio += 100;
            if(sc->data[SC_ZENKAI] && sstatus->rhw.ele == sc->data[SC_ZENKAI]->val2 )
                skillratio += sc->data[SC_ZENKAI]->val1 * 2;
#ifdef RENEWAL
            if( sc && sc->data[SC_TRUESIGHT] )
                skillratio += 2*sc->data[SC_TRUESIGHT]->val1;
#endif
        }
        if( !skill_id )
Viewed 1329 times, submitted by lighta.