선포 기준 변경

This commit is contained in:
2020-04-25 22:37:51 +09:00
parent efcb71e866
commit 184a43ccf5
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -169,8 +169,8 @@ class AutorunNationPolicy {
if($this->reqNPCWarGold === 0 || $this->reqNPCWarRice === 0){
$defaultCrewType = GameUnitConst::byID(GameUnitConst::DEFAULT_CREWTYPE);
$reqGold = $defaultCrewType->costWithTech($nation['tech'], $this->minNPCWarLeadership * 150);
$reqRice = $defaultCrewType->riceWithTech($nation['tech'], $this->minNPCWarLeadership * 150);
$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);
}
+1
View File
@@ -1585,6 +1585,7 @@ class GeneralAI
$trialProp += ($devRate['pop'] + $devRate['all']) / 2;
$trialProp /= 3;
$trialProp = $trialProp**3;
if(!Util::randBool($trialProp)){
return null;