Hi,
I have some simple script.
Can someone modified it ?
Multiple selection. e.g Quest A, Quest B, Quest C When user complete Quest A, get reward zeny + item. Same also to quest B and C, adjustable via config Add showevent(1,0) Add simple ladder to show the ranking top 10 quest maker.
If someone willing to do it let me know. For quest_db and questid2display.txt its own me.
prontera,155,181,5 script Sample#quest 757,{
.@i = select( .menu$ ) - 1;
switch( questprogress( .quest_id[.@i],HUNTING ) ) {
case 0:
setquest .quest_id[.@i];
mes "quest started.";
break;
case 1:
mes "you havent finish the quest.";
if ( select( "Give up","Cancel" ) == 1 ) {
erasequest .quest_id[.@i];
}
break;
case 2:
mes "Well done, you completed the quest.";
completequest .quest_id[.@i];
break;
}
close;
function Quest {
.quest_id[.quest_id_size] = getarg( 0,0 );
.quest_title$[.quest_id_size] = getarg( 1,"" );
.menu$ = .menu$ + .quest_title$[.quest_id_size] + ":";
.quest_id_size++;
return;
}
OnInit:
Quest( 60119,"Hunt 50 Alligator" );
Quest( 60120,"Hunt 100 Alligator" );
Quest( 60121,"Hunt 150 Alligator" );
end;
}