필사즉생 구현

This commit is contained in:
2020-03-12 21:57:57 +09:00
parent 1bc468095c
commit 38bef005f7
15 changed files with 297 additions and 28 deletions
+3 -9
View File
@@ -44,15 +44,9 @@ class che_방랑 extends Command\GeneralCommand{
ConstraintHelper::BeLord(),
ConstraintHelper::NotWanderingNation(),
ConstraintHelper::NotOpeningPart($relYear),
ConstraintHelper::DisallowDiplomacyStatus($this->generalObj->getNationID(), [
0 => '방랑할 수 없는 외교상태입니다.',
1 => '방랑할 수 없는 외교상태입니다.',
3 => '방랑할 수 없는 외교상태입니다.',
4 => '방랑할 수 없는 외교상태입니다.',
5 => '방랑할 수 없는 외교상태입니다.',
6 => '방랑할 수 없는 외교상태입니다.'
]),
//TODO:diplomacy status 상수화
ConstraintHelper::AllowDiplomacyStatus($this->generalObj->getNationID(), [
2, 7
], '방랑할 수 없는 외교상태입니다.'),
];
}