Jump to content
  • 0

get exp less if rebirth not work


berbinghelm

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  06/17/17
  • Last Seen:  

Quote

//==============================================
// - Script By : Doge-Ro
// - Script City : Thailand 
// - Script Support Server : Hercules & rAthena
//==============================================
-    script    Rebirth99-70    -1,{
if (countitem(22508) == 1){
mes "ท่าน ^9370DB" + strcharinfo(0) + "^000000";
mes "รับภารกิจ เชิญด้านหน้า";
mes "ข้ามีหน้าที่ Rebirth สำหรับนักผจญภัย";
mes "ที่ต้องการเข้ามาเป็นสมาชิกเท่านั้น";
close;
    }
if (checkfalcon() || checkcart() || checkriding() || ismounting()) {
        mes "ได้โปรดกรุณา ปลด " +
            ((checkfalcon()) ? "falcon" : "") +
            ((checkcart()) ? "cart" : "") +
            ((checkriding()) ? "Peco" : "") +
            ((ismounting()) ? "mount" : "") +
            " ก่อนทำการ Rebirth";
        close;
}
if (.SkillPointCheck && SkillPoint) {
        mes "กรุณาใช้สกิล Point ของท่านให้หมดก่อน";
        close;
    }    
mes "ท่าน ^9370DB" + strcharinfo(0) + "^000000";
mes "ในนามของตัวแทนแห่ง EDEN";
mes "คุณยินดีที่จะ พิสูจน์ตัวตนเพื่อรับใช้ดินแดนแห่ง EDEN หรือไม่";
mes "หากเจ้ายินดี จงพิสูจน์ความแข็งแกร่งของเจ้า ด้วยการ RE-BIRTH";
mes "ภายใต้นามแห่ง ผู้พิทักษ์แห่ง EDEN";
next;
menu 
"ข้ายินดีกำเนิดใหม่ ภายใต้นามแห่ง EDEN",L_ok,
"ยกเลิก",L_no;

L_ok:
if (BaseLevel == 99)
{
set BaseLevel,BaseLevel + -98;
jobchange Job_Novice;
getitem 22508,1;
resetlvl 1;
resetstatus;
resetskill;
set Rebirth,Rebirth + 1;
mes "คุณได้ Rebirt ภายใต้นามของสมาชิก Eden Group";
atcommand "@stpoint 10";
announce "[ระบบ] : " + strcharinfo(0) + " ได้รับการ Rebirth เข้าสู่ Eden Group แล้ว",0;
close;
} else {
mes "ประสบการณ์ของคุณยังน้อยเกินกว่าจะรับหน้าที่นี้";
dispbottom "ประสบการณ์ของคุณยังน้อยเกินกว่าจะรับหน้าที่นี้";
close;

L_no:
mes "ยินดีให้บริการค่ะ";
close;

OnNPCKillEvent:
if(Rebirth == 1)
bonus2 bExpAddRace,RC_ALL,-20;
end;
}
OnInit:
waitingroom " RE-BIRTH EDEN ",0;
end;
}
//==============================================
//ที่ตั้งNPC
//==============================================
moc_para01,106,43,6    duplicate(Rebirth99-70)    Rebirth Systems#01    624
//==============================================

I try to test and fix it but still not work 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...