mtg-forge-ios/forge-gui/res/cardsfolder/c/choice_of_damnations.txt

15 lines
1.1 KiB
Plaintext
Raw Normal View History

Name:Choice of Damnations
ManaCost:5 B
Types:Sorcery Arcane
A:SP$ ChooseNumber | Cost$ 5 B | ValidTgts$ Opponent | AILogic$ Damnation | Notify$ True | SubAbility$ DBChoice | SpellDescription$ Target opponent chooses a number. You may have that player lose that much life. If you don't, that player sacrifices all but that many permanents.
SVar:DBChoice:DB$ GenericChoice | Choices$ DBLoseLife,DBSac
SVar:DBLoseLife:DB$ LoseLife | Defined$ ParentTarget | LifeAmount$ X | References$ X | SpellDescription$ That player lose that much life.
SVar:DBSac:DB$ Sacrifice | Defined$ ParentTarget | SacValid$ Permanent | Amount$ Y | References$ X,Y,Z,W | SpellDescription$ That player sacrifices all but that many permanents.
SVar:X:Count$ChosenNumber
SVar:Y:SVar$W/LimitMin.0
SVar:W:SVar$Z/Minus.X
SVar:Z:Count$Valid Permanent.TargetedPlayerCtrl
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/choice_of_damnations.jpg
Oracle:Target opponent chooses a number. You may have that player lose that much life. If you don't, that player sacrifices all but that many permanents.