Name:Revel in Riches
ManaCost:4 B
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.OppCtrl | TriggerZones$ Battlefield | Execute$ DBTreasure | TriggerDescription$ Whenever a creature an opponent controls dies, create a Treasure token.
SVar:DBTreasure:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_treasure_sac | TokenOwner$ You | SpellDescription$ Create a Treasure token.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | PresentCompare$ GE10 | IsPresent$ Treasure.YouCtrl | Execute$ TrigWinsGame | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, if you control ten or more Treasures, you win the game.
SVar:TrigWinsGame:DB$ WinsGame | Defined$ You
DeckHas:Ability$Token
Oracle:Whenever a creature an opponent controls dies, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")\nAt the beginning of your upkeep, if you control ten or more Treasures, you win the game.
