diff --git a/.gitattributes b/.gitattributes index 63c6dd58273..a09d658ccbf 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5910,6 +5910,7 @@ res/cardsfolder/q/quicksilver_gargantuan.txt svneol=native#text/plain res/cardsfolder/q/quicksilver_geyser.txt svneol=native#text/plain res/cardsfolder/q/quicksilver_wall.txt svneol=native#text/plain res/cardsfolder/q/quiet_purity.txt svneol=native#text/plain +res/cardsfolder/q/quiet_speculation.txt -text res/cardsfolder/q/quietus_spike.txt svneol=native#text/plain res/cardsfolder/q/quill_slinger_boggart.txt svneol=native#text/plain res/cardsfolder/q/quilled_slagwurm.txt svneol=native#text/plain diff --git a/res/cardsfolder/q/quiet_speculation.txt b/res/cardsfolder/q/quiet_speculation.txt new file mode 100644 index 00000000000..589f3201182 --- /dev/null +++ b/res/cardsfolder/q/quiet_speculation.txt @@ -0,0 +1,11 @@ +Name:Quiet Speculation +ManaCost:1 U +Types:Sorcery +Text:no text +A:SP$ChangeZone | Cost$ 1 U | Origin$ Library | Destination$ Graveyard | ValidTgts$ Player | ChangeType$ Card.withFlashback | ChangeNum$ 3 | SpellDescription$ Search target player's library for up to three cards with flashback and put them into that player's graveyard. Then the player shuffles his or her library. +SVar:RemAIDeck:True +SVar:Rarity:Uncommon +SVar:Picture:http://www.wizards.com/global/images/magic/general/quiet_speculation.jpg +SetInfo:JUD|Uncommon|http://magiccards.info/scans/en/ju/49.jpg +Oracle:Search target player's library for up to three cards with flashback and put them into that player's graveyard. Then the player shuffles his or her library. +End \ No newline at end of file diff --git a/src/main/java/forge/Card.java b/src/main/java/forge/Card.java index 1bb163caa9e..28742216285 100644 --- a/src/main/java/forge/Card.java +++ b/src/main/java/forge/Card.java @@ -4958,6 +4958,19 @@ public class Card extends GameEntity implements Comparable { if (!dealtDamageToThisTurn.containsKey(source)) return false; } else if (Property.startsWith("SharesColorWith")) { if (!sharesColorWith(source)) return false; + } else if (Property.startsWith("withFlashback")) { + boolean fb = false; + if (hasStartOfUnHiddenKeyword("Flashback")) { + fb = true; + } + for (SpellAbility sa : this.getSpellAbilities()) { + if (sa.isFlashBackAbility()) { + fb = true; + } + } + if (!fb) { + return false; + } } else if (Property.startsWith("with")) // ... Card keywords { if (Property.startsWith("without") && hasStartOfUnHiddenKeyword(Property.substring(7))) return false;