mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Added AEther Snap.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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_mutation.txt svneol=native#text/plain
|
||||||
res/cardsfolder/a/aether_rift.txt -text
|
res/cardsfolder/a/aether_rift.txt -text
|
||||||
res/cardsfolder/a/aether_shockwave.txt svneol=native#text/plain
|
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_spellbomb.txt svneol=native#text/plain
|
||||||
res/cardsfolder/a/aether_sting.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
|
res/cardsfolder/a/aether_storm.txt -text svneol=unset#text/plain
|
||||||
|
|||||||
13
res/cardsfolder/a/aether_snap.txt
Normal file
13
res/cardsfolder/a/aether_snap.txt
Normal file
@@ -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
|
||||||
@@ -58,6 +58,10 @@ public class CountersRemoveAllEffect extends SpellEffect {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (final Card tgtCard : cards) {
|
for (final Card tgtCard : cards) {
|
||||||
|
if (sa.hasParam("AllCounterTypes")) {
|
||||||
|
tgtCard.getCounters().clear();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (sa.hasParam("AllCounters")) {
|
if (sa.hasParam("AllCounters")) {
|
||||||
counterAmount = tgtCard.getCounters(CounterType.valueOf(type));
|
counterAmount = tgtCard.getCounters(CounterType.valueOf(type));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user