Files
forge/forge-gui/res/cardsfolder/d/decree_of_silence.txt
2017-10-14 11:09:19 +00:00

16 lines
1.5 KiB
Plaintext

Name:Decree of Silence
ManaCost:6 U U
Types:Enchantment
K:Cycling:4 U U
T:Mode$ SpellCast | ValidCard$ Card.OppCtrl | Execute$ TrigCounterSpell | TriggerZones$ Battlefield | TriggerDescription$ Whenever an opponent casts a spell, counter that spell and put a depletion counter on CARDNAME. If there are three or more depletion counters on CARDNAME, sacrifice it.
SVar:TrigCounterSpell:DB$ Counter | Defined$ TriggeredSpellAbility | SubAbility$ DBPutCounter
SVar:DBPutCounter:DB$ PutCounter | CounterType$ DEPLETION | CounterNum$ 1 | Defined$ Self | SubAbility$ DBSac
SVar:DBSac:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ DecreeX | ConditionSVarCompare$ GE1 | References$ DecreeX
T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigCounter | OptionalDecider$ You | TriggerDescription$ When you cycle CARDNAME, you may counter target spell.
SVar:TrigCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Card
SVar:DecreeX:Count$Valid Card.Self+counters_GE3_DEPLETION
#TODO: The AI currently won't use cycling to counter the spell. That could be improved.
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/decree_of_silence.jpg
Oracle:Whenever an opponent casts a spell, counter that spell and put a depletion counter on Decree of Silence. If there are three or more depletion counters on Decree of Silence, sacrifice it.\nCycling {4}{U}{U} ({4}{U}{U}, Discard this card: Draw a card.)\nWhen you cycle Decree of Silence, you may counter target spell.