mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-12-25 21:17:12 +01:00
14 lines
1.1 KiB
Plaintext
14 lines
1.1 KiB
Plaintext
|
Name:Dega Sanctuary
|
||
|
ManaCost:2 W
|
||
|
Types:Enchantment
|
||
|
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your upkeep, if you control a black or red permanent, you gain 2 life. If you control a black permanent and a red permanent, you gain 4 life instead.
|
||
|
SVar:TrigGainLife:AB$ GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBGainLife | References$ X,Y,Z
|
||
|
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X,Y,Z
|
||
|
SVar:Y:Count$Valid Permanent.Black+YouCtrl/LimitMax.1
|
||
|
SVar:Z:Count$Valid Permanent.Red+YouCtrl/LimitMax.1
|
||
|
SVar:X:SVar$Y/Plus.Z
|
||
|
SVar:RemRandomDeck:True
|
||
|
DeckHints:Color$Black|Red
|
||
|
SVar:Picture:http://wizards.com/global/images/magic/general/dega_sanctuary.jpg
|
||
|
Oracle:At the beginning of your upkeep, if you control a black or red permanent, you gain 2 life. If you control a black permanent and a red permanent, you gain 4 life instead.
|