- Fixed Dovescape and friends

This commit is contained in:
swordshine
2014-06-14 13:07:09 +00:00
parent 1df53d1bee
commit 176eb0236d

View File

@@ -94,6 +94,10 @@ public class CounterEffect extends SpellAbilityEffect {
for (final SpellAbility tgtSA : sas) { for (final SpellAbility tgtSA : sas) {
final Card tgtSACard = tgtSA.getHostCard(); final Card tgtSACard = tgtSA.getHostCard();
// should remember even that spell cannot be countered, e.g. Dovescape
if (sa.hasParam("RememberCounteredCMC")) {
sa.getHostCard().addRemembered((Integer) tgtSACard.getCMC());
}
if (tgtSA.isSpell() && !CardFactoryUtil.isCounterableBy(tgtSACard, sa)) { if (tgtSA.isSpell() && !CardFactoryUtil.isCounterableBy(tgtSACard, sa)) {
continue; continue;
@@ -108,10 +112,6 @@ public class CounterEffect extends SpellAbilityEffect {
continue; continue;
} }
if (sa.hasParam("RememberCounteredCMC")) {
sa.getHostCard().addRemembered((Integer) tgtSACard.getCMC());
}
this.removeFromStack(tgtSA, sa, si); this.removeFromStack(tgtSA, sa, si);
// Destroy Permanent may be able to be turned into a SubAbility // Destroy Permanent may be able to be turned into a SubAbility