NPC 행동 코드 재 구현중

This commit is contained in:
Hide_D committed 2018-10-06 04:08:53 +09:00
1 parent 7cfc8f0269
commit 3f65424d99
5 files changed
+505 -39

No files matched your search

+1 -1
View File
@@ -221,7 +221,7 @@ function SetNationFront($nationNo) {
} else {
//평시이면 공백지
//NOTE: if, else일 경우 NPC는 전쟁시에는 공백지로 출병하지 않는다는 뜻이 된다.
foreach ($db->queryFirstColumn('SELECT city,path from city where nation=0') as $city) {
foreach ($db->queryFirstColumn('SELECT city from city where nation=0') as $city) {
foreach(CityConst::byID($city)->path as $adjKey=>$adjVal){
$adj[$adjKey] = $adjVal;
}