From 9ff7e075459b0a9e191fe50885e5f8ad5a40052b Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 4 Jun 2024 20:33:06 -0500 Subject: [PATCH] can no longer repledge to noob island after level 20 --- src/engine/objects/City.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine/objects/City.java b/src/engine/objects/City.java index ac75ee9d..2659a449 100644 --- a/src/engine/objects/City.java +++ b/src/engine/objects/City.java @@ -410,11 +410,10 @@ public class City extends AbstractWorldObject { if(city.cityName.equals("Perdition") || city.cityName.equals("Bastion")) continue; // cannot repledge to perdition or bastion if (city.isNpc == 1 && city.getGuild().charter.canJoin(playerCharacter)) { + if(city.isNoobIsle == 1 && playerCharacter.level >= 21) + continue; cities.add(city); // anyone of the same charter can teleport to a safehold of that charter continue; - } else if (city.isNoobIsle == 1 && playerCharacter.level <= 20) { - cities.add(city); // everyone can go to noob island if they are under level 20 - continue; } else if (city.isOpen() && city.getTOL().rank > 4 && city.getGuild().charter.canJoin(playerCharacter)) if (!city.getTOL().reverseKOS) { cities.add(city);//can repledge to any open ToL that player can fit into charter