mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
[ZNR] fixed issue with Ashaya, Soul of the Wild and Kenrith's Transformation (#7046)
This commit is contained in:
parent
6dabbc2b37
commit
0c4350afb1
2 changed files with 33 additions and 34 deletions
|
|
@ -30,7 +30,7 @@ public class BecomesCreatureAttachedEffect extends ContinuousEffectImpl {
|
|||
this.loseType = loseType;
|
||||
staticText = text;
|
||||
}
|
||||
|
||||
|
||||
public BecomesCreatureAttachedEffect(Token token, String text, Duration duration, LoseType loseType, Outcome outcome) {
|
||||
super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, outcome);
|
||||
this.token = token;
|
||||
|
|
@ -79,7 +79,12 @@ public class BecomesCreatureAttachedEffect extends ContinuousEffectImpl {
|
|||
case ALL:
|
||||
case ALL_BUT_COLOR:
|
||||
case ABILITIES_SUBTYPE:
|
||||
permanent.getSubtype(game).retainAll(SubType.getLandTypes());
|
||||
if (permanent.isLand()) {
|
||||
permanent.getSubtype(game).retainAll(SubType.getLandTypes());
|
||||
} else {
|
||||
permanent.getSubtype(game).clear();
|
||||
}
|
||||
permanent.setIsAllCreatureTypes(false);
|
||||
break;
|
||||
}
|
||||
for (SubType t : token.getSubtype(game)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue