mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Added Corrosion
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -2025,6 +2025,7 @@ res/cardsfolder/c/corpse_traders.txt -text
|
|||||||
res/cardsfolder/c/corpsehatch.txt svneol=native#text/plain
|
res/cardsfolder/c/corpsehatch.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/corpsejack_menace.txt -text
|
res/cardsfolder/c/corpsejack_menace.txt -text
|
||||||
res/cardsfolder/c/corpulent_corpse.txt svneol=native#text/plain
|
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_gale.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/corrosive_mentor.txt svneol=native#text/plain
|
res/cardsfolder/c/corrosive_mentor.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/corrupt.txt svneol=native#text/plain
|
res/cardsfolder/c/corrupt.txt svneol=native#text/plain
|
||||||
|
|||||||
14
res/cardsfolder/c/corrosion.txt
Normal file
14
res/cardsfolder/c/corrosion.txt
Normal 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
|
||||||
@@ -186,6 +186,8 @@ public enum CounterType {
|
|||||||
|
|
||||||
QUEST(),
|
QUEST(),
|
||||||
|
|
||||||
|
RUST(),
|
||||||
|
|
||||||
SCREAM(),
|
SCREAM(),
|
||||||
|
|
||||||
SCROLL(),
|
SCROLL(),
|
||||||
|
|||||||
Reference in New Issue
Block a user