버그 수정

This commit is contained in:
2020-04-19 18:48:56 +09:00
parent e63b46b004
commit 0608f9b3c7
11 changed files with 90 additions and 60 deletions
+6 -6
View File
@@ -170,12 +170,12 @@ class che_증축 extends Command\NationCommand{
$db->update('city', [
'level'=>$db->sqleval('level+1'),
'pop2'=>$db->sqleval('pop_max + %i', GameConst::$expandCityPopIncreaseAmount),
'agri2'=>$db->sqleval('agri_max + %i', GameConst::$expandCityDevelIncreaseAmount),
'comm2'=>$db->sqleval('comm_max + %i', GameConst::$expandCityDevelIncreaseAmount),
'secu2'=>$db->sqleval('secu_max + %i', GameConst::$expandCityDevelIncreaseAmount),
'def2'=>$db->sqleval('def_max + %i', GameConst::$expandCityWallIncreaseAmount),
'wall2'=>$db->sqleval('wall_max + %i', GameConst::$expandCityWallIncreaseAmount),
'pop_max'=>$db->sqleval('pop_max + %i', GameConst::$expandCityPopIncreaseAmount),
'agri_max'=>$db->sqleval('agri_max + %i', GameConst::$expandCityDevelIncreaseAmount),
'comm_max'=>$db->sqleval('comm_max + %i', GameConst::$expandCityDevelIncreaseAmount),
'secu_max'=>$db->sqleval('secu_max + %i', GameConst::$expandCityDevelIncreaseAmount),
'def_max'=>$db->sqleval('def_max + %i', GameConst::$expandCityWallIncreaseAmount),
'wall_max'=>$db->sqleval('wall_max + %i', GameConst::$expandCityWallIncreaseAmount),
], 'city=%i', $destCityID);
[$reqGold, $reqRice] = $this->getCost();