From 2022d6d4743a72e14d0f5bc40ee388345ce1351c Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 21:46:18 +0000 Subject: [PATCH] - Converted Convalescent Care to trigger and AF. --- res/cardsfolder/convalescent_care.txt | 5 ++++- src/forge/GameActionUtil.java | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/res/cardsfolder/convalescent_care.txt b/res/cardsfolder/convalescent_care.txt index 7e69421f1f4..d16abddb673 100644 --- a/res/cardsfolder/convalescent_care.txt +++ b/res/cardsfolder/convalescent_care.txt @@ -1,7 +1,10 @@ Name:Convalescent Care ManaCost:1 W W Types:Enchantment -Text:At the beginning of your upkeep, if you have 5 life or less, you gain 3 life and draw a card. +Text:no text +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | LifeTotal$ You | LifeAmount$ LE5 | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your upkeep, if you have 5 life or less, you gain 3 life and draw a card. +SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 3 | SubAbility$ SVar=DBDraw +SVar:DBDraw:DB$Draw | NumCards$ 1 | SpellDescription$ Draw a card. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/convalescent_care.jpg SetInfo:ONS|Rare|http://magiccards.info/scans/en/on/14.jpg diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 50c9ef31be9..711c0493f67 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -90,7 +90,7 @@ public class GameActionUtil { upkeep_Felidar_Sovereign(); // upkeep_Convalescence(); - upkeep_Convalescent_Care(); + // upkeep_Convalescent_Care(); upkeep_Ancient_Runes(); upkeep_Karma(); upkeep_Oath_of_Druids(); @@ -4437,6 +4437,7 @@ public class GameActionUtil { }// upkeep_Convalescence() */ + /* Converted to trigger and AF private static void upkeep_Convalescent_Care() { final Player player = AllZone.Phase.getPlayerTurn(); PlayerZone playZone = AllZone.getZone(Constant.Zone.Battlefield, player); @@ -4468,6 +4469,7 @@ public class GameActionUtil { }// for }// upkeep_Convalescence_Care() + */ private static void upkeep_Dega_Sanctuary() { final Player player = AllZone.Phase.getPlayerTurn();