Hi i would like to ask how could i disable expanded classes like GS, Ninja, SG and SL on my Race to 99 event.
payon,141,227,5 script Race to 99 Reward NPC 99,{
set .@maxbase, 99;
set .@maxjob, 70;
setarray .@item, // set rewards
// 31308, 1, // <ID>, <AMT>
31308, 1;
if (BaseLevel < .@maxbase || JobLevel < .@maxjob) {
mes "I'm sorry, but you still need to level a bit more.";
close;
} else if(getcharid(0) <= 150001){
mes "You must start from Novice level 1 to join the race!";
close;
} else if ( LReward ) { // checks if you already get the reward.
mes "No more rewards.";
close;
} else goto GiveReward;
GiveReward:
mes "Congratulations, you've reached the max level in the server, here's your reward!";
announce strcharinfo(0) + " (" + jobname(Class) + ") reached Max Level!", bc_all;
close2;
LReward = true; // sets LReward to true which means you already get your item.
for(.@i=0;.@i<getarraysize(.@item);.@i+=2)
getitem .@item[.@i], .@item[.@i+1];
end;
}
Question
LewL
Hi i would like to ask how could i disable expanded classes like GS, Ninja, SG and SL on my Race to 99 event.
RACE.txt
Edited by Haruka MayumiCode Box
Link to comment
Share on other sites
2 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.