Browse Source

debug option added in canJoin for charter type

combat-2
FatBoy-DOTC 8 months ago
parent
commit
95cfc43956
  1. 2
      src/engine/mbEnums.java

2
src/engine/mbEnums.java

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

Loading…
Cancel
Save