diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/scoreboards.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index 2de129507..86bccdd86 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -41,6 +41,7 @@ OnInit: .@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); .@nb = query_sql("SELECT c.name, i.value FROM `char_reg_num_db` AS i, `char` AS c WHERE i.key='AFKING' AND i.char_id=c.char_id ORDER BY i.value DESC LIMIT 10", $@afk_name$, $@afk_value); + .@nb = query_sql("SELECT c.name, i.value FROM `char_reg_num_db` AS i, `char` AS c WHERE i.key='HONOR' AND i.char_id=c.char_id ORDER BY i.value DESC LIMIT 10", $@hof_name$, $@hof_value); // Seasonal Scoreboards if (season() == SUMMER || season() == AUTUMN) { @@ -223,6 +224,22 @@ function script HallOfUDT { return; } +function script HallOfHonor { + mes ""; + mes l("##BHall Of Honor: TOP 10##b"); + mes("1."+$@hof_name$[0]+" ("+$@hof_value[0]+")"); + mes("2."+$@hof_name$[1]+" ("+$@hof_value[1]+")"); + mes("3."+$@hof_name$[2]+" ("+$@hof_value[2]+")"); + mes("4."+$@hof_name$[3]+" ("+$@hof_value[3]+")"); + mes("5."+$@hof_name$[4]+" ("+$@hof_value[4]+")"); + mes("6."+$@hof_name$[5]+" ("+$@hof_value[5]+")"); + mes("7."+$@hof_name$[6]+" ("+$@hof_value[6]+")"); + mes("8."+$@hof_name$[7]+" ("+$@hof_value[7]+")"); + mes("9."+$@hof_name$[8]+" ("+$@hof_value[8]+")"); + mes("10."+$@hof_name$[9]+" ("+$@hof_value[9]+")"); + return; +} + @@ -581,6 +598,8 @@ OnCall: case 12: mes l("Hero: ")+$MOST_HEROIC$; next; + HallOfHonor(); + next; break; case 13: HallOf2018(); |