Good day rathena i want to ask how do i make this script available only to lvl 1 up to lvl 99 only
and in what line can i change the messages when lvling??
thank you
- script LevelUpQuotes -1,{
end;
OnInit:
setarray .q$,"I have advanced forward!","There's no stopping me now!","Look at me go!","There's more where that came from.","This isn't even my final form!";
.num1 = getarraysize(.q$);
setarray .maxq$,"I've made it!","I never thought I'd become this strong...","I have reached my final form.";
.num2 = getarraysize(.maxq$);
end;
OnPCBaseLvUpEvent:
if( BaseLevel > 149 && getstatus(SC_ITEMBOOST) == 0 ) { sc_start SC_ITEMBOOST,180000,200; }
if( BaseLevel == 175 ) { .@r = rand(.num2); showscript strcharinfo(0)+" : "+.maxq$[.@r]; }
else { .@r = rand(.num1); showscript strcharinfo(0)+" : "+.q$[.@r]; }
if( getstatus(SC_INCREASEAGI) != 1 ) { sc_start SC_INCREASEAGI,30000,10; }
end;
}
Question
Quesooo
Good day rathena i want to ask how do i make this script available only to lvl 1 up to lvl 99 only
and in what line can i change the messages when lvling??
thank you
- script LevelUpQuotes -1,{ end; OnInit: setarray .q$,"I have advanced forward!","There's no stopping me now!","Look at me go!","There's more where that came from.","This isn't even my final form!"; .num1 = getarraysize(.q$); setarray .maxq$,"I've made it!","I never thought I'd become this strong...","I have reached my final form."; .num2 = getarraysize(.maxq$); end; OnPCBaseLvUpEvent: if( BaseLevel > 149 && getstatus(SC_ITEMBOOST) == 0 ) { sc_start SC_ITEMBOOST,180000,200; } if( BaseLevel == 175 ) { .@r = rand(.num2); showscript strcharinfo(0)+" : "+.maxq$[.@r]; } else { .@r = rand(.num1); showscript strcharinfo(0)+" : "+.q$[.@r]; } if( getstatus(SC_INCREASEAGI) != 1 ) { sc_start SC_INCREASEAGI,30000,10; } end; }
Link to comment
Share on other sites
1 answer 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.