mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-12-25 21:17:12 +01:00
15 lines
1.1 KiB
Plaintext
15 lines
1.1 KiB
Plaintext
|
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.
|