mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Added an optional "Shuffle" parameter to AF DigUntil and fixed Polymorph.
This commit is contained in:
@@ -3,7 +3,7 @@ ManaCost:3 U
|
||||
Types:Sorcery
|
||||
Text:no text
|
||||
A:SP$ Destroy | Cost$ 3 U | NoRegen$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBDig | SpellDescription$ Destroy target creature. It can't be regenerated. Its controller reveals cards from the top of his or her library until he or she reveals a creature card. The player puts that card onto the battlefield, then shuffles all other cards revealed this way into his or her library.
|
||||
SVar:DBDig:DB$ DigUntil | Defined$ TargetedController | Valid$ Creature | ValidDescription$ creature | FoundDestination$ Battlefield | RevealedDestination$ Library
|
||||
SVar:DBDig:DB$ DigUntil | Defined$ TargetedController | Valid$ Creature | ValidDescription$ creature | FoundDestination$ Battlefield | RevealedDestination$ Library | Shuffle$ True
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/polymorph.jpg
|
||||
Oracle:Destroy target creature. It can't be regenerated. Its controller reveals cards from the top of his or her library until he or she reveals a creature card. The player puts that card onto the battlefield, then shuffles all other cards revealed this way into his or her library.
|
||||
|
||||
@@ -947,6 +947,10 @@ public final class AbilityFactoryReveal {
|
||||
final Card c = itr.next();
|
||||
AllZone.getGameAction().moveTo(revealedDest, c, revealedLibPos);
|
||||
}
|
||||
|
||||
if(params.containsKey("Shuffle")) {
|
||||
p.shuffle();
|
||||
}
|
||||
} // end foreach player
|
||||
}
|
||||
} // end resolve
|
||||
|
||||
Reference in New Issue
Block a user