fix: 커맨드 실행 조건 강제 탈출 조건을 잘못 작성하는 버그 수정
This commit is contained in:
@@ -102,7 +102,7 @@ class che_물자원조 extends Command\NationCommand
|
||||
$limit = $this->nation['level'] * GameConst::$coefAidAmount;
|
||||
|
||||
if ($goldAmount > $limit || $riceAmount > $limit) {
|
||||
$this->fullConditionConstraints[ConstraintHelper::AlwaysFail('작위 제한량 이상은 보낼 수 없습니다.')];
|
||||
$this->fullConditionConstraints = [ConstraintHelper::AlwaysFail('작위 제한량 이상은 보낼 수 없습니다.')];
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ class che_천도 extends Command\NationCommand
|
||||
[$reqGold, $reqRice] = $this->getCost();
|
||||
|
||||
if ($this->getDistance() === null) {
|
||||
$this->fullConditionConstraints[ConstraintHelper::AlwaysFail('천도 대상으로 도달할 방법이 없습니다.')];
|
||||
$this->fullConditionConstraints = [ConstraintHelper::AlwaysFail('천도 대상으로 도달할 방법이 없습니다.')];
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user