선포 기준 변경
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -1585,6 +1585,7 @@ class GeneralAI
|
||||
$trialProp += ($devRate['pop'] + $devRate['all']) / 2;
|
||||
|
||||
$trialProp /= 3;
|
||||
$trialProp = $trialProp**3;
|
||||
|
||||
if(!Util::randBool($trialProp)){
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user