round(something, 0); 을 Util::round(somehing); 으로 변경.
This commit is contained in:
+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