버그 수정

This commit is contained in:
2019-04-21 12:52:57 +09:00
parent 066e62c0aa
commit 44e0067e34
6 changed files with 55 additions and 52 deletions
+2
View File
@@ -131,6 +131,8 @@ class che_강행 extends Command\GeneralCommand{
$general->checkStatChange();
$general->applyDB($db);
return true;
}
+1 -1
View File
@@ -160,7 +160,7 @@ class che_건국 extends Command\GeneralCommand{
'level'=>1,
'type'=>$nationType,
'capital'=>$general->getCityID()
], 'nation=%i', $destNationID);
], 'nation=%i', $general->getNationID());
refreshNationStaticInfo();
+3 -1
View File
@@ -4,6 +4,7 @@ namespace sammo\Command\General;
use \sammo\Command;
use \sammo\Util;
use \sammo\JosaUtil;
use \sammo\LastTurn;
class 휴식 extends Command\GeneralCommand{
static protected $actionName = '휴식';
@@ -13,7 +14,8 @@ class 휴식 extends Command\GeneralCommand{
}
protected function init(){
//아무것도 하지 않음
$this->runnableConstraints=[
];
}
public function getCost():array{