Browse Source

Fixed a bug in the sign quest that prevented people from advancing in it.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8539 54d463be-8e91-2dee-dedb-b68131a5f0ec
MasterOfMuppets 18 years ago
parent
commit
568f3fb783
1 changed files with 5 additions and 1 deletions
  1. 5 1
      npc/quests/The_Sign_Quest.txt

+ 5 - 1
npc/quests/The_Sign_Quest.txt

@@ -3,7 +3,7 @@
 //===== By: ================================================== 
 //===== By: ================================================== 
 //= SinSloth(Most of the NPCs), MasterOfMuppets(Some of the NPCs + bug fixes) & Kargha(The quiz NPCs)
 //= SinSloth(Most of the NPCs), MasterOfMuppets(Some of the NPCs + bug fixes) & Kargha(The quiz NPCs)
 //===== Current Version: ===================================== 
 //===== Current Version: ===================================== 
-//= 1.1a
+//= 1.2
 //===== Compatible With: ===================================== 
 //===== Compatible With: ===================================== 
 //= eAthena SVN 3422+(Requires jA Script System)
 //= eAthena SVN 3422+(Requires jA Script System)
 //===== Description: ========================================= 
 //===== Description: ========================================= 
@@ -15,6 +15,8 @@
 //= 1.0 First version, beware of potential nasty bugs :x [MasterOfMuppets]
 //= 1.0 First version, beware of potential nasty bugs :x [MasterOfMuppets]
 //= 1.1 Finalized for stable, might still contain bugs though. [MasterOfMuppets]
 //= 1.1 Finalized for stable, might still contain bugs though. [MasterOfMuppets]
 //= 1.1a moved #aldesignwarp to fix enless warp [Lupus]
 //= 1.1a moved #aldesignwarp to fix enless warp [Lupus]
+//= 1.2 Fixed a minor bug that prevented people from advancing [MasterOfMuppets]
+//= 	quest at one point.
 //============================================================ 
 //============================================================ 
 //===== Configuration : ======================================
 //===== Configuration : ======================================
 prontera.gat,1,1,1	script	TheSignConfig	-1,{
 prontera.gat,1,1,1	script	TheSignConfig	-1,{
@@ -664,6 +666,7 @@ L_Where:
 	set @metzmin,gettime(2);
 	set @metzmin,gettime(2);
 	if(@metzmin > 29) set @metzhour,@metzhour +1;
 	if(@metzmin > 29) set @metzhour,@metzhour +1;
 	set signmetzhour,@metzhour + rand(2,4);
 	set signmetzhour,@metzhour + rand(2,4);
+	if(signmetzhour > 23) set signmetzhour,signmetzhour - 24;
 	set signquest,60;
 	set signquest,60;
 	close2;
 	close2;
 	cutin "",255;
 	cutin "",255;
@@ -5861,6 +5864,7 @@ L_Sign:
 	set @engelmin,gettime(2);
 	set @engelmin,gettime(2);
 	if(@engelmin > 29) set @engelhour,@engelhour +1;
 	if(@engelmin > 29) set @engelhour,@engelhour +1;
 	set signengelhour,@engelhour + rand(2,4);
 	set signengelhour,@engelhour + rand(2,4);
+	if(signengelhour > 23) set signengelhour,signengelhour - 24;
 	set signquest,62;
 	set signquest,62;
 	close;
 	close;