|
@@ -3,7 +3,7 @@
|
|
//===== By: ==================================================
|
|
//===== By: ==================================================
|
|
//= L0ne_W0lf
|
|
//= L0ne_W0lf
|
|
//===== Current Version: =====================================
|
|
//===== Current Version: =====================================
|
|
-//= 1.2
|
|
|
|
|
|
+//= 1.3
|
|
//===== Compatible With: =====================================
|
|
//===== Compatible With: =====================================
|
|
//= rAthena Project
|
|
//= rAthena Project
|
|
//===== Description: =========================================
|
|
//===== Description: =========================================
|
|
@@ -12,19 +12,20 @@
|
|
//= 1.0 First Version.
|
|
//= 1.0 First Version.
|
|
//= 1.1 Some little optimization here and there. [Masao]
|
|
//= 1.1 Some little optimization here and there. [Masao]
|
|
//= 1.2 Optimized. [Euphy]
|
|
//= 1.2 Optimized. [Euphy]
|
|
|
|
+//= 1.3 Bug fixes. [Capuche]
|
|
//============================================================
|
|
//============================================================
|
|
|
|
|
|
-moc_para01,36,38,3 script Mission [11 - 25]#Tuto 857,{
|
|
|
|
- if (countitem(6219) < 1) {
|
|
|
|
|
|
+moc_para01,36,38,3 script Mission [11 - 25]#Tuto 4_BOARD3,{
|
|
|
|
+ if (countitem(6219) < 1) {// Para_Team_Mark
|
|
mes "- You need to have an -";
|
|
mes "- You need to have an -";
|
|
mes "- ^4d4dff'Eden Group Mark'^000000 -";
|
|
mes "- ^4d4dff'Eden Group Mark'^000000 -";
|
|
mes "- to receive these missions. -";
|
|
mes "- to receive these missions. -";
|
|
close;
|
|
close;
|
|
}
|
|
}
|
|
- for(set .@i,11124; .@i<11134; set .@i,.@i+1)
|
|
|
|
|
|
+ for ( .@i = 11124; .@i < 11134; .@i++ )
|
|
if (checkquest(.@i,PLAYTIME) == 2) erasequest .@i;
|
|
if (checkquest(.@i,PLAYTIME) == 2) erasequest .@i;
|
|
- for(set .@i,11114; .@i<11123; set .@i,.@i+1) {
|
|
|
|
- set .@j, checkquest(.@i,HUNTING);
|
|
|
|
|
|
+ for( .@i = 11114; .@i < 11124; .@i++ ) {
|
|
|
|
+ .@j = checkquest(.@i,HUNTING);
|
|
if (.@j == 2) {
|
|
if (.@j == 2) {
|
|
mes " - You must collect your - ";
|
|
mes " - You must collect your - ";
|
|
mes " - reward before starting - ";
|
|
mes " - reward before starting - ";
|
|
@@ -69,50 +70,52 @@ moc_para01,36,38,3 script Mission [11 - 25]#Tuto 857,{
|
|
case 8: callsub L_Quest,11121,"Familiar Hunting"," - Hunt 20 ^4d4dffFamiliar^000000 - "," - in the Culvert Sewers - "," - west of Prontera. - ";
|
|
case 8: callsub L_Quest,11121,"Familiar Hunting"," - Hunt 20 ^4d4dffFamiliar^000000 - "," - in the Culvert Sewers - "," - west of Prontera. - ";
|
|
case 9: callsub L_Quest,11122,"Collect Feathers"," - Hunt 30 ^4d4dff'Peco Pecos'^000000 - "," - south of Prontera. - ";
|
|
case 9: callsub L_Quest,11122,"Collect Feathers"," - Hunt 30 ^4d4dff'Peco Pecos'^000000 - "," - south of Prontera. - ";
|
|
case 10: callsub L_Quest,11123,"Collect Poison Spores"," - Hunt 30 ^4d4dffPoison Spores^000000 - "," - inside the Geffen Tower and - "," - bring 5 ^4d4dffPoison Spores^000000. - ";
|
|
case 10: callsub L_Quest,11123,"Collect Poison Spores"," - Hunt 30 ^4d4dffPoison Spores^000000 - "," - inside the Geffen Tower and - "," - bring 5 ^4d4dffPoison Spores^000000. - ";
|
|
- case 11: mes " - Stop reading the bulletin board. - "; close;
|
|
|
|
|
|
+ case 11:
|
|
|
|
+ mes " - Stop reading the bulletin board. - ";
|
|
|
|
+ close;
|
|
}
|
|
}
|
|
- end;
|
|
|
|
|
|
+
|
|
L_Quest:
|
|
L_Quest:
|
|
- if (checkquest(getarg(0),PLAYTIME) == 1) {
|
|
|
|
- mes " - Mission ^4d4dff"+getarg(1)+"^000000 - ";
|
|
|
|
|
|
+ if (checkquest(getarg(0)+10,PLAYTIME) == 1) {
|
|
|
|
+ mes " - Mission ^4d4dff"+ getarg(1) +"^000000 - ";
|
|
mes " - is already finished for today. - ";
|
|
mes " - is already finished for today. - ";
|
|
mes " ";
|
|
mes " ";
|
|
mes " - Manager : Spike - ";
|
|
mes " - Manager : Spike - ";
|
|
close;
|
|
close;
|
|
}
|
|
}
|
|
- mes " - Mission '"+getarg(1)+"' - ";
|
|
|
|
- for(set .@i,2; .@i<getargcount(); set .@i,.@i+1)
|
|
|
|
|
|
+ mes " - Mission '"+ getarg(1) +"' - ";
|
|
|
|
+ for ( .@i = 2; .@i < getargcount(); .@i++ )
|
|
mes getarg(.@i);
|
|
mes getarg(.@i);
|
|
mes " ";
|
|
mes " ";
|
|
mes " - Manager : Spike - ";
|
|
mes " - Manager : Spike - ";
|
|
next;
|
|
next;
|
|
- if(select("I will do this mission.:Look for other missions.") == 2) {
|
|
|
|
|
|
+ if (select("I will do this mission.:Look for other missions.") == 2) {
|
|
mes " - Let's search for -";
|
|
mes " - Let's search for -";
|
|
mes " - other missions. - ";
|
|
mes " - other missions. - ";
|
|
close;
|
|
close;
|
|
}
|
|
}
|
|
- for(set .@i,2; .@i<getargcount(); set .@i,.@i+1)
|
|
|
|
|
|
+ for ( .@i = 2; .@i < getargcount(); .@i++ )
|
|
mes getarg(.@i);
|
|
mes getarg(.@i);
|
|
- if (getarg(0) == 11123 && checkquest(11123,PLAYTIME) == 2)
|
|
|
|
- erasequest 11133; // Special case for "Collect Poison Spores"
|
|
|
|
setquest getarg(0);
|
|
setquest getarg(0);
|
|
close;
|
|
close;
|
|
}
|
|
}
|
|
|
|
|
|
-moc_para01,32,30,6 script Spike 914,{
|
|
|
|
- for(set .@i,11114; .@i<11124; set .@i,.@i+1) {
|
|
|
|
- set .@j, checkquest(.@i,HUNTING);
|
|
|
|
- if (.@j == 2) switch(.@i) {
|
|
|
|
- case 11114: callsub L_Quest,.@i,"Hornet Hunting",900;
|
|
|
|
- case 11115: callsub L_Quest,.@i,"Condor Hunting",1800;
|
|
|
|
- case 11116: callsub L_Quest,.@i,"Grasshopper's Leg",1400,940,10;
|
|
|
|
- case 11117: callsub L_Quest,.@i,"Worm Tail Hunting",2600;
|
|
|
|
- case 11118: callsub L_Quest,.@i,"Spore Hunting",3900;
|
|
|
|
- case 11119: callsub L_Quest,.@i,"Extirpate Insects",2900,915,10;
|
|
|
|
- case 11120: callsub L_Quest,.@i,"Muka Hunting",3200;
|
|
|
|
- case 11121: callsub L_Quest,.@i,"Familiar Hunting",3200;
|
|
|
|
- case 11122: callsub L_Quest,.@i,"Collect Feathers",5400;
|
|
|
|
- case 11123: callsub L_Quest,.@i,"Collect Poison Spores",6000,7033,5;
|
|
|
|
|
|
+moc_para01,32,30,6 script Spike 4_F_CHILD,{
|
|
|
|
+ for( .@i = 11114; .@i < 11124; .@i++ ) {
|
|
|
|
+ .@j = checkquest(.@i,HUNTING);
|
|
|
|
+ if (.@j == 2) {
|
|
|
|
+ switch(.@i) {
|
|
|
|
+ case 11114: callsub L_Quest,.@i,"Hornet Hunting",900;
|
|
|
|
+ case 11115: callsub L_Quest,.@i,"Condor Hunting",1800;
|
|
|
|
+ case 11116: callsub L_Quest,.@i,"Grasshopper's Leg",1400,940,10;
|
|
|
|
+ case 11117: callsub L_Quest,.@i,"Worm Tail Hunting",2600;
|
|
|
|
+ case 11118: callsub L_Quest,.@i,"Spore Hunting",3900;
|
|
|
|
+ case 11119: callsub L_Quest,.@i,"Extirpate Insects",2900,915,10;
|
|
|
|
+ case 11120: callsub L_Quest,.@i,"Muka Hunting",3200;
|
|
|
|
+ case 11121: callsub L_Quest,.@i,"Familiar Hunting",3200;
|
|
|
|
+ case 11122: callsub L_Quest,.@i,"Collect Feathers",5400;
|
|
|
|
+ case 11123: callsub L_Quest,.@i,"Collect Poison Spores",6000,7033,5;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
else if (.@j >= 0) {
|
|
else if (.@j >= 0) {
|
|
mes "[Spike]";
|
|
mes "[Spike]";
|
|
@@ -128,27 +131,30 @@ moc_para01,32,30,6 script Spike 914,{
|
|
mes "[Spike]";
|
|
mes "[Spike]";
|
|
mes "Why don't you look around and find some interesting tasks?";
|
|
mes "Why don't you look around and find some interesting tasks?";
|
|
close;
|
|
close;
|
|
|
|
+
|
|
L_Quest:
|
|
L_Quest:
|
|
.@quest_id = getarg(0);
|
|
.@quest_id = getarg(0);
|
|
if (checkquest(.@quest_id,HUNTING) == 2) {
|
|
if (checkquest(.@quest_id,HUNTING) == 2) {
|
|
.@item_req = getarg(3,0);
|
|
.@item_req = getarg(3,0);
|
|
.@req_amount = getarg(4,0);
|
|
.@req_amount = getarg(4,0);
|
|
- if (.@item_req)
|
|
|
|
|
|
+ if (.@item_req) {
|
|
if (countitem(.@item_req) < .@req_amount) {
|
|
if (countitem(.@item_req) < .@req_amount) {
|
|
mes "[Spike]";
|
|
mes "[Spike]";
|
|
mes "You don't have enough "+ getitemname(.@item_req) +".";
|
|
mes "You don't have enough "+ getitemname(.@item_req) +".";
|
|
mes "You need to bring "+ .@req_amount +" "+ getitemname(.@item_req) +".";
|
|
mes "You need to bring "+ .@req_amount +" "+ getitemname(.@item_req) +".";
|
|
close;
|
|
close;
|
|
}
|
|
}
|
|
|
|
+ }
|
|
mes "[Spike]";
|
|
mes "[Spike]";
|
|
mes "Hmm... let me see~";
|
|
mes "Hmm... let me see~";
|
|
- mes "You have completed the '"+getarg(1)+"' mission.";
|
|
|
|
|
|
+ mes "You have completed the '"+ getarg(1) +"' mission.";
|
|
next;
|
|
next;
|
|
mes "[Spike]";
|
|
mes "[Spike]";
|
|
mes "Good work~!!";
|
|
mes "Good work~!!";
|
|
mes "Our client is so happy with your work. He will appreciate what you have done.";
|
|
mes "Our client is so happy with your work. He will appreciate what you have done.";
|
|
mes "Please help us again. Thanks!";
|
|
mes "Please help us again. Thanks!";
|
|
- if (.@item_req) delitem .@item_req,.@req_amount;
|
|
|
|
|
|
+ if (.@item_req)
|
|
|
|
+ delitem .@item_req,.@req_amount;
|
|
erasequest .@quest_id;
|
|
erasequest .@quest_id;
|
|
setquest .@quest_id+10;
|
|
setquest .@quest_id+10;
|
|
getexp getarg(2),0;
|
|
getexp getarg(2),0;
|