summaryrefslogtreecommitdiff
path: root/npc/quests/The_Sign_Quest.txt
diff options
context:
space:
mode:
authorSinSloth <SinSloth@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-18 15:44:42 +0000
committerSinSloth <SinSloth@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-18 15:44:42 +0000
commitc9d0a3d124113292b271c0614f722f47eb30dd46 (patch)
tree0328a4d7fcf6725d83041e5c37b237bb67e02a73 /npc/quests/The_Sign_Quest.txt
parent9e9526ac92868a0d29250a99eefd8329b7aa51b3 (diff)
downloadhercules-c9d0a3d124113292b271c0614f722f47eb30dd46.tar.gz
hercules-c9d0a3d124113292b271c0614f722f47eb30dd46.tar.bz2
hercules-c9d0a3d124113292b271c0614f722f47eb30dd46.tar.xz
hercules-c9d0a3d124113292b271c0614f722f47eb30dd46.zip
* Fixed two minor bugs in the Sign Quest and Thanatos Tower ascension.
- Players do not lose time anymore if they return the Sign around midnight. - Thanatos Tower code game now resets properly when entering a wrong value in the box. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11238 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests/The_Sign_Quest.txt')
-rw-r--r--npc/quests/The_Sign_Quest.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/quests/The_Sign_Quest.txt b/npc/quests/The_Sign_Quest.txt
index 9627ed70c..843c7b796 100644
--- a/npc/quests/The_Sign_Quest.txt
+++ b/npc/quests/The_Sign_Quest.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= SinSloth(Most of the NPCs), MasterOfMuppets(Some of the NPCs + bug fixes) & Kargha(The quiz NPCs)
//===== Current Version: =====================================
-//= 2.1
+//= 2.2
//===== Compatible With: =====================================
//= eAthena SVN 3422+(Requires jA Script System)
//===== Description: =========================================
@@ -34,6 +34,7 @@
//= 1.9 Made some changes in last event to reflect recent bug exploit fix. [SinSloth]
//= 2.0 Fixed some various minor bugs. [SinSloth]
//= 2.1 Fixed experience gains to match upcoming rate adjustments. [SinSloth]
+//= 2.2 Fixed a small bug which occured when people had to return The Sign around midnight. [SinSloth]
//============================================================
//===== Configuration : ======================================
prontera,1,1,1 script TheSignConfig -1,{
@@ -648,7 +649,7 @@ L_Where:
cutin "",255;
end;
} else if (signquest == 60) {
- if (gettime(3) == signmetzhour || gettime(3) == signmetzhour +1 || gettime(3) == signmetzhour +2) {
+ if (gettime(3) == signmetzhour || gettime(3) == signmetzhour +1 || gettime(3) == signmetzhour +2 || (signmetzhour +1 == 24 && gettime(3) == 0) || (signmetzhour +2 == 24 && gettime(3) == 0) || (signmetzhour +2 == 25 && gettime(3) == 1)) {
mes "[Metz]";
mes "Fascinating...";
mes "This was made with";
@@ -5729,7 +5730,7 @@ L_Sign:
close;
L_Hour:
- if (gettime(3) == signengelhour || gettime(3) == signengelhour +1 || gettime(3) == signengelhour +2) {
+ if (gettime(3) == signengelhour || gettime(3) == signengelhour +1 || gettime(3) == signengelhour +2 || (signengelhour +1 == 24 && gettime(3) == 0) || (signengelhour +2 == 24 && gettime(3) == 0) || (signengelhour +2 == 25 && gettime(3) == 1)) {
mes "[Engel]";
mes "This is now yours to keep.";
mes "Thank you for giving me the";