summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-03-05 12:29:44 -0300
committerJesusaves <cpntb1@ymail.com>2020-03-05 12:29:44 -0300
commit972ce24f3e8a7113ddbc9d9cb364bf0e73eecde7 (patch)
treeec52d0ada6581d49561a2ffe6335ed71bd340b19
parent6e170d83b89237c6dd683397c51258b247d2a0c7 (diff)
downloadserverdata-972ce24f3e8a7113ddbc9d9cb364bf0e73eecde7.tar.gz
serverdata-972ce24f3e8a7113ddbc9d9cb364bf0e73eecde7.tar.bz2
serverdata-972ce24f3e8a7113ddbc9d9cb364bf0e73eecde7.tar.xz
serverdata-972ce24f3e8a7113ddbc9d9cb364bf0e73eecde7.zip
Fix scoreboard display bug.
Max stats: 102 -> 110
-rw-r--r--conf/map/battle/player.conf12
-rw-r--r--npc/functions/scoreboards.txt20
2 files changed, 16 insertions, 16 deletions
diff --git a/conf/map/battle/player.conf b/conf/map/battle/player.conf
index e32fe39de..5af296fd1 100644
--- a/conf/map/battle/player.conf
+++ b/conf/map/battle/player.conf
@@ -105,22 +105,22 @@ max_hp: 1000000
max_sp: 1000000
// Max limit of char stats. (agi, str, etc.)
-max_parameter: 102
+max_parameter: 110
// Same as max_parameter, but for 3rd classes.
-max_third_parameter: 102
+max_third_parameter: 110
// Same as max_parameter, but for extended classes (Ex. Super Novice, Kagero/Oboro, Rebellion).
-max_extended_parameter: 102
+max_extended_parameter: 110
// Same as max_parameter, but for summoner class
-max_summoner_parameter: 102
+max_summoner_parameter: 110
// Same as max_parameter, but for baby classes.
-max_baby_parameter: 102
+max_baby_parameter: 110
// Same as max_parameter, but for baby 3rd's.
-max_baby_third_parameter: 102
+max_baby_third_parameter: 110
// Max armor def/mdef
// NOTE: This setting have no effect if server is run on Renewal Mode (RENEWAL)
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;
}