diff --git a/.gitattributes b/.gitattributes index 7cba0f747b2..73525163560 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7929,6 +7929,7 @@ res/cardsfolder/s/seat_of_the_synod.txt svneol=native#text/plain res/cardsfolder/s/secluded_glen.txt svneol=native#text/plain res/cardsfolder/s/secluded_steppe.txt svneol=native#text/plain res/cardsfolder/s/second_chance.txt svneol=native#text/plain +res/cardsfolder/s/second_guess.txt -text res/cardsfolder/s/second_sight.txt svneol=native#text/plain res/cardsfolder/s/second_sunrise.txt -text res/cardsfolder/s/second_thoughts.txt svneol=native#text/plain diff --git a/res/cardsfolder/s/second_guess.txt b/res/cardsfolder/s/second_guess.txt new file mode 100644 index 00000000000..db98cd86d8b --- /dev/null +++ b/res/cardsfolder/s/second_guess.txt @@ -0,0 +1,10 @@ +Name:Second Guess +ManaCost:1 U +Types:Instant +Text:no text +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select second spell cast this turn. | ValidTgts$ Spell.SecondSpellCastThisTurn | SpellDescription$ Counter target spell that's the second spell cast this turn. +SVar:Rarity:Uncommon +SVar:Picture:http://www.wizards.com/global/images/magic/general/second_guess.jpg +SetInfo:AVR|Uncommon|http://magiccards.info/scans/en/avr/74.jpg +Oracle:Counter target spell that's the second spell cast this turn. +End \ No newline at end of file diff --git a/src/main/java/forge/Card.java b/src/main/java/forge/Card.java index a8faf52a712..d989103b23c 100644 --- a/src/main/java/forge/Card.java +++ b/src/main/java/forge/Card.java @@ -6707,6 +6707,15 @@ public class Card extends GameEntity implements Comparable { } } + } else if (property.startsWith("SecondSpellCastThisTurn")) { + final CardList list = CardUtil.getThisTurnCast("Card", source); + if (list.size() < 2) { + return false; + } + else if (list.get(1) != this) { + return false; + } + } else if (property.startsWith("sharesTypeWith")) { if (!this.sharesTypeWith(source)) { return false;