viewing paste Unknown #14322 | Athena

Posted on the | Last edited on
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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
prontera,147,189,4  script  Reset Girl  4_F_TELEPORTER,{
 
    set .@ResetStat,5000;   // Zeny for stat reset
    set .@ResetSkill,5000// Zeny for skill reset
    set .@ResetBoth,9000;   // Zeny for resetting both together
 
    if (BaseClass == Job_Novice) && #resettalked != 1 {
        mes "[Reset Girl]";
        mes "Hi there! I'm the ^0000FFReset Girl^000000! Later on, when you become stronger, I can help you change the way your character is played!";
        next;
        mes "[Reset Girl]";
        mes "With my help you can be almost anything you want!"; 
        next;
        mes "[Reset Girl]";
        mes "Almost anything.";
        next;
        mes "[Reset Girl]";
        mes "Almost.";
        close2;
        getexp 70,30;
        getitem 569,50;
        set #resettalked, 1;
        getmapxy .@map$, .@x, .@y, 0;
        warp .@map$, .@x, .@y;
        end;
    }   
    
    mes "[Reset Girl]";
    mes "I am the Reset Girl.";
    mes "Reset Stats: "+ .@ResetStat +"z";
    mes "Reset Skills: "+ .@ResetSkill +"z";
    mes "Reset Both: "+ .@ResetBoth +"z";
    mes "Please select the service you want:";
    next;
    switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) {
    case 1:
        mes "[Reset Girl]";
        if (Zeny < .@ResetSkill) {
            mes "Sorry, you don't have enough Zeny.";
            close;
        }
        Zeny -= .@ResetSkill;
        sc_end SC_ALL;
        resetskill;
        mes "There you go!";
        close;
    case 2:
        mes "[Reset Girl]";
        if (Zeny < .@ResetStat) {
            mes "Sorry, you don't have enough Zeny.";
            close;
        }
        Zeny -= .@ResetStat;
        resetstatus;
        mes "There you go!";
        close;
    case 3:
        mes "[Reset Girl]";
        if (Zeny < .@ResetBoth) {
            mes "Sorry, you don't have enough Zeny.";
            close;
        }
        Zeny -= .@ResetBoth;
        sc_end SC_ALL;
        resetskill;
        resetstatus;
        mes "There you go!";
        close;
    case 4:
        close;
    }
    
OnPCLoadMapEvent:
    if( strcharinfo(3) == strnpcinfo(4) )
    if (BaseClass == Job_Novice) && #resettalked != 1 {
    showevent 2,0;
    }   
 
}
 
Viewed 601 times, submitted by Ridley8819.