mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38: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
|
ManaCost:3 U U
|
||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
Text:no text
|
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.
|
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:DBControl:DB$ GainControl | Defined$ Remembered | NewController$ You | SubAbility$ DBCleanup
|
|
||||||
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
|
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/telemin_performance.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/telemin_performance.jpg
|
||||||
SetInfo:CFX|Rare|http://magiccards.info/scans/en/cfx/35.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();
|
final Iterator<Card> itr = found.iterator();
|
||||||
while (itr.hasNext()) {
|
while (itr.hasNext()) {
|
||||||
final Card c = itr.next();
|
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);
|
revealed.remove(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user