diff --git a/.gitattributes b/.gitattributes index 93557ed5a25..01fd07fad14 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7676,6 +7676,7 @@ res/cardsfolder/p/perish.txt svneol=native#text/plain res/cardsfolder/p/perish_the_thought.txt svneol=native#text/plain res/cardsfolder/p/permafrost_trap.txt svneol=native#text/plain res/cardsfolder/p/pernicious_deed.txt svneol=native#text/plain +res/cardsfolder/p/perplex.txt -text res/cardsfolder/p/persecute.txt -text res/cardsfolder/p/personal_sanctuary.txt -text res/cardsfolder/p/personal_tutor.txt svneol=native#text/plain diff --git a/res/cardsfolder/p/perplex.txt b/res/cardsfolder/p/perplex.txt new file mode 100644 index 00000000000..9675157a271 --- /dev/null +++ b/res/cardsfolder/p/perplex.txt @@ -0,0 +1,8 @@ +Name:Perplex +ManaCost:1 U B +Types:Instant +K:Transmute:1 U B +A:SP$ Counter | Cost$ 1 U B | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ Discard<0/Hand> | SpellDescription$ Counter target spell unless its controller discards his or her hand. +SVar:Picture:http://www.wizards.com/global/images/magic/general/perplex.jpg +Oracle:Counter target spell unless its controller discards his or her hand.\nTransmute {1}{U}{B} ({1}{U}{B}, Discard this card: Search your library for a card with the same converted mana cost as this card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery.) +SetInfo:RAV Common \ No newline at end of file diff --git a/src/main/java/forge/card/ability/AbilityUtils.java b/src/main/java/forge/card/ability/AbilityUtils.java index f6d3fff3d7e..a7309b534dd 100644 --- a/src/main/java/forge/card/ability/AbilityUtils.java +++ b/src/main/java/forge/card/ability/AbilityUtils.java @@ -1210,6 +1210,7 @@ public class AbilityUtils { && ComputerUtilCost.checkDamageCost(payer, ability.getPayCosts(), source, 4) && ComputerUtilCost.checkDiscardCost(payer, ability.getPayCosts(), source) && (!source.getName().equals("Tyrannize") || payer.getCardsIn(ZoneType.Hand).size() > 2) + && (!source.getName().equals("Perplex") || payer.getCardsIn(ZoneType.Hand).size() < 2) && (!source.getName().equals("Breaking Point") || payer.getCreaturesInPlay().size() > 1) && (!source.getName().equals("Chain of Vapor") || (payer.getOpponent().getCreaturesInPlay().size() > 0 && payer.getLandsInPlay().size() > 3))) {