mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 21:42:07 -08:00
[EMN] fixed Imprisoned in the Moon not correctly removing subtypes
This commit is contained in:
parent
b74ff4a2f8
commit
83993500e0
2 changed files with 52 additions and 48 deletions
|
|
@ -280,6 +280,11 @@ public interface MageObject extends MageItem, Serializable {
|
|||
game.getState().getCreateMageObjectAttribute(this, game).getSubtype().retainAll(SubType.getEnchantmentTypes());
|
||||
}
|
||||
|
||||
default void retainAllLandSubTypes(Game game) {
|
||||
setIsAllCreatureTypes(game, false);
|
||||
game.getState().getCreateMageObjectAttribute(this, game).getSubtype().retainAll(SubType.getLandTypes());
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove object's own creature types forever (for copy effects usage)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue