Hello annie and other scripters~
This is the problem with the script. I have missions with level brackets, but my players have discovered to accept a mission a level 99, hunt the items/monsters, and hand in the mission after they have reborn, which gives them so much EXP to instantly become level 60+
My request is if someone can help me make all their missions reset when they reborn? Here is the drop mission part, I believe something like this needs to be played with?
Thank you so much.
note that this isnt functioning at all yet, except for the first 3 lines. >.<
This is the problem with the script. I have missions with level brackets, but my players have discovered to accept a mission a level 99, hunt the items/monsters, and hand in the mission after they have reborn, which gives them so much EXP to instantly become level 60+
My request is if someone can help me make all their missions reset when they reborn? Here is the drop mission part, I believe something like this needs to be played with?
Thank you so much.
note that this isnt functioning at all yet, except for the first 3 lines. >.<
OnPCLoadMapEvent:
if ( Class == Novice_High && BaseLevel == 1 ){
dispbottom "You have reborn, all missions shall automatically be dropped!";
set @slot, select(
"#1 "+( ( @ms_b_m_1[0] )?"^0000FF"+ getd("$ms_b_m_"+ @ms_b_m_1[0] +"$[0]"):"^FF0000Empty" )+"^000000",
"#2 "+( ( @ms_b_m_2[0] )?"^0000FF"+ getd("$ms_b_m_"+ @ms_b_m_2[0] +"$[0]"):"^FF0000Empty" )+"^000000",
"#3 "+( ( @ms_b_m_3[0] )?"^0000FF"+ getd("$ms_b_m_"+ @ms_b_m_3[0] +"$[0]"):"^FF0000Empty" )+"^000000",
"#4 "+( ( @ms_b_m_4[0] )?"^0000FF"+ getd("$ms_b_m_"+ @ms_b_m_4[0] +"$[0]"):"^FF0000Empty" )+"^000000");
if ( getd("@ms_b_m_"+ @slot +"[0]") == 0 ) {
mes "It appears that you have selected a empty slot!";
close;
}
callsub L_showprogress;
mes "Are you sure that you want to give up this mission?";
mes "^777777NOTE: Any progress you've made for this mission will be lost!^000000";
next;
if ( select ( "Yes", "No" ) == 2 ) close;
mes "["+ strnpcinfo(1) +"]";
mes "^0000FF"+ getd("$ms_b_m_"+ getd("@ms_b_m_"+ @slot +"[0]") +"$[0]") +"^000000";
mes " ";
mes "Mission has given up successfully";
deletearray getd("@ms_b_m_"+ @slot);
setd "ms_b_m_"+ @slot +"$", "";
deltimer "ms_b_::OnQuest"+ @slot +"TimeUp";
set @slot, 0;
close;
Last edited by a moderator: