mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added the optional parameter "GainControl" to AF DigUntil.
- Fixed Telemin Performance.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -967,7 +967,12 @@ public final class AbilityFactoryReveal {
|
||||
final Iterator<Card> itr = found.iterator();
|
||||
while (itr.hasNext()) {
|
||||
final Card c = itr.next();
|
||||
AllZone.getGameAction().moveTo(foundDest, c, foundLibPos);
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user