버그 수정
This commit is contained in:
@@ -95,12 +95,16 @@ class che_등용 extends Command\GeneralCommand{
|
||||
ConstraintHelper::ReqGeneralGold($reqGold),
|
||||
ConstraintHelper::ReqGeneralRice($reqRice),
|
||||
];
|
||||
|
||||
|
||||
if($this->destGeneralObj->getVar('officer_level') == 12){
|
||||
$this->fullConditionConstraints[] = ConstraintHelper::AlwaysFail('군주에게는 등용장을 보낼 수 없습니다.');
|
||||
}
|
||||
}
|
||||
|
||||
public function canDisplay():bool{
|
||||
return $this->env['join_mode'] !== 'onlyRandom';
|
||||
}
|
||||
|
||||
public function getCost():array{
|
||||
$env = $this->env;
|
||||
if(!$this->isArgValid){
|
||||
|
||||
Reference in New Issue
Block a user