Name:Citadel of Pain
ManaCost:2 R
Types:Enchantment
T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each player's end step, CARDNAME deals X damage to that player, where X is the number of untapped lands they control.
SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X
SVar:X:Count$Valid Land.untapped+ActivePlayerCtrl
S:Mode$ Continuous | Affected$ Land | AddSVar$ AITap
SVar:AITap:SVar:AITapDown:True
AI:RemoveDeck:Random
Oracle:At the beginning of each player's end step, Citadel of Pain deals X damage to that player, where X is the number of untapped lands they control.
