summaryrefslogtreecommitdiff
path: root/npc/functions/scoreboards.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-15 00:25:34 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-15 00:25:34 -0300
commit4b1e1bb544ebfc4a8a864d7ab404408f160c2aa6 (patch)
tree5df27446594799f03ea8f05d86ff2fec6b1501b6 /npc/functions/scoreboards.txt
parentb6b3954f5ba47378fea23ef7fb73bc4d83c413f3 (diff)
downloadserverdata-4b1e1bb544ebfc4a8a864d7ab404408f160c2aa6.tar.gz
serverdata-4b1e1bb544ebfc4a8a864d7ab404408f160c2aa6.tar.bz2
serverdata-4b1e1bb544ebfc4a8a864d7ab404408f160c2aa6.tar.xz
serverdata-4b1e1bb544ebfc4a8a864d7ab404408f160c2aa6.zip
Rewrite Ched, hotfix patch FOR R10.0 LIVE SERVER
Diffstat (limited to 'npc/functions/scoreboards.txt')
-rw-r--r--npc/functions/scoreboards.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt
index 47df65760..7524a5a64 100644
--- a/npc/functions/scoreboards.txt
+++ b/npc/functions/scoreboards.txt
@@ -40,6 +40,9 @@ OnInit:
.@nb = query_sql("select name, guild_lv from `guild` WHERE `guild_id`!=1 ORDER BY guild_lv DESC LIMIT 5", $@hoguild_name$, $@hoguild_value);
.@nb = query_sql("SELECT c.name, i.value FROM `char_reg_num_db` AS i, `char` AS c WHERE i.key='CRAZYPOINTS' AND i.char_id=c.char_id ORDER BY i.value DESC LIMIT 10", $@cfefe_name$, $@cfefe_value);
.@nb = query_sql("SELECT c.name, i.value FROM `char_reg_num_db` AS i, `char` AS c WHERE i.key='UDTRANK' AND i.char_id=c.char_id ORDER BY i.value DESC LIMIT 10", $@udt_name$, $@udt_value);
+ 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);
+ }
debugmes "Scoreboards reloaded";
end;
}