How about the reward and the rebirth title? It's not working.
The only problem is the required items are not deleting.
prontera,147,155,5 script Bronze Division#rebirth 757,{
if( BaseLevel < .rebirth_lvl[0] || JobLevel < .rebirth_lvl[1] ){
mes "You need Level "+.rebirth_lvl[0]+" / "+.rebirth_lvl[1]+".";
}
else if( rebirth_count >= .rebirth_title_size ){
mes "You reach max rebirth already.";
}
else{
for( set .@i,0; .@i < .item_list_size; set .@i,.@i + 2 ){
mes " > "+getitemname( .item_list[.@i] )+" x "+.item_list[.@i+1];
if( countitem( .item_list[.@i] ) < .item_list[.@i+1] )
.@fail++;
}
if( !.@fail )
if( select( "Rebirth to "+.rebirth_title$[rebirth_count],"Cancel" ) == 1 ){
resetlvl 1;
set rebirth_count,rebirth_count + 1;
for( set .@i,0; .@i < .item_list_size; set .@i,.@i + 1 )
delitem .item_list[.@i],.item_list[.@i+2];
mes "DONE";
}
}
close;
OnInit:
setarray .rebirth_lvl,255,120;
setarray .item_list,
512,10,
607,20,
608,30;
set .item_list_size,getarraysize( .item_list ) - 2;
setarray .rebirth_title$,
"Bronze I",
"Bronze II",
"Bronze III",
"Bronze IV",
"Bronze V";
set .rebirth_title_size,getarraysize( .rebirth_title$ );
end;
}
That is the script.
and there's still no title and no reward.
BUMP*
Is there any Moderators or Script Mods that can help me regarding my problem? Please please please!
BUMP!