Browse Source

More logic work

postwipe-guilds
MagicBot 6 months ago
parent
commit
141af19daa
  1. 10
      src/engine/objects/City.java

10
src/engine/objects/City.java

@ -316,8 +316,9 @@ public class City extends AbstractWorldObject {
if (!city.getGuild().charter.equals(playerCharacter.guild.charter)) if (!city.getGuild().charter.equals(playerCharacter.guild.charter))
continue; continue;
if (!city.getGuild().charter.canJoin(playerCharacter)) if (repledge)
continue; if (!city.getGuild().charter.canJoin(playerCharacter))
continue;
} }
if (!city.getTOL().reverseKOS) { if (!city.getTOL().reverseKOS) {
@ -359,8 +360,9 @@ public class City extends AbstractWorldObject {
if (!city.getGuild().charter.equals(playerCharacter.guild.charter)) if (!city.getGuild().charter.equals(playerCharacter.guild.charter))
continue; continue;
if (!city.getGuild().charter.canJoin(playerCharacter)) if (repledge)
continue; if (!city.getGuild().charter.canJoin(playerCharacter))
continue;
} }
if (city.isNpc == 1) if (city.isNpc == 1)

Loading…
Cancel
Save