- Added Worldheart Phoenix (CFX set is 100%)

This commit is contained in:
swordshine
2013-04-17 04:54:17 +00:00
parent db2327557f
commit 6e8a4f70bc
4 changed files with 18 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -12359,6 +12359,7 @@ res/cardsfolder/w/workhorse.txt svneol=native#text/plain
res/cardsfolder/w/world_queller.txt -text
res/cardsfolder/w/worldfire.txt -text
res/cardsfolder/w/worldgorger_dragon.txt svneol=native#text/plain
res/cardsfolder/w/worldheart_phoenix.txt -text
res/cardsfolder/w/worldly_counsel.txt svneol=native#text/plain
res/cardsfolder/w/worldly_tutor.txt svneol=native#text/plain
res/cardsfolder/w/worldpurge.txt -text

View File

@@ -0,0 +1,10 @@
Name:Worldheart Phoenix
ManaCost:3 R
Types:Creature Phoenix
PT:2/2
K:Flying
SVar:AltCost:Cost$ W U B R G | ActivationZone$ Graveyard | Description$ You may cast CARDNAME from graveyard by paying W U B R G rather than paying its mana cost. If you do, it enters the battlefield with two +1/+1 counters on it.
K:etbCounter:P1P1:2:AltCost$ True:no desc
SVar:Picture:http://www.wizards.com/global/images/magic/general/worldheart_phoenix.jpg
Oracle:Flying\nYou may cast Worldheart Phoenix from your graveyard by paying {W}{U}{B}{R}{G} rather than paying its mana cost. If you do, it enters the battlefield with two +1/+1 counters on it.
SetInfo:CFX Rare

View File

@@ -12,6 +12,7 @@ import forge.GameEntity;
import forge.Singletons;
import forge.card.ability.AbilityUtils;
import forge.card.cardfactory.CardFactoryUtil;
import forge.card.spellability.OptionalCost;
import forge.card.spellability.SpellAbility;
import forge.game.player.Player;
import forge.game.zone.Zone;
@@ -320,6 +321,11 @@ public abstract class TriggerReplacementBase {
return false;
}
}
if (params.containsKey("AltCost")) {
if (!this.getHostCard().isOptionalCostPaid(OptionalCost.AltCost)) {
return false;
}
}
return true;
}

View File

@@ -2829,7 +2829,7 @@ public class CardFactoryUtil {
}
}
if (splitkw.length > 4) {
desc = splitkw[4];
desc = !splitkw[4].equals("no desc") ? splitkw[4] : "";
}
String abStr = "AB$ ChangeZone | Cost$ 0 | Hidden$ True | Origin$ All | Destination$ Battlefield"
+ "| Defined$ ReplacedCard | SubAbility$ ETBCounterDBSVar";