summaryrefslogtreecommitdiff
path: root/npc/003-1
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/003-1
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/003-1')
-rw-r--r--npc/003-1/events.txt24
1 files changed, 11 insertions, 13 deletions
diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt
index 806725fb2..8b83e0512 100644
--- a/npc/003-1/events.txt
+++ b/npc/003-1/events.txt
@@ -27,19 +27,17 @@ L_Golden:
close;
L_Leader:
- .@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", .@name$, .@value);
-
- mesn l("Players who still have Golden Eggs");
- mes("1."+.@name$[0]+" ("+.@value[0]+")");
- mes("2."+.@name$[1]+" ("+.@value[1]+")");
- mes("3."+.@name$[2]+" ("+.@value[2]+")");
- mes("4."+.@name$[3]+" ("+.@value[3]+")");
- mes("5."+.@name$[4]+" ("+.@value[4]+")");
- mes("6."+.@name$[5]+" ("+.@value[5]+")");
- mes("7."+.@name$[6]+" ("+.@value[6]+")");
- mes("8."+.@name$[7]+" ("+.@value[7]+")");
- mes("9."+.@name$[8]+" ("+.@value[8]+")");
- mes("10."+.@name$[9]+" ("+.@value[9]+")");
+ mesn l("Easter @@", gettime(GETTIME_YEAR));
+ mes("1."+$@easter_name$[0]+" ("+$@easter_value[0]+")");
+ mes("2."+$@easter_name$[1]+" ("+$@easter_value[1]+")");
+ mes("3."+$@easter_name$[2]+" ("+$@easter_value[2]+")");
+ mes("4."+$@easter_name$[3]+" ("+$@easter_value[3]+")");
+ mes("5."+$@easter_name$[4]+" ("+$@easter_value[4]+")");
+ mes("6."+$@easter_name$[5]+" ("+$@easter_value[5]+")");
+ mes("7."+$@easter_name$[6]+" ("+$@easter_value[6]+")");
+ mes("8."+$@easter_name$[7]+" ("+$@easter_value[7]+")");
+ mes("9."+$@easter_name$[8]+" ("+$@easter_value[8]+")");
+ mes("10."+$@easter_name$[9]+" ("+$@easter_value[9]+")");
close;
OnInit: