viewing paste Unknown #7465 | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
case SC_ARMOR_ELEMENT:
    if( sd ) {
        // Deleting past icons
        clif_status_change(bl,SI_WATERWEAPON,0,0,0,0,0);
        clif_status_change(bl,SI_EARTHWEAPON,0,0,0,0,0);
        clif_status_change(bl,SI_FIREWEAPON,0,0,0,0,0);
        clif_status_change(bl,SI_WINDWEAPON,0,0,0,0,0);
 
        // And then assign
        if (val1 > 0)
            StatusIconChangeTable[type] = SI_WATERWEAPON;
        else if (val2 > 0)
            StatusIconChangeTable[type] = SI_EARTHWEAPON;
        else if (val3 > 0)
            StatusIconChangeTable[type] = SI_FIREWEAPON;
        else if (val4 > 0)
            StatusIconChangeTable[type] = SI_WINDWEAPON;
        }
    break;
Viewed 688 times, submitted by Guest.