forked from External/mage
added Saga enchantment subtype and default method for isHistoric
This commit is contained in:
parent
ddf568679f
commit
6a24de6e5a
2 changed files with 7 additions and 0 deletions
|
|
@ -86,6 +86,12 @@ public interface MageObject extends MageItem, Serializable {
|
|||
|
||||
void setZoneChangeCounter(int value, Game game);
|
||||
|
||||
default boolean isHistoric(){
|
||||
return getCardType().contains(CardType.ARTIFACT)
|
||||
|| getSuperType().contains(SuperType.LEGENDARY)
|
||||
|| hasSubtype(SubType.SAGA, null );
|
||||
}
|
||||
|
||||
default boolean isCreature() {
|
||||
return getCardType().contains(CardType.CREATURE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue