defulatGold, defaultRice 개념 지정
This commit is contained in:
1 parent
68a471b859
commit
88f97ecb4e
14 files changed
+232
-128
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user