Files
forge/forge-gui/res/cardsfolder/d/doomsday.txt
Agetian b959f61049 - Doomsday search effect should not be optional.
- Temporarily make it impossible to use the new mass selection code with cards that have the ChangeNum parameter on AF ChangeZone because it allows the human to select an arbitrarily small or big amount of cards without any limitation.
2018-03-17 16:32:50 +03:00

14 lines
1.1 KiB
Plaintext

Name:Doomsday
ManaCost:B B B
Types:Sorcery
A:SP$ ChangeZone | Cost$ B B B | Origin$ Graveyard,Library | Destination$ Library | ChangeType$ Card | ChangeNum$ 5 | SubAbility$ DBChangeZone | RememberChanged$ True | Mandatory$ True | SpellDescription$ Search your library and graveyard for five cards and exile the rest. Put the chosen cards on top of your library in any order. You lose half your life, rounded up.
SVar:DBChangeZone:DB$ ChangeZoneAll | Defined$ You | Origin$ Graveyard,Library | Destination$ Exile | ChangeType$ Card.IsNotRemembered | SubAbility$ DBDig
SVar:DBDig:DB$ Dig | DigNum$ X | DestinationZone$ Library | LibraryPosition$ 0 | SubAbility$ DBLoseLife | References$ X
SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ Y | References$ Y | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Count$InYourLibrary
SVar:Y:Count$YourLifeTotal/HalfUp
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/doomsday.jpg
Oracle:Search your library and graveyard for five cards and exile the rest. Put the chosen cards on top of your library in any order. You lose half your life, rounded up.