NPC 행동 코드 재 구현중

This commit is contained in:
2018-10-06 04:08:53 +09:00
parent 1660e563ab
commit 00d4541537
5 changed files with 505 additions and 39 deletions
+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;
}