diff --git a/.gitattributes b/.gitattributes index 0f3b1f9420f..a0081472996 100644 --- a/.gitattributes +++ b/.gitattributes @@ -114,6 +114,7 @@ res/cardsfolder/a/aether_membrane.txt svneol=native#text/plain res/cardsfolder/a/aether_mutation.txt svneol=native#text/plain res/cardsfolder/a/aether_rift.txt -text res/cardsfolder/a/aether_shockwave.txt svneol=native#text/plain +res/cardsfolder/a/aether_snap.txt -text res/cardsfolder/a/aether_spellbomb.txt svneol=native#text/plain res/cardsfolder/a/aether_sting.txt svneol=native#text/plain res/cardsfolder/a/aether_storm.txt -text svneol=unset#text/plain diff --git a/res/cardsfolder/a/aether_snap.txt b/res/cardsfolder/a/aether_snap.txt new file mode 100644 index 00000000000..b0eeee11b46 --- /dev/null +++ b/res/cardsfolder/a/aether_snap.txt @@ -0,0 +1,13 @@ +Name:AEther Snap +ManaCost:3 B B +Types:Sorcery +Text:no text +A:SP$ RemoveCounterAll | Cost$ 3 B B | ValidCards$ Permanent | AllCounterTypes$ True | StackDescription$ SpellDescription | SubAbility$ DBRemove | SpellDescription$ Remove all counters from all permanents and exile all tokens. +SVar:DBRemove:DB$ ChangeZoneAll | ChangeType$ Card.token | Origin$ Battlefield | Destination$ Exile +SVar:RemAIDeck:True +SVar:RemRandomDeck:True +SVar:Rarity:Rare +SVar:Picture:http://www.wizards.com/global/images/magic/general/aether_snap.jpg +SetInfo:DST|Rare|http://magiccards.info/scans/en/ds/37.jpg +Oracle:Remove all counters from all permanents and exile all tokens. +End \ No newline at end of file diff --git a/src/main/java/forge/card/abilityfactory/effects/CountersRemoveAllEffect.java b/src/main/java/forge/card/abilityfactory/effects/CountersRemoveAllEffect.java index e281f6b2e86..f188838a487 100644 --- a/src/main/java/forge/card/abilityfactory/effects/CountersRemoveAllEffect.java +++ b/src/main/java/forge/card/abilityfactory/effects/CountersRemoveAllEffect.java @@ -58,6 +58,10 @@ public class CountersRemoveAllEffect extends SpellEffect { } for (final Card tgtCard : cards) { + if (sa.hasParam("AllCounterTypes")) { + tgtCard.getCounters().clear(); + continue; + } if (sa.hasParam("AllCounters")) { counterAmount = tgtCard.getCounters(CounterType.valueOf(type)); }