summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-25 15:32:16 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-25 15:32:16 -0200
commit65c0fb784c836dcb5b90e8e5a3350ffc1c14d13a (patch)
treebc2a71a9a973047268efca6b58ce3b8b687ae5fd
parent63ec5adb6e07a5527abb2524b74808b6f63fcaf9 (diff)
downloadserverdata-65c0fb784c836dcb5b90e8e5a3350ffc1c14d13a.tar.gz
serverdata-65c0fb784c836dcb5b90e8e5a3350ffc1c14d13a.tar.bz2
serverdata-65c0fb784c836dcb5b90e8e5a3350ffc1c14d13a.tar.xz
serverdata-65c0fb784c836dcb5b90e8e5a3350ffc1c14d13a.zip
Fix bugs
-rw-r--r--npc/020-1/serge.txt3
-rw-r--r--npc/commands/event.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/npc/020-1/serge.txt b/npc/020-1/serge.txt
index ae0f4bae5..6b7ccc97c 100644
--- a/npc/020-1/serge.txt
+++ b/npc/020-1/serge.txt
@@ -33,7 +33,8 @@ L_QuestDisabled:
mesn;
mesq l("Merry Christmas!");
mesc l("The @@ quest is disabled during Christmas event.", getitemlink(KnitHat));
- close;
+ next;
+ goto L_Main;
L_WinterQuest:
next;
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 942e8dd4f..ae49634b7 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -27,7 +27,7 @@ function script sChristmas {
addmonsterdrop(WaterFairy, GingerBreadMan, 1000);
if (gettime(GETTIME_MONTH) == DECEMBER) {
- if (gettime(GETTIME_DAY) <= 26)
+ if (gettime(GETTIME_DAYOFMONTH) <= 26)
.@m=10;
else
.@m=8;