버그 수정
This commit is contained in:
1 parent
17d9853e90
commit
e63b46b004
7 files changed
+38
-45
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user