diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-03-05 12:29:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-03-05 12:29:44 -0300 |
commit | 972ce24f3e8a7113ddbc9d9cb364bf0e73eecde7 (patch) | |
tree | ec52d0ada6581d49561a2ffe6335ed71bd340b19 /npc/functions | |
parent | 6e170d83b89237c6dd683397c51258b247d2a0c7 (diff) | |
download | serverdata-972ce24f3e8a7113ddbc9d9cb364bf0e73eecde7.tar.gz serverdata-972ce24f3e8a7113ddbc9d9cb364bf0e73eecde7.tar.bz2 serverdata-972ce24f3e8a7113ddbc9d9cb364bf0e73eecde7.tar.xz serverdata-972ce24f3e8a7113ddbc9d9cb364bf0e73eecde7.zip |
Fix scoreboard display bug.
Max stats: 102 -> 110
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/scoreboards.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index 0a3fa29e6..c39c85602 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -312,16 +312,16 @@ function script HallOfReferral { function script HallOfAFK { mes ""; mes l("##BHall Of AFK: TOP 10##b"); - mesf("1. %s (%dh%02dm)", $@afk_name$[0], $@afk_value[0]/1200, $@afk_value[0]%1200/60); - mesf("2. %s (%dh%02dm)", $@afk_name$[1], $@afk_value[1]/1200, $@afk_value[1]%1200/60); - mesf("3. %s (%dh%02dm)", $@afk_name$[2], $@afk_value[2]/1200, $@afk_value[2]%1200/60); - mesf("4. %s (%dh%02dm)", $@afk_name$[3], $@afk_value[3]/1200, $@afk_value[3]%1200/60); - mesf("5. %s (%dh%02dm)", $@afk_name$[4], $@afk_value[4]/1200, $@afk_value[4]%1200/60); - mesf("6. %s (%dh%02dm)", $@afk_name$[5], $@afk_value[5]/1200, $@afk_value[5]%1200/60); - mesf("7. %s (%dh%02dm)", $@afk_name$[6], $@afk_value[6]/1200, $@afk_value[6]%1200/60); - mesf("8. %s (%dh%02dm)", $@afk_name$[7], $@afk_value[7]/1200, $@afk_value[7]%1200/60); - mesf("9. %s (%dh%02dm)", $@afk_name$[8], $@afk_value[8]/1200, $@afk_value[8]%1200/60); - mesf("10. %s (%dh%02dm)", $@afk_name$[9], $@afk_value[9]/1200, $@afk_value[9]%1200/60); + mesf("1. %s (%dh%02dm)", $@afk_name$[0], $@afk_value[0]/1200, $@afk_value[0]%1200/60*3); + mesf("2. %s (%dh%02dm)", $@afk_name$[1], $@afk_value[1]/1200, $@afk_value[1]%1200/60*3); + mesf("3. %s (%dh%02dm)", $@afk_name$[2], $@afk_value[2]/1200, $@afk_value[2]%1200/60*3); + mesf("4. %s (%dh%02dm)", $@afk_name$[3], $@afk_value[3]/1200, $@afk_value[3]%1200/60*3); + mesf("5. %s (%dh%02dm)", $@afk_name$[4], $@afk_value[4]/1200, $@afk_value[4]%1200/60*3); + mesf("6. %s (%dh%02dm)", $@afk_name$[5], $@afk_value[5]/1200, $@afk_value[5]%1200/60*3); + mesf("7. %s (%dh%02dm)", $@afk_name$[6], $@afk_value[6]/1200, $@afk_value[6]%1200/60*3); + mesf("8. %s (%dh%02dm)", $@afk_name$[7], $@afk_value[7]/1200, $@afk_value[7]%1200/60*3); + mesf("9. %s (%dh%02dm)", $@afk_name$[8], $@afk_value[8]/1200, $@afk_value[8]%1200/60*3); + mesf("10. %s (%dh%02dm)", $@afk_name$[9], $@afk_value[9]/1200, $@afk_value[9]%1200/60*3); return; } |