의병모집, 소형b 초기 m장, 작위보상금쌀
의병모집 -> 초기 금쌀 1000 작위보상 -> 작위에 따라 금쌀*1000 소형b -> 초기 m장 10 추가
This commit is contained in:
@@ -18,7 +18,7 @@ class Date extends \sammo\Event\Condition{
|
||||
|
||||
//TODO:구현
|
||||
|
||||
public function __construct(string $cmp, int $year, int $month){
|
||||
public function __construct(string $cmp, ?int $year, ?int $month){
|
||||
//Cmp('==', '!=', '<=', '>=', '<', '>'), Year, Month(Optional)
|
||||
if(!array_key_exists($cmp, self::AVAILABLE_CMP)){
|
||||
throw new \InvalidArgumentException('올바르지 않은 비교연산자입니다');
|
||||
|
||||
Reference in New Issue
Block a user