From 65c0fb784c836dcb5b90e8e5a3350ffc1c14d13a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 25 Dec 2018 15:32:16 -0200 Subject: Fix bugs --- npc/020-1/serge.txt | 3 ++- npc/commands/event.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'npc') 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; -- cgit v1.2.3-60-g2f50