버그 수정

This commit is contained in:
2020-04-19 06:18:35 +09:00
parent b98df58c76
commit c611e98cf7
7 changed files with 38 additions and 45 deletions
+3 -2
View File
@@ -39,7 +39,7 @@ class AutorunGeneralPolicy{
static public $priority = [
static public $default_priority = [
'NPC사망대비',
'귀환',
'금쌀구매',
@@ -114,7 +114,8 @@ class AutorunGeneralPolicy{
}
function __construct(General $general, $aiOptions){
//TODO: 국가 정책을 받아와야함
$this->priority = static::$default_priority;
if($general->getVar('npc') >= 2){
$this->doNPCState($general);