defulatGold, defaultRice 개념 지정

This commit is contained in:
2018-11-11 19:38:43 +09:00
parent 68a471b859
commit 88f97ecb4e
14 changed files with 232 additions and 128 deletions
+4
View File
@@ -111,6 +111,10 @@ abstract class BaseCommand{
$defaultArgs = ['nation', 'name', 'color', 'type', 'level', 'capital'];
$args = array_unique(array_merge($defaultArgs, $args));
if($args == $defaultArgs){
$this->nation = $this->generalObj->getStaticNation();
return;
}
$defaultValues = [
'nation'=>0,