prontera,144,144,4 script Rebirth NPC 83,{
set @name$,"[Rebirth NPC]";
set .max,300; //Change the max no. of reborns here
mes @name$;
mes "If you're a max of 255/130 you can rebirth 300 times";
mes "And during the 150th reborn you will become a Super Player!";
next;
menu "Reborn Now",-,"Uhh.. See ya!",bye;
if(BaseLevel != 255 && JobLevel != 130){mes @name$; mes "You don't meet the level requirements"; close;}
if(BaseLevel == 255 && JobLevel == 130);
mes @name$;
mes "Are you sure you wont to have your rebirth now?";
next;
if(select("Yes","No")!=1){mes @name$; mes "Goodbye!"; close;}
if(reborn[0] < 300){mes @name$; mes "Whoa, you've already reached the maximum!"; close;}
if(reborn[0] < 150){
jobchange 4001;
set reborn[0],reborn[0]+1;
mes @name$;
mes "Enjoy!";
close;
}
if(reborn[0] == 150);
set reborn[0],reborn[0]+1;
query_sql "UPDATE login SET level=1 WHERE account_id='"+getcharid(3)+"'";
mes @name$;
mes "Enjoy!";
close;
Question
Kariton Revolution
when i click the npc nothing happen
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.