mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fix lands targeted by Tidal Warrior, Grixis Illusionist, and other similar effects erroneously keeping all their subtypes
This commit is contained in:
parent
2dfdc42b89
commit
15e229ab23
1 changed files with 3 additions and 2 deletions
|
@ -72,7 +72,7 @@ public class BecomesBasicLandTargetEffect extends ContinuousEffectImpl {
|
|||
public BecomesBasicLandTargetEffect(Duration duration, boolean chooseLandType, String... landNames) {
|
||||
this(duration, chooseLandType, true, landNames);
|
||||
}
|
||||
|
||||
|
||||
public BecomesBasicLandTargetEffect(Duration duration, boolean chooseLandType, boolean loseOther, String... landNames) {
|
||||
super(duration, Outcome.Detriment);
|
||||
this.landTypes.addAll(Arrays.asList(landNames));
|
||||
|
@ -86,6 +86,7 @@ public class BecomesBasicLandTargetEffect extends ContinuousEffectImpl {
|
|||
super(effect);
|
||||
this.landTypes.addAll(effect.landTypes);
|
||||
this.chooseLandType = effect.chooseLandType;
|
||||
this.loseOther = effect.loseOther;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -111,7 +112,7 @@ public class BecomesBasicLandTargetEffect extends ContinuousEffectImpl {
|
|||
this.discard();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(!loseOther) {
|
||||
for (UUID targetPermanent : targetPointer.getTargets(game, source)) {
|
||||
Permanent land = game.getPermanent(targetPermanent);
|
||||
|
|
Loading…
Reference in a new issue