viewing paste Unknown #6017 | Athena

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
query_sql( "select base_level from `char` where char_id = " + getcharid(0, strcharinfo(0)), .@i );
    
    switch(.@i)
    {
        case 1:
            getexp 350,0;
        case 2:
            getexp 550,0;
        case 3:
            getexp 900,0;
        case 4:
            getexp 1500,0;
        case 5:
            getexp 2200,0;
        case 6:
            getexp 3200,0;
        case 7:
            getexp 3800,0;
        case 8:
            getexp 4200,0;
        case 9:
            getexp 4550,0;
        case 10:
            getexp 5000,0;
        case 11:
            getexp 5500,0;
        default:
            warp "prontera", 200, 100;
            break;
    }
 
    // 0,350,550,900,1500,2200,3200,3800,4200,4550,5000,5500
    end;
Viewed 889 times, submitted by Shikazu.