아이템 구현. 장비매매 추가

This commit is contained in:
2018-10-21 01:55:09 +09:00
parent 05fcb5397e
commit b6db653f41
28 changed files with 777 additions and 208 deletions
+2 -2
View File
@@ -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;
}