round(something, 0); 을 Util::round(somehing); 으로 변경.
This commit is contained in:
1 parent
5b926ae5c5
commit
4e22cf3515
20 files changed
+271
-271
No files matched your search
+1
-1
@@ -270,7 +270,7 @@ function command_11($turn, $command) {
|
||||
}
|
||||
|
||||
$leader = intdiv($me['leader'] * (100 - $me['injury']), 100) + getHorseEff($me['horse']) + $lbonus;
|
||||
$crew = $leader - round($me['crew']/100);
|
||||
$crew = $leader - Util::round($me['crew']/100);
|
||||
$abil = getTechAbil($nation['tech']);
|
||||
$cost = getTechCost($nation['tech']);
|
||||
echo "
|
||||
|
||||
Reference in new issue
Block a user