szats_will.txt

This commit is contained in:
Northmoc
2020-10-29 20:11:04 -04:00
parent e7854ab069
commit 0ffc6be2cd

View File

@@ -0,0 +1,15 @@
Name:Szat's Will
ManaCost:4 B
Types:Instant
A:SP$ Charm | Cost$ 4 B | MinCharmNum$ 1 | CharmNum$ X | References$ X | Choices$ DBOppSac,DBExile | AdditionalDescription$ If you control a commander as you cast this spell, you may choose both.
SVar:DBOppSac:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBChooseCard | SubAbility$ DBSac | SpellDescription$ Each opponent sacrifices a creature they control with the greatest power.
SVar:DBChooseCard:DB$ ChooseCard | Defined$ Player.IsRemembered | Choices$ Creature.greatestPowerControlledByRemembered | ChoiceTitle$ Choose a creature you control with the greatest power | Mandatory$ True | RememberChosen$ True
SVar:DBSac:DB$ SacrificeAll | ValidCards$ Card.IsRemembered | SubAbility$ DBCleanup | StackDescription$ None
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosenCard$ True | ClearImprinted$ True
SVar:DBExile:DB$ ChangeZoneAll | ChangeType$ Card.OppCtrl | Origin$ Graveyard | Destination$ Exile | RememberChanged$ True | SubAbility$ DBToken | SpellDescription$ Exile all cards from all opponents' graveyards, then create X 0/1 black Thrull creature tokens, where X is the greatest power among creature cards exiled this way.
SVar:DBToken:DB$ Token | TokenScript$ b_0_1_thrull | TokenAmount$ Z | References$ Z | SubAbility$ DBCleanup
SVar:X:Count$Compare Y GE1.2.1
SVar:Y:Count$Valid Card.IsCommander+YouCtrl
SVar:Z:Count$GreatestPowerExile_Creature.IsRemembered
DeckHas:Ability$Token
Oracle:Choose one. If you control a commander as you cast this spell, you may choose both.\n• Each opponent sacrifices a creature they control with the greatest power.\n• Exile all cards from all opponents' graveyards, then create X 0/1 black Thrull creature tokens, where X is the greatest power among creature cards exiled this way.