فهرست منبع

Fixed some changequest/setquest errors (#5329)

Daegaladh 4 سال پیش
والد
کامیت
fdcb740611
3فایلهای تغییر یافته به همراه17 افزوده شده و 8 حذف شده
  1. 3 2
      npc/quests/quests_13_1.txt
  2. 10 5
      npc/quests/quests_moscovia.txt
  3. 4 1
      npc/quests/quests_rachel.txt

+ 3 - 2
npc/quests/quests_13_1.txt

@@ -10103,9 +10103,10 @@ man_fild01,315,95,3	script	Expedition Scout#1	707,{
 				}
 				}
 				if (.@playtime == -1) {
 				if (.@playtime == -1) {
 					changequest 3090,3091;
 					changequest 3090,3091;
-				} else
+				} else {
 					erasequest 3091;
 					erasequest 3091;
-				setquest 3091;
+					setquest 3091;
+				}
 				mes "[Expedition Scout]";
 				mes "[Expedition Scout]";
 				mes "Well then, keep up the good work!";
 				mes "Well then, keep up the good work!";
 				close;
 				close;

+ 10 - 5
npc/quests/quests_moscovia.txt

@@ -636,7 +636,8 @@ moscovia,135,49,5	script	Mr. Ibanoff#npc	4_M_RUSBALD,{
 		mes "back to the island, I want to go";
 		mes "back to the island, I want to go";
 		mes "together with you! Eh? Hahaha!";
 		mes "together with you! Eh? Hahaha!";
 		mos_whale_edq = 16;
 		mos_whale_edq = 16;
-		changequest 18111,18112;
+		if (isbegin_quest(18111))
+			changequest 18111,18112;
 		close;
 		close;
 	} else if (mos_whale_edq < 18) {
 	} else if (mos_whale_edq < 18) {
 		mes "[Mr. Ibanoff]";
 		mes "[Mr. Ibanoff]";
@@ -674,7 +675,8 @@ moscovia,135,49,5	script	Mr. Ibanoff#npc	4_M_RUSBALD,{
 			mes "[Mr. Ibanoff]";
 			mes "[Mr. Ibanoff]";
 			mes "Again, let's get the ship ready and sail before the sun sets!";
 			mes "Again, let's get the ship ready and sail before the sun sets!";
 			mos_whale_edq = 19;
 			mos_whale_edq = 19;
-			changequest 18113,18114;
+			if (isbegin_quest(18113))
+				changequest 18113,18114;
 			close;
 			close;
 		}
 		}
 		mes "[Mr. Ibanoff]";
 		mes "[Mr. Ibanoff]";
@@ -1460,7 +1462,8 @@ mosk_fild01,86,104,3	script	Aged Stranger#npc	4_M_GUSLIMAN,{
 			delitem 7106,20; //Goat's_Horn
 			delitem 7106,20; //Goat's_Horn
 			delitem 7065,10; //Sea_Otter_Leather
 			delitem 7065,10; //Sea_Otter_Leather
 			mos_whale_edq = 34;
 			mos_whale_edq = 34;
-			changequest 18117,18118;
+			if (isbegin_quest(18117))
+				changequest 18117,18118;
 			mes "[Aged Stranger]";
 			mes "[Aged Stranger]";
 			mes "Wait for a moment until I make the";
 			mes "Wait for a moment until I make the";
 			mes "instrument successfully.";
 			mes "instrument successfully.";
@@ -1523,7 +1526,8 @@ mosk_fild01,86,104,3	script	Aged Stranger#npc	4_M_GUSLIMAN,{
 			mes "island. Everything is going to be";
 			mes "island. Everything is going to be";
 			mes "well.";
 			mes "well.";
 			next;
 			next;
-			changequest 18118,18119;
+			if (isbegin_quest(18118))
+				changequest 18118,18119;
 		}
 		}
 		callsub S_AS_2,1;
 		callsub S_AS_2,1;
 	} else if (mos_whale_edq == 36) {
 	} else if (mos_whale_edq == 36) {
@@ -2138,7 +2142,8 @@ mosk_in,131,92,3	script	Csar Alexsay III#npc	4_M_RUSKING,7,7,{
 		mes "You have a heavy responsibility.";
 		mes "You have a heavy responsibility.";
 		mes "Bring evidence of this whale island to me, to provide me with some relief. Now go.";
 		mes "Bring evidence of this whale island to me, to provide me with some relief. Now go.";
 		mos_whale_edq = 18;
 		mos_whale_edq = 18;
-		changequest 18112,18113;
+		if (isbegin_quest(18112))
+			changequest 18112,18113;
 		close;
 		close;
 	} else if (mos_whale_edq > 17 && mos_whale_edq < 35) {
 	} else if (mos_whale_edq > 17 && mos_whale_edq < 35) {
 		mes "[Csar Alexsay III]";
 		mes "[Csar Alexsay III]";

+ 4 - 1
npc/quests/quests_rachel.txt

@@ -7245,7 +7245,10 @@ OnTouch:
 		mes "For now, you may as well";
 		mes "For now, you may as well";
 		mes "talk to High Priest Zhed.^000000";
 		mes "talk to High Priest Zhed.^000000";
 		set ra_tem_q,19;
 		set ra_tem_q,19;
-		changequest 8102,8103;
+		if (isbegin_quest(8102) == 1)
+			changequest 8102,8103;
+		else
+			setquest 8103;
 		close;
 		close;
 	}
 	}
 	end;
 	end;