Browse Source

can no longer repledge to noob island after level 20

combat-3
FatBoy-DOTC 7 months ago
parent
commit
9ff7e07545
  1. 5
      src/engine/objects/City.java

5
src/engine/objects/City.java

@ -410,10 +410,9 @@ public class City extends AbstractWorldObject {
if(city.cityName.equals("Perdition") || city.cityName.equals("Bastion")) if(city.cityName.equals("Perdition") || city.cityName.equals("Bastion"))
continue; // cannot repledge to perdition or bastion continue; // cannot repledge to perdition or bastion
if (city.isNpc == 1 && city.getGuild().charter.canJoin(playerCharacter)) { if (city.isNpc == 1 && city.getGuild().charter.canJoin(playerCharacter)) {
cities.add(city); // anyone of the same charter can teleport to a safehold of that charter if(city.isNoobIsle == 1 && playerCharacter.level >= 21)
continue; continue;
} else if (city.isNoobIsle == 1 && playerCharacter.level <= 20) { cities.add(city); // anyone of the same charter can teleport to a safehold of that charter
cities.add(city); // everyone can go to noob island if they are under level 20
continue; continue;
} else if (city.isOpen() && city.getTOL().rank > 4 && city.getGuild().charter.canJoin(playerCharacter)) } else if (city.isOpen() && city.getTOL().rank > 4 && city.getGuild().charter.canJoin(playerCharacter))
if (!city.getTOL().reverseKOS) { if (!city.getTOL().reverseKOS) {

Loading…
Cancel
Save