초토화 배율 변경
This commit is contained in:
1 parent
cd9bfba7c6
commit
86dcf290a6
1 file changed
+1
-1
@@ -118,7 +118,7 @@ class che_초토화 extends Command\NationCommand{
|
||||
$amount = $destCity['pop'] / 5;
|
||||
foreach(['agri', 'comm', 'secu'] as $cityRes){
|
||||
$cityResMax = "{$cityRes}_max";
|
||||
$amount *= (($destCity[$cityRes] - $destCity[$cityResMax] * 0.5) / $destCity[$cityResMax]) + 1;
|
||||
$amount *= (($destCity[$cityRes] - $destCity[$cityResMax] * 0.8) / $destCity[$cityResMax]) + 1;
|
||||
}
|
||||
return Util::toInt($amount);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user