npc attackable 보완

This commit is contained in:
2018-07-23 02:50:58 +09:00
parent 6b135c343c
commit cb0adfdeaf
2 changed files with 12 additions and 9 deletions
+3
View File
@@ -2665,6 +2665,9 @@ function searchDistance(int $from, int $maxDist=99, bool $distForm = false) {
}
function isNeighbor(int $nation1, int $nation2, bool $includeNoSupply=true) {
if($nation1 === $nation2){
return false;
}
$db = DB::db();
$nation1Cities = [];