전투 버그 수정 중

This commit is contained in:
2019-10-06 02:49:54 +09:00
parent 8a210103c0
commit 70181d95c7
18 changed files with 40 additions and 27 deletions
+2 -2
View File
@@ -281,7 +281,7 @@ class GeneralAI{
}
$commandList['che_물자조달'] = (
(GameConst::$minNationalGold + GameConst::$minNationalRice + 10000) /
(GameConst::$minNationalGold + GameConst::$minNationalRice + 24*5*$env['develcost']) /
Util::valueFit($nation['gold'] + $nation['rice'], (GameConst::$defaultGold + GameConst::$defaultRice)/2)
) * 10;
@@ -1435,7 +1435,7 @@ class GeneralAI{
return null;
}
$frontCities = $db->query('SELECT city, front, officer4 FROM city WHERE nation=%i AND front > 0 AND supply = 1');
$frontCities = $db->query('SELECT city, front, officer4 FROM city WHERE nation=%i AND front > 0 AND supply = 1', $nationID);
if(!$frontCities){
//접경이 아직 없음