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