버그 수정, u장수 관련 특성 수정
- m장은 거병하지 않도록, - 태수국 건국 버그 수정 - Condition "Logic" 이 하위 Condition을 해석하지 못하는 버그 수정 - 시나리오 국가 건국시 type으로 null(랜덤)을 해석하지 못하는 버그 수정 - 시나리오 초반 NPC 등장을 12월(고정)에서 6월또는 12월로 수정
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
namespace sammo\Event\Condition;
|
||||
|
||||
use sammo\Event\Condition;
|
||||
|
||||
class Logic extends \sammo\Event\Condition{
|
||||
private $mode = 'and';
|
||||
|
||||
@@ -24,7 +26,9 @@ class Logic extends \sammo\Event\Condition{
|
||||
}
|
||||
|
||||
$this->mode = $mode;
|
||||
$this->conditions = $conditions;
|
||||
$this->conditions = array_map(function($condition){
|
||||
return Condition::build($condition);
|
||||
}, $conditions);
|
||||
}
|
||||
|
||||
public function eval($env=null){
|
||||
|
||||
Reference in New Issue
Block a user