mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Added Perplex
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
8
res/cardsfolder/p/perplex.txt
Normal file
8
res/cardsfolder/p/perplex.txt
Normal file
@@ -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
|
||||
@@ -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))) {
|
||||
|
||||
Reference in New Issue
Block a user