Browse Source

debug option added in canJoin for charter type

combat-2
FatBoy-DOTC 8 months ago
parent
commit
6f4a9f7d1a
  1. 9
      src/engine/mbEnums.java

9
src/engine/mbEnums.java

@ -2585,7 +2585,14 @@ public class mbEnums {
} }
public boolean canJoin(AbstractCharacter character) { public boolean canJoin(AbstractCharacter character) {
return this.requiredRaces.contains(character.absRace) && this.requiredClasses.contains(character.absPromotionClass) && this.sexRequired.contains(character.absGender); if(this.requiredRaces.contains(character.absRace) == false)
return false;
if(this.requiredClasses.contains(character.absPromotionClass))
return false;
if(this.sexRequired.contains(character.absGender))
return false;
return true;
} }
} }

Loading…
Cancel
Save