Name:Sword of the Ages
ManaCost:6
Types:Artifact
R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplacementResult$ Updated | ReplaceWith$ ETBTapped | Description$ CARDNAME enters tapped.
SVar:ETBTapped:DB$ Tap | Defined$ Self | ETB$ True
A:AB$ DealDamage | Cost$ T Sac<1/CARDNAME> Sac<X/Creature.Other/creature> | NumDmg$ Y | ValidTgts$ Any | CostDesc$ Sacrifice CARDNAME and any number of creatures you control: | SubAbility$ DBExile | SpellDescription$ CARDNAME deals X damage to any target, where X is the total power of the creatures sacrificed this way, then exile CARDNAME and those creature cards.
SVar:DBExile:DB$ ChangeZone | Defined$ SacrificedCards | Origin$ Graveyard | Destination$ Exile
SVar:X:Count$xPaid
SVar:Y:Sacrificed$CardPower
AI:RemoveDeck:All
Oracle:Sword of the Ages enters tapped.\n{T}, Sacrifice Sword of the Ages and any number of creatures you control: Sword of the Ages deals X damage to any target, where X is the total power of the creatures sacrificed this way, then exile Sword of the Ages and those creature cards.
