prontera,121,100,4 script Race To Max 4_F_GUILLOTINE,{
if( BaseLevel < 99 || JobLevel < 70 ){
mes "Only level 99 and job 70 can use";
end;
}
mes "[Welcome To Race to Max Event]";
mes "Please choose Your job.";
menu "Lord Knight",lk;
lk:
callfunc "lordknightrace";
end;
}
// LK 99
function script lordknightrace {
if (BaseJob==Job_Lord_Knight) {
mes "Race to Max Prize";
mes "+7 Full Plate [1] (Marc Card) (+3STR)";
mes "+10 Pike (x2 Hydra Card) (x2 Skeleton Worker Card)";
mes "+7 Wool Scarf (Raydric Card)";
mes" +7 Tidal Shoes (Matyr Card)";
next;
menu "Yes",-,"No",L_QUIT;
getitembound2 2317,1,1,7,0,4105,0,0,4702,1;
getitembound2 1408,1,1,10,0,4035,4035,4092,4092,1;
getitembound2 2528,1,1,7,0,4133,0,0,0,1;
getitembound2 2424,1,1,7,0,4097,0,0,0,1;
announce "[Race To Max] congratulations " + strcharinfo(0) + "For Winning the Race to Max Event !!",0,0x00FF00;
end;
} else {
next;
mes "I'm sorry, but these";
mes "are only";
mes "Lord Knight.";
end;
L_QUIT:
end;
}
}
Hello i having a problem on my Race to max event script even im lord knight level 99/70 the npc still rejects me
can anyone point out where and exactly what part i am doing wrong please
Ok i Found the error
if (BaseJob==Job_Lord_Knight) {
to
if(Class == Job_Lord_Knight) {