Jump to content

coach001

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by coach001


  1. Hi everyone. I have a little problem with my code. im trying to duplicate my buff npc but in some cities my npc just doesn't appear and i dont know why.

    More information : in aldebaran i tried to fix this issue by change sprite id and its worked but not for the rest.
                                  the cities that have this issue is payon izlude aldebaran geffen as long as i know

    Thank you for your answer :)

    morocc,159,97,4 script แม่มดนิรนาม::thepriest 51,{

    mes "[^0000FF แม่มดนิรนาม ^000000]";
    mes "สวัสดีท่าน ["+strcharinfo(0)+"] ข้าคือแม่มดแห่งอัซคาบัน";

    if (BaseLevel <= 70){

    mes "เจ้าเลเวลแค่ ^FF0000" + BaseLevel + "^000000 เองเรอะ" ;
    mes "ข้าเข้าใจความเจ็บปวดของการเป็นนักรบ";
    mes "รับพรจากข้า แล้วกลับไปสู้ต่อซะ !";
    percentheal 100,70;
    sc_start SC_BLESSING,300000,5;
    sc_start SC_INC_AGI,300000, 5;
    close;

    }
    else {
    mes "ท่านนักรบผู้กล้า มีอะไรให้ข้ารับใช้";
    if ( select("ช่วยฟื้นพลังข้าที :ขอโทษที ไม่มีอะไรหรอก") == 2 ) {
    close;
    }
    next;
    mes "เนื่องจากท่านมีเลเวลเกิน 70";
    mes "อัตราค่าบริการคือ";
    mes "^0000FF Heal + AB = 2,000z ^000000";
    mes "^FF0000 Heal + SP + AB = 30,000z ^000000";

    if ( select("Heal+AB 2,000z:Heal+SP+AB 30,000z:ไม่ล่ะ นี่มันปล้นกันชัดๆ")) == 3 {
    close;
    }
    if( (Zeny < 2000 && @menu == 1) || (Zeny < 30000 && @menu == 2) ) {
    next;

    mes "[^0000FF แม่มดนิรนาม ^000000]";

    mes "โถ่ท่าน ข้าต้องการ zeny สำหรับการแสวงบุญของข้านะ";
    close;
    }

    if( @menu == 1 ) {
    Zeny -= 2000;
    percentheal 100,0;
    sc_start SC_BLESSING,300000,5;
    sc_start SC_INC_AGI,300000, 5;
    }
    else {
    Zeny -= 30000;
    percentheal 100,100;
    sc_start SC_BLESSING,300000,5;
    sc_start SC_INC_AGI,300000, 5;
    }
    }
    close;
    }

    prontera,149,29,7  duplicate(thepriest)   แม่มดนิรนาม#01 51
    prontera,29,210,6   duplicate(thepriest)   แม่มดนิรนาม#02 51
    prontera,282,198,2   duplicate(thepriest)   แม่มดนิรนาม#03 51
    prontera,146,92,5   duplicate(thepriest)    แม่มดนิรนาม#04 51
    geffen,122,62,0   duplicate(thepriest)   แม่มดนิรนาม#05 51
    prontera,160,326,4   duplicate(thepriest   แม่มดนิรนาม#06 51
    izlude,134,92,2  duplicate(thepriest)  แม่มดนิรนาม#07 51
    payon,99,116,4  duplicate(thepriest)  แม่มดนิรนาม#08 51
    aldebaran,145,116,4  duplicate(thepriest)  แม่มดนิรนาม#09 967

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.