- Added Quiet Speculation.

This commit is contained in:
Sloth
2011-09-10 11:03:38 +00:00
parent 09a0315c98
commit 2138b6a35c
3 changed files with 25 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -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

View File

@@ -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

View File

@@ -4958,6 +4958,19 @@ public class Card extends GameEntity implements Comparable<Card> {
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;