summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-16 20:09:47 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-16 20:09:47 -0300
commit0c80171d1d5354a6dc5ac2efa5a5451bf28b7a02 (patch)
treeab97726f17c7c676bbb52ba0ebb3cd91e55bd85b /npc/commands/event.txt
parentc1ad5cf87d31b3a8642e81c45fffd0b3d53312b7 (diff)
downloadserverdata-0c80171d1d5354a6dc5ac2efa5a5451bf28b7a02.tar.gz
serverdata-0c80171d1d5354a6dc5ac2efa5a5451bf28b7a02.tar.bz2
serverdata-0c80171d1d5354a6dc5ac2efa5a5451bf28b7a02.tar.xz
serverdata-0c80171d1d5354a6dc5ac2efa5a5451bf28b7a02.zip
Change how Easter Leaderboard work (leaderboard is reset with server btw)
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index fe5c39b78..559198fef 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -16,6 +16,7 @@ function script sClear {
DelItemFromEveryPlayer(OpenedChristmasBox);
disablenpc "Lilica#final";
} else {
+ .@nb = query_sql("SELECT c.name, i.amount FROM `inventory` AS i, `char` AS c WHERE i.nameid=834 AND i.char_id=c.char_id ORDER BY i.amount DESC LIMIT 10", $@easter_name$, $@easter_value);
enablenpc "Lilica#final";
}