diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-09-17 10:34:37 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-09-17 10:34:37 -0300 |
commit | 0802e8476a5ab5a9630192393e736386500926d4 (patch) | |
tree | b69f58fc1156971c710b2fb431cf6af692a38ef7 /npc/functions | |
parent | f8bf7250800dcf235c5dbf873aa14fc00ee6d32a (diff) | |
download | serverdata-0802e8476a5ab5a9630192393e736386500926d4.tar.gz serverdata-0802e8476a5ab5a9630192393e736386500926d4.tar.bz2 serverdata-0802e8476a5ab5a9630192393e736386500926d4.tar.xz serverdata-0802e8476a5ab5a9630192393e736386500926d4.zip |
Ignore Monster Staff on Karma and GP halls
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/scoreboards.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index ed2d3d4bb..e91645b84 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -6,7 +6,7 @@ function script HallOfFame { mes ""; - .@nb = query_sql("select name, karma from `char` ORDER BY karma DESC LIMIT 10", .@name$, .@value); + .@nb = query_sql("select name, karma from `char` WHERE `guild_id`!=1 ORDER BY karma DESC LIMIT 10", .@name$, .@value); mes l("##BHall Of Fame: TOP10##b"); mes("1."+.@name$[0]+" ("+.@value[0]+")"); mes("2."+.@name$[1]+" ("+.@value[1]+")"); @@ -23,7 +23,7 @@ function script HallOfFame { function script HallOfFortune { mes ""; - .@nb = query_sql("select name, zeny from `char` ORDER BY zeny DESC LIMIT 15", .@name$, .@value); + .@nb = query_sql("select name, zeny from `char` WHERE `guild_id`!=1 ORDER BY zeny DESC LIMIT 15", .@name$, .@value); mes l("##BHall Of Fortune: TOP15##b"); mes("1."+.@name$[0]+" ("+.@value[0]+")"); mes("2."+.@name$[1]+" ("+.@value[1]+")"); |