- Added an optional "Shuffle" parameter to AF DigUntil and fixed Polymorph.

This commit is contained in:
Sloth
2011-11-07 17:21:49 +00:00
parent 7ba0c51282
commit f0cfa7fb69
2 changed files with 17 additions and 13 deletions

View File

@@ -3,7 +3,7 @@ ManaCost:3 U
Types:Sorcery Types:Sorcery
Text:no text 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. 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:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/polymorph.jpg 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. 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.

View File

@@ -947,6 +947,10 @@ public final class AbilityFactoryReveal {
final Card c = itr.next(); final Card c = itr.next();
AllZone.getGameAction().moveTo(revealedDest, c, revealedLibPos); AllZone.getGameAction().moveTo(revealedDest, c, revealedLibPos);
} }
if(params.containsKey("Shuffle")) {
p.shuffle();
}
} // end foreach player } // end foreach player
} }
} // end resolve } // end resolve