- Added Corrosion

This commit is contained in:
Sol
2013-04-18 02:23:00 +00:00
parent f8ddf44881
commit 8c637ed500
3 changed files with 17 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -2025,6 +2025,7 @@ res/cardsfolder/c/corpse_traders.txt -text
res/cardsfolder/c/corpsehatch.txt svneol=native#text/plain
res/cardsfolder/c/corpsejack_menace.txt -text
res/cardsfolder/c/corpulent_corpse.txt svneol=native#text/plain
res/cardsfolder/c/corrosion.txt -text
res/cardsfolder/c/corrosive_gale.txt svneol=native#text/plain
res/cardsfolder/c/corrosive_mentor.txt svneol=native#text/plain
res/cardsfolder/c/corrupt.txt svneol=native#text/plain

View File

@@ -0,0 +1,14 @@
Name:Corrosion
ManaCost:1 B R
Types:Enchantment
K:Cumulative upkeep:1
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigCorrode | TriggerDescription$ At the beginning of your upkeep, put a rust counter on each artifact target opponent controls. Then destroy each artifact with converted mana cost less than or equal to the number of rust counters on it. Artifacts destroyed this way can't be regenerated.
SVar:TrigCorrode:DB$ PutCounterAll | ValidCards$ Artifact | CounterType$ RUST | CounterNum$ 1 | ValidTgts$ Opponent | SubAbility$ DBDestroyAllRusted
SVar:DBDestroyAllRusted:DB$ RepeatEach | RepeatCards$ Artifact | RepeatSubAbility$ DBDestroyRusted
SVar:DBDestroyRusted:DB$ Destroy | References$ RememberedCMC,X | Defined$ Remembered | ConditionCheckSVar$ RememberedCMC | ConditionSVarCompare$ GEX | NoRegen$ True
SVar:RememberedCMC:Remembered$CardCounters.RUST
SVar:X:Remembered$CardManaCost
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigWipeCounters | TriggerDescription$ When CARDNAME leaves the battlefield, remove all rust counters from all permanents.
SVar:TrigWipeCounters:DB$ RemoveCounterAll | Cost$ 3 B B | ValidCards$ Permanent | AllCounterTypes$ True
Oracle:Cumulative upkeep {1} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.)\nAt the beginning of your upkeep, put a rust counter on each artifact target opponent controls. Then destroy each artifact with converted mana cost less than or equal to the number of rust counters on it. Artifacts destroyed this way can't be regenerated.\nWhen Corrosion leaves the battlefield, remove all rust counters from all permanents.
SetInfo:VIS Rare

View File

@@ -186,6 +186,8 @@ public enum CounterType {
QUEST(),
RUST(),
SCREAM(),
SCROLL(),