Read an optional noobIsle flag from the guild seed
The NPC city noob-isle flag (wire and teleport/repledge rules) has no source in the client data. On map 108 it is set for the 18 cities under Tyrranth Minor; 108.guild now carries it per seed guild, next to the repledge and teleport limits. Missing means false. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4154b07064
commit
e3142b1bd8
2 files changed
+2
No files matched your search
@@ -85,6 +85,7 @@ public class GuildSeedParser {
|
||||
guild.repledgeKick = guildJson.getInt("repledgeKick");
|
||||
guild.teleportMin = guildJson.getInt("teleportMin");
|
||||
guild.teleportMax = guildJson.getInt("teleportMax");
|
||||
guild.noobIsle = guildJson.optBoolean("noobIsle", false);
|
||||
|
||||
if (guild.guildKeys.isEmpty())
|
||||
throw new IllegalStateException("guild " + guild.name + " has no guild keys");
|
||||
|
||||
@@ -29,5 +29,6 @@ public class GuildSeedEntry {
|
||||
public int repledgeKick;
|
||||
public int teleportMin;
|
||||
public int teleportMax;
|
||||
public boolean noobIsle;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user