game: 국고가 2000 밑으로 가더라도 무조건 물자조달만 하지는 않게 수정정
This commit is contained in:
+3
-10
@@ -2091,7 +2091,7 @@ class GeneralAI
|
|||||||
|
|
||||||
$cmdList = [];
|
$cmdList = [];
|
||||||
|
|
||||||
if ($nation['rice'] < GameConst::$baserice) {
|
if (($nation['rice'] < GameConst::$baserice) && Util::randBool(0.3)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2226,7 +2226,7 @@ class GeneralAI
|
|||||||
$city = $this->city;
|
$city = $this->city;
|
||||||
$nation = $this->nation;
|
$nation = $this->nation;
|
||||||
|
|
||||||
if ($nation['rice'] < GameConst::$baserice) {
|
if (($nation['rice'] < GameConst::$baserice) && Util::randBool(0.3)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2665,7 +2665,7 @@ class GeneralAI
|
|||||||
$city = $this->city;
|
$city = $this->city;
|
||||||
$nation = $this->nation;
|
$nation = $this->nation;
|
||||||
|
|
||||||
if ($nation['rice'] < GameConst::$baserice) {
|
if (($nation['rice'] < GameConst::$baserice) && Util::randBool(0.7)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2938,10 +2938,6 @@ class GeneralAI
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->nation['rice'] < GameConst::$baserice) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->categorizeNationCities();
|
$this->categorizeNationCities();
|
||||||
$this->categorizeNationGeneral();
|
$this->categorizeNationGeneral();
|
||||||
|
|
||||||
@@ -2970,9 +2966,6 @@ class GeneralAI
|
|||||||
|
|
||||||
protected function do내정워프(): ?GeneralCommand
|
protected function do내정워프(): ?GeneralCommand
|
||||||
{
|
{
|
||||||
if ($this->nation['rice'] < GameConst::$baserice) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
if (($this->genType & self::t통솔장) && in_array($this->dipState, [self::d징병, self::d직전, self::d전쟁])) {
|
if (($this->genType & self::t통솔장) && in_array($this->dipState, [self::d징병, self::d직전, self::d전쟁])) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user