summaryrefslogtreecommitdiff
path: root/npc/functions/scoreboards.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-16 22:09:01 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-16 22:09:01 -0300
commitb73682d18acf226ea473138306b7d7e5fcf36094 (patch)
tree5aa8100029936b64216542fa9d1cb830e7345e22 /npc/functions/scoreboards.txt
parentf901c5df63409aded3e92e7002e9bb3acb66875e (diff)
downloadserverdata-b73682d18acf226ea473138306b7d7e5fcf36094.tar.gz
serverdata-b73682d18acf226ea473138306b7d7e5fcf36094.tar.bz2
serverdata-b73682d18acf226ea473138306b7d7e5fcf36094.tar.xz
serverdata-b73682d18acf226ea473138306b7d7e5fcf36094.zip
Scoreboard generation
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 c39c85602..119be4634 100644
--- a/npc/functions/scoreboards.txt
+++ b/npc/functions/scoreboards.txt
@@ -25,6 +25,9 @@ function script ScoreboardsReload {
.@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);
}
+ if ($EVENT$ == "Expo" || $EVENT$ == "Fishing") {
+ .@nb = query_sql("SELECT c.name, i.count2 FROM `quest` AS i, `char` AS c WHERE i.quest_id="+Q_AuroraEvent+" AND i.char_id=c.char_id ORDER BY i.count2 DESC LIMIT 10", $@aurora_name$, $@aurora_value);
+ }
debugmes "Scoreboards reloaded";
return;
}