diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-12-19 04:27:56 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-12-19 04:27:56 -0300 |
commit | 843f96e46e9ccff79801de873e105b7aab136a80 (patch) | |
tree | b26cfce521dab583cebd7670f9a8c6c4ba35286b /npc | |
parent | 3c453993789fbaaffdd4153409571de75b9d68ae (diff) | |
download | serverdata-843f96e46e9ccff79801de873e105b7aab136a80.tar.gz serverdata-843f96e46e9ccff79801de873e105b7aab136a80.tar.bz2 serverdata-843f96e46e9ccff79801de873e105b7aab136a80.tar.xz serverdata-843f96e46e9ccff79801de873e105b7aab136a80.zip |
Actually, you know... Part of event is at autumn, not spring
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/scoreboards.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index dd216e24f..00afa157b 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -43,7 +43,7 @@ OnInit: if (season() == SUMMER || season() == AUTUMN) { .@nb = query_sql("SELECT c.name, i.count2 FROM `quest` AS i, `char` AS c WHERE i.quest_id=305 AND i.char_id=c.char_id AND i.count1="+(gettime(GETTIME_YEAR)-2000)+" ORDER BY i.count2 DESC LIMIT 10", $@ched_name$, $@ched_value); } - if (season() == WINTER || season() == SPRING) { + if (season() == WINTER || season() == AUTUMN) { .@nb = query_sql("SELECT c.name, i.count2 FROM `quest` AS i, `char` AS c WHERE i.quest_id="+SQuest_Christmas+" AND i.char_id=c.char_id ORDER BY i.count2 DESC LIMIT 5", $@xmas_box_name$, $@xmas_box_value); .@nb = query_sql("SELECT c.name, i.count3 FROM `quest` AS i, `char` AS c WHERE i.quest_id="+SQuest_Christmas+" AND i.char_id=c.char_id ORDER BY i.count3 DESC LIMIT 5", $@xmas_gp_name$, $@xmas_gp_value); } |