- Added the optional parameter "GainControl" to AF DigUntil.

- Fixed Telemin Performance.
This commit is contained in:
Sloth
2011-12-21 10:54:04 +00:00
parent 9b4a2e5a22
commit 492bb2fb4a
2 changed files with 7 additions and 4 deletions

View File

@@ -2,9 +2,7 @@ Name:Telemin Performance
ManaCost:3 U U
Types:Sorcery
Text:no text
A:SP$ DigUntil | Cost$ 3 U U | ValidTgts$ Opponent | Valid$ Creature | ValidDescription$ creature | FoundDestination$ Battlefield | RevealedDestination$ Graveyard | RememberFound$ True | SubAbility$ DBControl | SpellDescription$ Target opponent reveals cards from the top of his or her library until he or she reveals a creature card. That player puts all noncreature cards revealed this way into his or her graveyard, then you put the creature card onto the battlefield under your control.
SVar:DBControl:DB$ GainControl | Defined$ Remembered | NewController$ You | SubAbility$ DBCleanup
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
A:SP$ DigUntil | Cost$ 3 U U | ValidTgts$ Opponent | Valid$ Creature | ValidDescription$ creature | FoundDestination$ Battlefield | RevealedDestination$ Graveyard | RememberFound$ True | GainControl$ True | SpellDescription$ Target opponent reveals cards from the top of his or her library until he or she reveals a creature card. That player puts all noncreature cards revealed this way into his or her graveyard, then you put the creature card onto the battlefield under your control.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/telemin_performance.jpg
SetInfo:CFX|Rare|http://magiccards.info/scans/en/cfx/35.jpg

View File

@@ -967,7 +967,12 @@ public final class AbilityFactoryReveal {
final Iterator<Card> itr = found.iterator();
while (itr.hasNext()) {
final Card c = itr.next();
if (params.containsKey("GainControl") && foundDest.equals(Zone.Battlefield)) {
c.addController(af.getHostCard());
AllZone.getGameAction().moveTo(c.getController().getZone(foundDest), c);
} else {
AllZone.getGameAction().moveTo(foundDest, c, foundLibPos);
}
revealed.remove(c);
}
}