reqGold 수정

This commit is contained in:
2020-04-25 23:57:31 +09:00
parent 8855c92e73
commit a07622d084
+2 -2
View File
@@ -172,10 +172,10 @@ class AutorunNationPolicy {
$reqGold = $defaultCrewType->costWithTech($nation['tech'], GameConst::$defaultStatNPCMax * 100);
$reqRice = $defaultCrewType->riceWithTech($nation['tech'], GameConst::$defaultStatNPCMax * 100);
if($this->reqNPCWarGold === 0){
$this->reqNPCWarGold = Util::round($reqGold * 2, -2);
$this->reqNPCWarGold = Util::round($reqGold * 4, -2);
}
if($this->reqNPCWarRice === 0){
$this->reqNPCWarRice = Util::round($reqRice * 2, -2);
$this->reqNPCWarRice = Util::round($reqRice * 4, -2);
}
}