Browse Source

debug option added in canJoin for charter type

combat-2
FatBoy-DOTC 8 months ago
parent
commit
7c8d78581e
  1. 4
      src/engine/mbEnums.java

4
src/engine/mbEnums.java

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

Loading…
Cancel
Save