mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Gilt-Leaf Archdruid converted to triggers
This commit is contained in:
@@ -3,6 +3,8 @@ ManaCost:3 G G
|
|||||||
Types:Creature Elf Druid
|
Types:Creature Elf Druid
|
||||||
Text:Whenever you cast a Druid spell, you may draw a card.
|
Text:Whenever you cast a Druid spell, you may draw a card.
|
||||||
PT:3/3
|
PT:3/3
|
||||||
|
T:Mode$SpellCast | ValidCard$ Card.Druid+YouCtrl | Execute$ TrigDraw | TriggerZones$ Battlefield | Optional$ True | TriggerDescription$ Whenever you cast a Druid spell, you may draw a card.
|
||||||
|
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/gilt_leaf_archdruid.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/gilt_leaf_archdruid.jpg
|
||||||
SetInfo:MOR|Rare|http://magiccards.info/scans/en/mt/124.jpg
|
SetInfo:MOR|Rare|http://magiccards.info/scans/en/mt/124.jpg
|
||||||
|
|||||||
@@ -502,7 +502,6 @@ public class GameActionUtil {
|
|||||||
playCard_Gelectrode(c);
|
playCard_Gelectrode(c);
|
||||||
playCard_Standstill(c);
|
playCard_Standstill(c);
|
||||||
playCard_SolKanar(c);
|
playCard_SolKanar(c);
|
||||||
playCard_Gilt_Leaf_Archdruid(c);
|
|
||||||
playCard_Reki(c);
|
playCard_Reki(c);
|
||||||
playCard_Vedalken_Archmage(c);
|
playCard_Vedalken_Archmage(c);
|
||||||
playCard_Sigil_of_the_Empty_Throne(c);
|
playCard_Sigil_of_the_Empty_Throne(c);
|
||||||
@@ -2108,14 +2107,7 @@ public class GameActionUtil {
|
|||||||
}// Gelectrode
|
}// Gelectrode
|
||||||
|
|
||||||
public static void playCard_Forced_Fruition(Card c) {
|
public static void playCard_Forced_Fruition(Card c) {
|
||||||
PlayerZone hplay = AllZone.getZone(Constant.Zone.Battlefield, AllZone.HumanPlayer);
|
CardList list = AllZoneUtil.getCardsInPlay("Forced Fruition");
|
||||||
PlayerZone cplay = AllZone.getZone(Constant.Zone.Battlefield, AllZone.ComputerPlayer);
|
|
||||||
|
|
||||||
CardList list = new CardList();
|
|
||||||
list.addAll(hplay.getCards());
|
|
||||||
list.addAll(cplay.getCards());
|
|
||||||
|
|
||||||
list = list.getName("Forced Fruition");
|
|
||||||
|
|
||||||
for(int i = 0; i < list.size(); i++) {
|
for(int i = 0; i < list.size(); i++) {
|
||||||
final Card card = list.get(i);
|
final Card card = list.get(i);
|
||||||
@@ -2255,32 +2247,6 @@ public class GameActionUtil {
|
|||||||
}// playCard_Enchantress_Draw()
|
}// playCard_Enchantress_Draw()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public static void playCard_Gilt_Leaf_Archdruid(Card c) {
|
|
||||||
CardList list = AllZoneUtil.getPlayerCardsInPlay(c.getController(), "Gilt-Leaf Archdruid");
|
|
||||||
|
|
||||||
if(c.getType().contains("Druid") || c.getKeyword().contains("Changeling")) {
|
|
||||||
for(int i = 0; i < list.size(); i++) {
|
|
||||||
final Card card = list.get(0);
|
|
||||||
|
|
||||||
Ability ability2 = new Ability(card, "0") {
|
|
||||||
@Override
|
|
||||||
public void resolve() {
|
|
||||||
// draws a card
|
|
||||||
card.getController().drawCard();
|
|
||||||
}
|
|
||||||
}; // ability2
|
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
sb.append(card.getName()).append(" - ").append(c.getController());
|
|
||||||
sb.append(" plays a Druid spell and draws a card");
|
|
||||||
ability2.setStackDescription(sb.toString());
|
|
||||||
|
|
||||||
AllZone.Stack.add(ability2);
|
|
||||||
|
|
||||||
} // for
|
|
||||||
}// if druid
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void playCard_Reki(Card c) {
|
public static void playCard_Reki(Card c) {
|
||||||
CardList list = AllZoneUtil.getPlayerCardsInPlay(c.getController(), "Reki, the History of Kamigawa");
|
CardList list = AllZoneUtil.getPlayerCardsInPlay(c.getController(), "Reki, the History of Kamigawa");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user