아이템 구현. 장비매매 추가
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace sammo\Constraint;
|
||||
|
||||
class ReqCityTrader extends Constraint{
|
||||
const REQ_VALUES = Constraint::REQ_CITY;
|
||||
const REQ_VALUES = Constraint::REQ_CITY|Constraint::REQ_INT_ARG;
|
||||
|
||||
public function checkInputValues(bool $throwExeception=true){
|
||||
if(!parent::checkInputValues($throwExeception) && !$throwException){
|
||||
@@ -22,7 +22,7 @@ class ReqCityTrader extends Constraint{
|
||||
$this->checkInputValues();
|
||||
$this->tested = true;
|
||||
|
||||
if($this->city['trade'] !== null){
|
||||
if($this->city['trade'] !== null || $this->arg >= 2){
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user