mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Fixed Dovescape and friends
This commit is contained in:
@@ -94,6 +94,10 @@ public class CounterEffect extends SpellAbilityEffect {
|
||||
|
||||
for (final SpellAbility tgtSA : sas) {
|
||||
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)) {
|
||||
continue;
|
||||
@@ -108,10 +112,6 @@ public class CounterEffect extends SpellAbilityEffect {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (sa.hasParam("RememberCounteredCMC")) {
|
||||
sa.getHostCard().addRemembered((Integer) tgtSACard.getCMC());
|
||||
}
|
||||
|
||||
this.removeFromStack(tgtSA, sa, si);
|
||||
|
||||
// Destroy Permanent may be able to be turned into a SubAbility
|
||||
|
||||
Reference in New Issue
Block a user