- Allow Vanguard types to take advantage of the Play with the top card of your library revealed

- Add Vampire Nocturnus Avatar
This commit is contained in:
Sol
2013-02-27 04:28:08 +00:00
parent a23aaee600
commit dc0706a673
3 changed files with 10 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -11408,6 +11408,7 @@ res/cardsfolder/v/vampire_interloper.txt -text
res/cardsfolder/v/vampire_lacerator.txt svneol=native#text/plain res/cardsfolder/v/vampire_lacerator.txt svneol=native#text/plain
res/cardsfolder/v/vampire_nighthawk.txt svneol=native#text/plain res/cardsfolder/v/vampire_nighthawk.txt svneol=native#text/plain
res/cardsfolder/v/vampire_nocturnus.txt svneol=native#text/plain res/cardsfolder/v/vampire_nocturnus.txt svneol=native#text/plain
res/cardsfolder/v/vampire_nocturnus_avatar.txt -text
res/cardsfolder/v/vampire_outcasts.txt svneol=native#text/plain res/cardsfolder/v/vampire_outcasts.txt svneol=native#text/plain
res/cardsfolder/v/vampires_bite.txt svneol=native#text/plain res/cardsfolder/v/vampires_bite.txt svneol=native#text/plain
res/cardsfolder/v/vampiric_dragon.txt svneol=native#text/plain res/cardsfolder/v/vampiric_dragon.txt svneol=native#text/plain

View File

@@ -0,0 +1,8 @@
Name:Vampire Nocturnus Avatar
ManaCost:no cost
Types:Vanguard
HandLifeModifier:-1/-2
K:Play with the top card of your library revealed.
S:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.Black+YouCtrl | AddPower$ 2 | AddToughness$ 1 | TopCardOfLibraryIs$ Card.Black | Description$ As long as the top card of your library is black, black creatures you control get +2/+1.
SetInfo:VAN|Special|http://magiccards.info/extras/other/vanguard-mtgo-2/vampire-nocturnus.jpg
Oracle:Hand -1, life -2\nPlay with the top card of your library revealed.\nAs long as the top card of your library is black, black creatures you control get +2/+1.

View File

@@ -341,7 +341,7 @@ public class CardDetailPanel extends FPanel {
if ((card.hasKeyword("Play with the top card of your library revealed.") || card if ((card.hasKeyword("Play with the top card of your library revealed.") || card
.hasKeyword("Players play with the top card of their libraries revealed.")) .hasKeyword("Players play with the top card of their libraries revealed."))
&& (card.getController() != null) && (card.getController() != null)
&& card.isInZone(ZoneType.Battlefield) && (card.isInZone(ZoneType.Battlefield) || (card.isType("Vanguard") && card.isInZone(ZoneType.Command)))
&& !card.getController().getZone(ZoneType.Library).isEmpty()) { && !card.getController().getZone(ZoneType.Library).isEmpty()) {
area.append("\r\nTop card of your library: "); area.append("\r\nTop card of your library: ");
area.append(card.getController().getCardsIn(ZoneType.Library, 1)); area.append(card.getController().getCardsIn(ZoneType.Library, 1));