Name:Dega Sanctuary
ManaCost:2 W
Types:Enchantment
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Permanent.YouCtrl+Black,Permanent.YouCtrl+Red | 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:DB$ GainLife | Defined$ You | LifeAmount$ L
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:L:Count$Compare X EQ2.4.2
DeckHas:Ability$LifeGain
DeckNeeds:Color$Black|Red
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.
