From 65606caaff72f98d390020859b421b79ac000a06 Mon Sep 17 00:00:00 2001 From: swordshine Date: Fri, 5 Apr 2013 04:38:57 +0000 Subject: [PATCH] - Vanguard: Frenetic Efreet Avatar - Plane: Windriddle Palaces --- .gitattributes | 2 ++ res/cardsfolder/f/frenetic_efreet_avatar.txt | 11 +++++++++++ res/cardsfolder/w/windriddle_palaces.txt | 11 +++++++++++ .../java/forge/card/cardfactory/CardFactoryUtil.java | 1 + 4 files changed, 25 insertions(+) create mode 100644 res/cardsfolder/f/frenetic_efreet_avatar.txt create mode 100644 res/cardsfolder/w/windriddle_palaces.txt diff --git a/.gitattributes b/.gitattributes index 12a4d57452d..c895456fd14 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3882,6 +3882,7 @@ res/cardsfolder/f/freed_from_the_real.txt svneol=native#text/plain res/cardsfolder/f/freewind_equenaut.txt svneol=native#text/plain res/cardsfolder/f/freewind_falcon.txt svneol=native#text/plain res/cardsfolder/f/frenetic_efreet.txt -text +res/cardsfolder/f/frenetic_efreet_avatar.txt -text res/cardsfolder/f/frenetic_ogre.txt svneol=native#text/plain res/cardsfolder/f/frenetic_raptor.txt svneol=native#text/plain res/cardsfolder/f/frenetic_sliver.txt -text @@ -12194,6 +12195,7 @@ res/cardsfolder/w/winding_canyons.txt -text res/cardsfolder/w/winding_wurm.txt svneol=native#text/plain res/cardsfolder/w/windreaper_falcon.txt svneol=native#text/plain res/cardsfolder/w/windreaver.txt svneol=native#text/plain +res/cardsfolder/w/windriddle_palaces.txt -text res/cardsfolder/w/windrider_eel.txt svneol=native#text/plain res/cardsfolder/w/winds_of_change.txt svneol=native#text/plain res/cardsfolder/w/winds_of_rath.txt svneol=native#text/plain diff --git a/res/cardsfolder/f/frenetic_efreet_avatar.txt b/res/cardsfolder/f/frenetic_efreet_avatar.txt new file mode 100644 index 00000000000..5b8e0574b7f --- /dev/null +++ b/res/cardsfolder/f/frenetic_efreet_avatar.txt @@ -0,0 +1,11 @@ +Name:Frenetic Efreet Avatar +ManaCost:no cost +Types:Vanguard +HandLifeModifier:-1/-3 +S:Mode$ Continuous | EffectZone$ Command | Affected$ Permanent.YouCtrl | AddKeyword$ Phasing | Description$ Each permanent you control has phasing. (It phases in or out before you untap during each of your untap steps. While it's phased out, it's treated as though it doesn't exist.) +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Command | Execute$ TrigFlip | TriggerDescription$ At the beginning of your end step, flip a coin. If you win the flip, take an extra turn after this one. +SVar:TrigFlip:AB$ FlipACoin | Cost$ 0 | Defined$ You | WinSubAbility$ DBAddTurn +SVar:DBAddTurn:DB$ AddTurn | NumTurns$ 1 +SVar:Picture:http://www.cardforge.org/fpics/vgd-lq/frenetic_efreet_avatar.jpg +Oracle:Hand -1, life -3\nEach permanent you control has phasing. (It phases in or out before you untap during each of your untap steps. While it's phased out, it's treated as though it doesn't exist.)\nAt the beginning of your end step, flip a coin. If you win the flip, take an extra turn after this one. +SetInfo:VAN Special \ No newline at end of file diff --git a/res/cardsfolder/w/windriddle_palaces.txt b/res/cardsfolder/w/windriddle_palaces.txt new file mode 100644 index 00000000000..a5e9411b68b --- /dev/null +++ b/res/cardsfolder/w/windriddle_palaces.txt @@ -0,0 +1,11 @@ +Name:Windriddle Palaces +ManaCost:no cost +Types:Plane Belenon +K:Players play with the top card of their libraries revealed. +S:Mode$ Continuous | Affected$ Card.YouOwn+TopLibrary | EffectZone$ Command | AffectedZone$ Library | AddHiddenKeyword$ May be played | Description$ You may play the top card of any player's library. +S:Mode$ Continuous | Affected$ Card.OppOwn+TopLibrary | EffectZone$ Command | AffectedZone$ Library | AddHiddenKeyword$ May be played by your opponent +T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll Chaos, each player puts the top card of his or her library into his or her graveyard. +SVar:RolledChaos:AB$ Mill | Cost$ 0 | NumCards$ 1 | Defined$ Each +SVar:Picture:http://www.wizards.com/global/images/magic/general/windriddle_palaces.jpg +Oracle:Players play with the top card of their libraries revealed.\nYou may play the top card of any player's library.\nWhenever you roll {C}, each player puts the top card of his or her library into his or her graveyard. +SetInfo:PC2 Common \ No newline at end of file diff --git a/src/main/java/forge/card/cardfactory/CardFactoryUtil.java b/src/main/java/forge/card/cardfactory/CardFactoryUtil.java index 8dccd2b289f..64f8178018d 100644 --- a/src/main/java/forge/card/cardfactory/CardFactoryUtil.java +++ b/src/main/java/forge/card/cardfactory/CardFactoryUtil.java @@ -760,6 +760,7 @@ public class CardFactoryUtil { for (final Player opponent : activator.getOpponents()) { cl.addAll(CardFactoryUtil.getActivateablesFromZone(opponent.getZone(ZoneType.Exile), activator)); cl.addAll(CardFactoryUtil.getActivateablesFromZone(opponent.getZone(ZoneType.Graveyard), activator)); + cl.addAll(CardFactoryUtil.getActivateablesFromZone(opponent.getZone(ZoneType.Library), activator)); if (opponent.hasKeyword("Play with your hand revealed.")) { cl.addAll(CardFactoryUtil.getActivateablesFromZone(opponent.getZone(ZoneType.Hand), activator)); }