@ -1496,13 +1496,10 @@ public class Enum {
@@ -1496,13 +1496,10 @@ public class Enum {
}
public enum ClassType {
FIGHTER ,
HEALER ,
ROGUE ,
MAGE
}
public enum PromoteType {
FIGHTER ( SexType . NONE ) ,
HEALER ( SexType . NONE ) ,
ROGUE ( SexType . NONE ) ,
MAGE ( SexType . NONE ) ,
Assassin ( SexType . NONE ) ,
Barbarian ( SexType . NONE ) ,
Bard ( SexType . NONE ) ,
@ -1529,7 +1526,7 @@ public class Enum {
@@ -1529,7 +1526,7 @@ public class Enum {
private final SexType sexRestriction ;
Promote Type( SexType sexRestriction ) {
Class Type( SexType sexRestriction ) {
this . sexRestriction = sexRestriction ;
}
@ -2366,7 +2363,7 @@ public class Enum {
@@ -2366,7 +2363,7 @@ public class Enum {
public enum GuildCharterType {
NONE ( "None" , new String [ ] [ ] { { "None" } } , new String [ ] { "Thearchy" , "Common Rule" , "Theocracy" , "Republic Rule" } ,
EnumSet . noneOf ( Promote Type. class ) ,
EnumSet . noneOf ( Class Type. class ) ,
EnumSet . noneOf ( MonsterType . class ) ,
EnumSet . noneOf ( SexType . class ) ) ,
@ -2380,8 +2377,8 @@ public class Enum {
@@ -2380,8 +2377,8 @@ public class Enum {
{ "Lord Cardinal" , "Lady Cardinal" } ,
{ "Patriarch" , "Matriarch" } } ,
new String [ ] { "Thearchy" , "Common Rule" , "Theocracy" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Bard , Promote Type. Channeler , Promote Type. Crusader , Promote Type. Nightstalker ,
Promote Type. Prelate , Promote Type. Priest , Promote Type. Sentinel , Promote Type. Scout ) ,
EnumSet . of ( Class Type. Bard , Class Type. Channeler , Class Type. Crusader , Class Type. Nightstalker ,
Class Type. Prelate , Class Type. Priest , Class Type. Sentinel , Class Type. Scout ) ,
EnumSet . of ( MonsterType . Aelfborn , MonsterType . Centaur , MonsterType . Elf , MonsterType . HalfGiant ,
MonsterType . Human ) ,
EnumSet . allOf ( SexType . class ) ) ,
@ -2395,8 +2392,8 @@ public class Enum {
@@ -2395,8 +2392,8 @@ public class Enum {
{ "General" } ,
{ "Lord Marshall" , "Lady Marshall" } } ,
new String [ ] { "Autocracy" , "Common Rule" , "Council Rule" , "Militocracy" } ,
EnumSet . of ( Promote Type. Bard , Promote Type. Priest , Promote Type. Scout , Promote Type. Warlock ,
Promote Type. Warrior , Promote Type. Wizard ) ,
EnumSet . of ( Class Type. Bard , Class Type. Priest , Class Type. Scout , Class Type. Warlock ,
Class Type. Warrior , Class Type. Wizard ) ,
EnumSet . of ( MonsterType . Centaur , MonsterType . HalfGiant , MonsterType . Human ) ,
EnumSet . allOf ( SexType . class ) ) ,
TEMPLE ( "Temple of the Cleansing Flame" , new String [ ] [ ] {
@ -2410,8 +2407,8 @@ public class Enum {
@@ -2410,8 +2407,8 @@ public class Enum {
{ "Justiciar" } ,
{ "Pontifex" , "Pontifectrix" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Protectorship" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Assassin , Promote Type. Bard , Promote Type. Channeler , Promote Type. Confessor ,
Promote Type. Nightstalker , Promote Type. Priest , Promote Type. Scout , Promote Type. Templar ) ,
EnumSet . of ( Class Type. Assassin , Class Type. Bard , Class Type. Channeler , Class Type. Confessor ,
Class Type. Nightstalker , Class Type. Priest , Class Type. Scout , Class Type. Templar ) ,
EnumSet . of ( MonsterType . HalfGiant , MonsterType . Human ) ,
EnumSet . allOf ( SexType . class ) ) ,
BARBARIAN ( "Barbarian Clan" , new String [ ] [ ] {
@ -2423,8 +2420,8 @@ public class Enum {
@@ -2423,8 +2420,8 @@ public class Enum {
{ "Chieftain" } ,
{ "Thane" } } ,
new String [ ] { "Chiefdom" , "Common Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Barbarian , Promote Type. Bard , Promote Type. Doomsayer , Promote Type. Fury ,
Promote Type. Priest , Promote Type. Scout , Promote Type. Thief , Promote Type. Warrior ) ,
EnumSet . of ( Class Type. Barbarian , Class Type. Bard , Class Type. Doomsayer , Class Type. Fury ,
Class Type. Priest , Class Type. Scout , Class Type. Thief , Class Type. Warrior ) ,
EnumSet . of ( MonsterType . Aelfborn , MonsterType . HalfGiant , MonsterType . Human , MonsterType . Minotaur ) ,
EnumSet . allOf ( SexType . class ) ) ,
RANGER ( "Ranger's Brotherhood" , new String [ ] [ ] {
@ -2436,8 +2433,8 @@ public class Enum {
@@ -2436,8 +2433,8 @@ public class Enum {
{ "Guardian" } ,
{ "Lord Protector" , "Lady Protector" } } ,
new String [ ] { "Despot Rule" , "Collectivism" , "Council Rule" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Bard , Promote Type. Channeler , Promote Type. Druid , Promote Type. Priest ,
Promote Type. Ranger , Promote Type. Scout , Promote Type. Warrior ) ,
EnumSet . of ( Class Type. Bard , Class Type. Channeler , Class Type. Druid , Class Type. Priest ,
Class Type. Ranger , Class Type. Scout , Class Type. Warrior ) ,
EnumSet . of ( MonsterType . Aelfborn , MonsterType . Elf , MonsterType . HalfGiant , MonsterType . Human , MonsterType . Shade ) ,
EnumSet . allOf ( SexType . class ) ) ,
AMAZON ( "Amazon Temple" , new String [ ] [ ] {
@ -2448,8 +2445,8 @@ public class Enum {
@@ -2448,8 +2445,8 @@ public class Enum {
{ "Amazon Seneschal" , "Majestrix" } ,
{ "Amazon Regent" , "Imperatrix" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Gynarchy" , "Gynocracy" } ,
EnumSet . of ( Promote Type. Bard , Promote Type. Druid , Promote Type. Fury , Promote Type. Huntress ,
Promote Type. Priest , Promote Type. Scout , Promote Type. Warrior , Promote Type. Wizard ) ,
EnumSet . of ( Class Type. Bard , Class Type. Druid , Class Type. Fury , Class Type. Huntress ,
Class Type. Priest , Class Type. Scout , Class Type. Warrior , Class Type. Wizard ) ,
EnumSet . of ( MonsterType . Aelfborn , MonsterType . Elf , MonsterType . HalfGiant , MonsterType . Human ) ,
EnumSet . of ( SexType . FEMALE ) ) ,
NOBLE ( "Noble House" , new String [ ] [ ] {
@ -2463,8 +2460,8 @@ public class Enum {
@@ -2463,8 +2460,8 @@ public class Enum {
{ "King" , "Queen" } ,
{ "Emperor" , "Empress" } } ,
new String [ ] { "Monarchy" , "Common Rule" , "Feodality" , "Republic" } ,
EnumSet . of ( Promote Type. Assassin , Promote Type. Bard , Promote Type. Channeler , Promote Type. Priest ,
Promote Type. Scout , Promote Type. Thief , Promote Type. Warlock , Promote Type. Warrior , Promote Type. Wizard ) ,
EnumSet . of ( Class Type. Assassin , Class Type. Bard , Class Type. Channeler , Class Type. Priest ,
Class Type. Scout , Class Type. Thief , Class Type. Warlock , Class Type. Warrior , Class Type. Wizard ) ,
EnumSet . of ( MonsterType . Aelfborn , MonsterType . HalfGiant , MonsterType . Human ) ,
EnumSet . allOf ( SexType . class ) ) ,
WIZARD ( "Wizard's Conclave" , new String [ ] [ ] {
@ -2476,8 +2473,8 @@ public class Enum {
@@ -2476,8 +2473,8 @@ public class Enum {
{ "High Magus" } ,
{ "Archmagus" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Council Rule" , "Magocracy" } ,
EnumSet . of ( Promote Type. Assassin , Promote Type. Bard , Promote Type. Channeler , Promote Type. Doomsayer ,
Promote Type. Fury , Promote Type. Necromancer , Promote Type. Priest , Promote Type. Warlock , Promote Type. Wizard ) ,
EnumSet . of ( Class Type. Assassin , Class Type. Bard , Class Type. Channeler , Class Type. Doomsayer ,
Class Type. Fury , Class Type. Necromancer , Class Type. Priest , Class Type. Warlock , Class Type. Wizard ) ,
EnumSet . of ( MonsterType . Aelfborn , MonsterType . Elf , MonsterType . Human , MonsterType . Nephilim , MonsterType . Shade ) ,
EnumSet . allOf ( SexType . class ) ) ,
MERCENARY ( "Mercenary Company" , new String [ ] [ ] {
@ -2490,8 +2487,8 @@ public class Enum {
@@ -2490,8 +2487,8 @@ public class Enum {
{ "High Commander" } ,
{ "Warlord" } } ,
new String [ ] { "Magistrature" , "Mob Law" , "Council Rule" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Assassin , Promote Type. Bard , Promote Type. Priest , Promote Type. Scout ,
Promote Type. Thief , Promote Type. Warlock , Promote Type. Warrior ) ,
EnumSet . of ( Class Type. Assassin , Class Type. Bard , Class Type. Priest , Class Type. Scout ,
Class Type. Thief , Class Type. Warlock , Class Type. Warrior ) ,
EnumSet . of ( MonsterType . Aelfborn , MonsterType . Aracoix , MonsterType . HalfGiant , MonsterType . Human , MonsterType . Shade ) ,
EnumSet . allOf ( SexType . class ) ) ,
THIEVES ( "Thieve's Den" , new String [ ] [ ] {
@ -2505,8 +2502,8 @@ public class Enum {
@@ -2505,8 +2502,8 @@ public class Enum {
{ "Grandmaster Thief" } ,
{ "Grandfather" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Oligarchy" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Assassin , Promote Type. Barbarian , Promote Type. Bard , Promote Type. Priest ,
Promote Type. Scout , Promote Type. Thief , Promote Type. Wizard ) ,
EnumSet . of ( Class Type. Assassin , Class Type. Barbarian , Class Type. Bard , Class Type. Priest ,
Class Type. Scout , Class Type. Thief , Class Type. Wizard ) ,
EnumSet . of ( MonsterType . Aelfborn , MonsterType . Aracoix , MonsterType . Elf , MonsterType . Human , MonsterType . Irekei ,
MonsterType . Nephilim , MonsterType . Shade , MonsterType . Vampire ) ,
EnumSet . allOf ( SexType . class ) ) ,
@ -2518,8 +2515,8 @@ public class Enum {
@@ -2518,8 +2515,8 @@ public class Enum {
{ "Great Thane" } ,
{ "High Thane" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Crusader , Promote Type. Prelate , Promote Type. Priest , Promote Type. Sentinel ,
Promote Type. Warrior ) ,
EnumSet . of ( Class Type. Crusader , Class Type. Prelate , Class Type. Priest , Class Type. Sentinel ,
Class Type. Warrior ) ,
EnumSet . of ( MonsterType . Dwarf ) ,
EnumSet . allOf ( SexType . class ) ) ,
HIGHCOURT ( "High Court" , new String [ ] [ ] {
@ -2533,9 +2530,9 @@ public class Enum {
@@ -2533,9 +2530,9 @@ public class Enum {
{ "Aglaeron" } ,
{ "Ellestor" , "Elestril" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Assassin , Promote Type. Bard , Promote Type. Channeler , Promote Type. Druid ,
Promote Type. Necromancer , Promote Type. Priest , Promote Type. Ranger , Promote Type. Scout ,
Promote Type. Thief , Promote Type. Warrior , Promote Type. Wizard ) ,
EnumSet . of ( Class Type. Assassin , Class Type. Bard , Class Type. Channeler , Class Type. Druid ,
Class Type. Necromancer , Class Type. Priest , Class Type. Ranger , Class Type. Scout ,
Class Type. Thief , Class Type. Warrior , Class Type. Wizard ) ,
EnumSet . of ( MonsterType . Elf , MonsterType . Minotaur ) ,
EnumSet . allOf ( SexType . class ) ) ,
VIRAKT ( "Virakt" , new String [ ] [ ] {
@ -2548,9 +2545,9 @@ public class Enum {
@@ -2548,9 +2545,9 @@ public class Enum {
{ "Khar'uus" } ,
{ "Kryqh'khalin" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Assassin , Promote Type. Bard , Promote Type. Channeler , Promote Type. Fury ,
Promote Type. Huntress , Promote Type. Nightstalker , Promote Type. Priest , Promote Type. Ranger ,
Promote Type. Scout , Promote Type. Thief , Promote Type. Warrior , Promote Type. Wizard ) ,
EnumSet . of ( Class Type. Assassin , Class Type. Bard , Class Type. Channeler , Class Type. Fury ,
Class Type. Huntress , Class Type. Nightstalker , Class Type. Priest , Class Type. Ranger ,
Class Type. Scout , Class Type. Thief , Class Type. Warrior , Class Type. Wizard ) ,
EnumSet . of ( MonsterType . Irekei ) ,
EnumSet . allOf ( SexType . class ) ) ,
BRIALIA ( "Coven of Brialia" , new String [ ] [ ] { // Unknown Rank names
@ -2563,7 +2560,7 @@ public class Enum {
@@ -2563,7 +2560,7 @@ public class Enum {
{ "Hierophant" } ,
{ "Witch King" , "Witch Queen" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . allOf ( Promote Type. class ) ,
EnumSet . allOf ( Class Type. class ) ,
EnumSet . allOf ( MonsterType . class ) ,
EnumSet . allOf ( SexType . class ) ) ,
@ -2577,9 +2574,9 @@ public class Enum {
@@ -2577,9 +2574,9 @@ public class Enum {
{ "Dread Master" , "Dread Mistress" } ,
{ "Dread Lord" , "Dread Lady" } } ,
new String [ ] { "Despot Rule" , "Despot Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Assassin , Promote Type. Channeler , Promote Type. Necromancer , Promote Type. Priest ,
Promote Type. Scout , Promote Type. Thief , Promote Type. Warlock , Promote Type. Warrior ,
Promote Type. Wizard ) ,
EnumSet . of ( Class Type. Assassin , Class Type. Channeler , Class Type. Necromancer , Class Type. Priest ,
Class Type. Scout , Class Type. Thief , Class Type. Warlock , Class Type. Warrior ,
Class Type. Wizard ) ,
EnumSet . of ( MonsterType . Human , MonsterType . Shade , MonsterType . Vampire ) ,
EnumSet . allOf ( SexType . class ) ) ,
SCOURGE ( "Cult of the Scourge" , new String [ ] [ ] {
@ -2589,8 +2586,8 @@ public class Enum {
@@ -2589,8 +2586,8 @@ public class Enum {
{ "Hand of the Dark" } ,
{ "Dark Father" , "Dark Mother" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Bard , Promote Type. Channeler , Promote Type. Doomsayer , Promote Type. Priest ,
Promote Type. Scout , Promote Type. Warrior , Promote Type. Wizard ) ,
EnumSet . of ( Class Type. Bard , Class Type. Channeler , Class Type. Doomsayer , Class Type. Priest ,
Class Type. Scout , Class Type. Warrior , Class Type. Wizard ) ,
EnumSet . of ( MonsterType . Aelfborn , MonsterType . Human , MonsterType . Minotaur , MonsterType . Nephilim ) ,
EnumSet . allOf ( SexType . class ) ) ,
PIRATE ( "Pirate Crew" , new String [ ] [ ] {
@ -2601,7 +2598,7 @@ public class Enum {
@@ -2601,7 +2598,7 @@ public class Enum {
{ "First Mate" } ,
{ "Captain" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . allOf ( Promote Type. class ) ,
EnumSet . allOf ( Class Type. class ) ,
EnumSet . allOf ( MonsterType . class ) ,
EnumSet . allOf ( SexType . class ) ) ,
HERALD ( "Academy of Heralds" , new String [ ] [ ] {
@ -2614,7 +2611,7 @@ public class Enum {
@@ -2614,7 +2611,7 @@ public class Enum {
{ "Archivist" } ,
{ "Loremaster" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . allOf ( Promote Type. class ) ,
EnumSet . allOf ( Class Type. class ) ,
EnumSet . allOf ( MonsterType . class ) ,
EnumSet . allOf ( SexType . class ) ) ,
CENTAUR ( "Centaur Cohort" , new String [ ] [ ] {
@ -2627,9 +2624,9 @@ public class Enum {
@@ -2627,9 +2624,9 @@ public class Enum {
{ "Praetorian" } ,
{ "Paragon" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Barbarian , Promote Type. Crusader , Promote Type. Druid , Promote Type. Huntress ,
Promote Type. Prelate , Promote Type. Priest , Promote Type. Ranger , Promote Type. Sentinel ,
Promote Type. Warrior ) ,
EnumSet . of ( Class Type. Barbarian , Class Type. Crusader , Class Type. Druid , Class Type. Huntress ,
Class Type. Prelate , Class Type. Priest , Class Type. Ranger , Class Type. Sentinel ,
Class Type. Warrior ) ,
EnumSet . of ( MonsterType . Centaur ) ,
EnumSet . allOf ( SexType . class ) ) ,
KHREE ( "Aracoix Kh'ree" , new String [ ] [ ] {
@ -2644,20 +2641,20 @@ public class Enum {
@@ -2644,20 +2641,20 @@ public class Enum {
{ "Araceos" } ,
{ "Hierarch" } } ,
new String [ ] { "Despot Rule" , "Common Rule" , "Council Rule" , "Republic Rule" } ,
EnumSet . of ( Promote Type. Assassin , Promote Type. Barbarian , Promote Type. Bard , Promote Type. Huntress ,
Promote Type. Priest , Promote Type. Ranger , Promote Type. Scout , Promote Type. Thief ,
Promote Type. Warlock , Promote Type. Warrior ) ,
EnumSet . of ( Class Type. Assassin , Class Type. Barbarian , Class Type. Bard , Class Type. Huntress ,
Class Type. Priest , Class Type. Ranger , Class Type. Scout , Class Type. Thief ,
Class Type. Warlock , Class Type. Warrior ) ,
EnumSet . of ( MonsterType . Aracoix ) ,
EnumSet . allOf ( SexType . class ) ) ;
public final EnumSet < Promote Type> requiredClasses ;
public final EnumSet < Class Type> requiredClasses ;
public final EnumSet < MonsterType > requiredRaces ;
public final EnumSet < SexType > sexRequired ;
private final String name ;
private final String [ ] [ ] ranks ; //Stored Rank#->Gender(M,F)
private final String [ ] leadershipTypes ;
GuildCharterType ( String name , String [ ] [ ] ranks , String [ ] leadershipTypes , EnumSet < Promote Type> requiredClasses ,
GuildCharterType ( String name , String [ ] [ ] ranks , String [ ] leadershipTypes , EnumSet < Class Type> requiredClasses ,
EnumSet < MonsterType > requiredRaces , EnumSet < SexType > sexRequired ) {
this . name = name ;
this . ranks = ranks ;