getVar('npc') -> getNPCType()

This commit is contained in:
2020-05-09 23:18:47 +09:00
parent d083dc36b2
commit 6e19722742
21 changed files with 51 additions and 47 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ class AutorunGeneralPolicy{
public $can선양 = false;
function doNPCState(General $general){
$npc = $general->getVar('npc');
$npc = $general->getNPCType();
$nationID = $general->getNationID();
if($npc==5){
@@ -117,7 +117,7 @@ class AutorunGeneralPolicy{
//TODO: 국가 정책을 받아와야함
$this->priority = static::$default_priority;
if($general->getVar('npc') >= 2){
if($general->getNPCType() >= 2){
$this->doNPCState($general);
return;
}