|
|
|
@ -343,9 +343,17 @@ public class City extends AbstractWorldObject {
@@ -343,9 +343,17 @@ public class City extends AbstractWorldObject {
|
|
|
|
|
if (city.isNpc == 1) |
|
|
|
|
if (city.isNoobIsle == 1) { |
|
|
|
|
if (pc.getLevel() < 21) |
|
|
|
|
cities.add(city); |
|
|
|
|
if (ConfigManager.MB_RULESET.getValue() == "LORE" && city.getGuild().getGuildType().canJoin(pc)) { |
|
|
|
|
cities.add(city); |
|
|
|
|
} else { |
|
|
|
|
cities.add(city); //verify nation or guild is same
|
|
|
|
|
} |
|
|
|
|
} else if (pc.getLevel() > 9) |
|
|
|
|
cities.add(city); |
|
|
|
|
if (ConfigManager.MB_RULESET.getValue() == "LORE" && city.getGuild().getGuildType().canJoin(pc)) { |
|
|
|
|
cities.add(city); |
|
|
|
|
} else { |
|
|
|
|
cities.add(city); //verify nation or guild is same
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} else if (pc.getLevel() >= g.getTeleportMin() && pc.getLevel() <= g.getTeleportMax()) |
|
|
|
|
if (ConfigManager.MB_RULESET.getValue() == "LORE") { |
|
|
|
@ -407,7 +415,11 @@ public class City extends AbstractWorldObject {
@@ -407,7 +415,11 @@ public class City extends AbstractWorldObject {
|
|
|
|
|
if (city.isNpc == 1) |
|
|
|
|
if (city.isNoobIsle == 1) { |
|
|
|
|
if (playerCharacter.getLevel() < 21) |
|
|
|
|
cities.add(city); //verify nation or guild is same
|
|
|
|
|
if (ConfigManager.MB_RULESET.getValue() == "LORE" && city.getGuild().getGuildType().canJoin(playerCharacter)) { |
|
|
|
|
cities.add(city); |
|
|
|
|
} else { |
|
|
|
|
cities.add(city); //verify nation or guild is same
|
|
|
|
|
} |
|
|
|
|
} else if (playerCharacter.getLevel() > 9) |
|
|
|
|
if (ConfigManager.MB_RULESET.getValue() == "LORE") { |
|
|
|
|
if (city.getGuild().getGuildType().equals(playerCharacter.guild.getGuildType())) { |
|
|
|
|