forked from devsam/core
feat: event 연구 커맨드 추가
This commit is contained in:
@@ -21,6 +21,7 @@ class event_극병연구 extends Command\NationCommand{
|
||||
}
|
||||
|
||||
protected function init(){
|
||||
$this->setCity();
|
||||
$this->setNation(['gold','rice','aux']);
|
||||
$this->fullConditionConstraints=[];
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ class event_대검병연구 extends Command\NationCommand{
|
||||
}
|
||||
|
||||
protected function init(){
|
||||
$this->setCity();
|
||||
$this->setNation(['gold','rice','aux']);
|
||||
$this->fullConditionConstraints=[];
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ class event_무희연구 extends Command\NationCommand{
|
||||
}
|
||||
|
||||
protected function init(){
|
||||
$this->setCity();
|
||||
$this->setNation(['gold','rice','aux']);
|
||||
$this->fullConditionConstraints=[];
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ class event_산저병연구 extends Command\NationCommand{
|
||||
}
|
||||
|
||||
protected function init(){
|
||||
$this->setCity();
|
||||
$this->setNation(['gold','rice','aux']);
|
||||
$this->fullConditionConstraints=[];
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ class event_상병연구 extends Command\NationCommand{
|
||||
}
|
||||
|
||||
protected function init(){
|
||||
$this->setCity();
|
||||
$this->setNation(['gold','rice','aux']);
|
||||
$this->fullConditionConstraints=[];
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ class event_원융노병연구 extends Command\NationCommand{
|
||||
}
|
||||
|
||||
protected function init(){
|
||||
$this->setCity();
|
||||
$this->setNation(['gold','rice','aux']);
|
||||
$this->fullConditionConstraints=[];
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ class event_음귀병연구 extends Command\NationCommand{
|
||||
}
|
||||
|
||||
protected function init(){
|
||||
$this->setCity();
|
||||
$this->setNation(['gold','rice','aux']);
|
||||
$this->fullConditionConstraints=[];
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ class event_화륜차연구 extends Command\NationCommand{
|
||||
}
|
||||
|
||||
protected function init(){
|
||||
$this->setCity();
|
||||
$this->setNation(['gold','rice','aux']);
|
||||
$this->fullConditionConstraints=[];
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ class event_화시병연구 extends Command\NationCommand{
|
||||
}
|
||||
|
||||
protected function init(){
|
||||
$this->setCity();
|
||||
$this->setNation(['gold','rice','aux']);
|
||||
$this->fullConditionConstraints=[];
|
||||
|
||||
|
||||
@@ -22,6 +22,5 @@ enum NationAuxKey: string
|
||||
case can_상병사용 = 'can_상병사용';
|
||||
case can_음귀병사용 = 'can_음귀병사용';
|
||||
case can_무희사용 = 'can_무희사용';
|
||||
case can_흑병사용 = 'can_흑병사용';
|
||||
case can_화륜차사용 = 'can_화륜차사용';
|
||||
}
|
||||
@@ -87,8 +87,8 @@ class ReqNationAux extends BaseGameUnitConstraint
|
||||
case NationAuxKey::can_무희사용:
|
||||
if ($this->cmp == "==" && $this->value == 1) return "무희 연구 시 가능";
|
||||
break;
|
||||
case NationAuxKey::can_흑병사용:
|
||||
if ($this->cmp == "==" && $this->value == 1) return "흑병 연구 시 가능";
|
||||
case NationAuxKey::can_화륜차사용:
|
||||
if ($this->cmp == "==" && $this->value == 1) return "화륜차 연구 시 가능";
|
||||
break;
|
||||
case NationAuxKey::did_특성초토화:
|
||||
if ($this->cmp == ">=" && $this->value == 1) return "특성 초토화 시 가능";
|
||||
|
||||
@@ -16,6 +16,55 @@
|
||||
"che_돌격", "che_무쌍", "che_위압",
|
||||
"che_저격", "che_필살", "che_징병", "che_의술", "che_격노", "che_척사"
|
||||
],
|
||||
"availableChiefCommand":{
|
||||
"휴식" : [
|
||||
"휴식"
|
||||
],
|
||||
"인사" : [
|
||||
"che_발령",
|
||||
"che_포상",
|
||||
"che_몰수",
|
||||
"che_부대탈퇴지시"
|
||||
],
|
||||
"외교" : [
|
||||
"che_물자원조",
|
||||
"che_불가침제의",
|
||||
"che_선전포고",
|
||||
"che_종전제의",
|
||||
"che_불가침파기제의"
|
||||
],
|
||||
"특수" : [
|
||||
"che_초토화",
|
||||
"che_천도",
|
||||
"che_증축",
|
||||
"che_감축"
|
||||
],
|
||||
"전략" : [
|
||||
"che_필사즉생",
|
||||
"che_백성동원",
|
||||
"che_수몰",
|
||||
"che_허보",
|
||||
"che_의병모집",
|
||||
"che_이호경식",
|
||||
"che_급습",
|
||||
"che_피장파장"
|
||||
],
|
||||
"기타" : [
|
||||
"che_국기변경",
|
||||
"che_국호변경"
|
||||
],
|
||||
"연구": [
|
||||
"event_대검병연구",
|
||||
"event_극병연구",
|
||||
"event_화시병연구",
|
||||
"event_원융노병연구",
|
||||
"event_산저병연구",
|
||||
"event_음귀병연구",
|
||||
"event_무희연구",
|
||||
"event_상병연구",
|
||||
"event_화륜차연구"
|
||||
]
|
||||
},
|
||||
"allItems":{
|
||||
"horse":{
|
||||
"che_명마_01_노기":0, "che_명마_02_조랑":0, "che_명마_03_노새":0,
|
||||
|
||||
Reference in New Issue
Block a user