floor를 intdiv로 변경

This commit is contained in:
2018-04-08 19:46:26 +09:00
parent f060716a3c
commit ba4ff29e4a
36 changed files with 291 additions and 256 deletions
+1 -1
View File
@@ -361,7 +361,7 @@ function getHonor($experience) {
function getExpLevel($experience) {
if($experience < 1000) {
$level = floor($experience / 100);
$level = intdiv($experience, 100);
} else {
for($level = 0; $experience > (($level+1)*($level+1)*10); $level++) {
}