의병모집, 소형b 초기 m장, 작위보상금쌀

의병모집 -> 초기 금쌀 1000
작위보상 -> 작위에 따라 금쌀*1000
소형b -> 초기 m장 10 추가
This commit is contained in:
2020-05-30 04:36:42 +09:00
parent 7a48fdd246
commit fc00a0a363
8 changed files with 49 additions and 36 deletions
+1 -1
View File
@@ -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('올바르지 않은 비교연산자입니다');