* generalID, generalName 동작 안하는 문제 해결
* Event 관련 클래스 표기 실수 해결
This commit is contained in:
@@ -7,7 +7,7 @@ class DeleteEvent extends \sammo\Event\Action{
|
||||
public function __construct(){
|
||||
}
|
||||
|
||||
public function run($env){
|
||||
public function run($env=null){
|
||||
|
||||
$eventID = \sammo\Util::array_get($env['currentEventID']);
|
||||
if(!$eventID){
|
||||
|
||||
@@ -11,7 +11,7 @@ class RegNPC extends \sammo\Event\Action{
|
||||
string $name,
|
||||
int $pictureID,
|
||||
int $nationID,
|
||||
string $locatedCity,
|
||||
$locatedCity,
|
||||
int $leadership,
|
||||
int $power,
|
||||
int $intel,
|
||||
|
||||
@@ -33,7 +33,7 @@ class Date extends \sammo\Event\Condition{
|
||||
$this->month = $month;
|
||||
}
|
||||
|
||||
public function eval(array $env=null){
|
||||
public function eval($env=null){
|
||||
if($env === null){
|
||||
return [
|
||||
'value'=>false,
|
||||
@@ -50,7 +50,7 @@ class Date extends \sammo\Event\Condition{
|
||||
}
|
||||
|
||||
$lhs = [
|
||||
$this->$year,
|
||||
$this->year,
|
||||
$this->month
|
||||
];
|
||||
$rhs = [
|
||||
|
||||
Reference in New Issue
Block a user