NPC 행동 재 작성중
This commit is contained in:
1 parent
6239486361
commit
376abd10a7
2 files changed
+346
-80
No files matched your search
@@ -234,13 +234,9 @@ WHERE turntime < %s ORDER BY turntime ASC, `no` ASC',
|
||||
if($generalWork['npc'] >= 2){
|
||||
$ai = new GeneralAI($turnObj->getGeneral());
|
||||
if($hasNationTurn){
|
||||
[$nationCommand, $nationArg] = $ai->chooseNationTurn($generalObj, $nationCommand, $nationArg);
|
||||
[$nationCommand, $nationArg] = $ai->chooseNationTurn($nationCommand, $nationArg);
|
||||
}
|
||||
|
||||
|
||||
if($hasNationTurn){
|
||||
[$nationCommand, $nationArg] = processAINationTurn($nationCommand, $nationArg);
|
||||
}
|
||||
[$generalCommand, $generalArg] = $ai->chooseGeneralTurn($generalCommand, $generalArg); // npc AI 처리
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user