mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +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) {
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user