forked from External/mage
[AFR] Implemented Minimus Containment
This commit is contained in:
parent
2bd98dd4c8
commit
9d9bf3e88c
3 changed files with 117 additions and 0 deletions
|
|
@ -398,6 +398,11 @@ public interface MageObject extends MageItem, Serializable {
|
|||
}
|
||||
}
|
||||
|
||||
default void retainAllArtifactSubTypes(Game game) {
|
||||
setIsAllCreatureTypes(game, false);
|
||||
game.getState().getCreateMageObjectAttribute(this, game).getSubtype().retainAll(SubType.getArtifactTypes());
|
||||
}
|
||||
|
||||
default void retainAllEnchantmentSubTypes(Game game) {
|
||||
setIsAllCreatureTypes(game, false);
|
||||
game.getState().getCreateMageObjectAttribute(this, game).getSubtype().retainAll(SubType.getEnchantmentTypes());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue