의병모집, 소형b 초기 m장, 작위보상금쌀
의병모집 -> 초기 금쌀 1000 작위보상 -> 작위에 따라 금쌀*1000 소형b -> 초기 m장 10 추가
This commit is contained in:
1 parent
0867a234c2
commit
e70315354e
8 files changed
+49
-36
No files matched your search
@@ -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