ConstraintHelper 추가
This commit is contained in:
@@ -19,6 +19,7 @@ use function \sammo\{
|
||||
};
|
||||
|
||||
use \sammo\Constraint\Constraint;
|
||||
use \sammo\Constraint\ConstraintHelper;
|
||||
|
||||
|
||||
class che_선양 extends Command\GeneralCommand{
|
||||
@@ -55,10 +56,10 @@ class che_선양 extends Command\GeneralCommand{
|
||||
$this->setDestGeneral($destGeneral);
|
||||
|
||||
$this->runnableConstraints=[
|
||||
['BeLord'],
|
||||
['ExistsDestGeneral'],
|
||||
['FriendlyDestGeneral'],
|
||||
['DisallowDiplomacyStatus', [4], '현재 통합 진행중입니다.']
|
||||
ConstraintHelper::BeLord(),
|
||||
ConstraintHelper::ExistsDestGeneral(),
|
||||
ConstraintHelper::FriendlyDestGeneral(),
|
||||
ConstraintHelper::DisallowDiplomacyStatus([4], '현재 통합 진행중입니다.')
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user