Change tribal card type to kindred, update viashino and naga (#12271)

* change tribal card type to kindred

* update viashino to lizard

* update naga to snake
This commit is contained in:
Evan Kranzler 2024-06-08 13:55:52 -04:00 committed by GitHub
parent 40a1fc6c23
commit cdf91e66fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
177 changed files with 200 additions and 213 deletions

View file

@ -251,12 +251,12 @@ public interface MageObject extends MageItem, Serializable, Copyable<MageObject>
return getCardType(game).contains(CardType.PLANESWALKER);
}
default boolean isTribal() {
return isTribal(null);
default boolean isKindred() {
return isKindred(null);
}
default boolean isTribal(Game game) {
return getCardType(game).contains(CardType.TRIBAL);
default boolean isKindred(Game game) {
return getCardType(game).contains(CardType.KINDRED);
}
default boolean isBattle() {
@ -567,10 +567,10 @@ public interface MageObject extends MageItem, Serializable, Copyable<MageObject>
}
default boolean shareCreatureTypes(Game game, MageObject otherCard) {
if (!isCreature(game) && !isTribal(game)) {
if (!isCreature(game) && !isKindred(game)) {
return false;
}
if (!otherCard.isCreature(game) && !otherCard.isTribal(game)) {
if (!otherCard.isCreature(game) && !otherCard.isKindred(game)) {
return false;
}
boolean isAllA = this.isAllCreatureTypes(game);