mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added Worldheart Phoenix (CFX set is 100%)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
10
res/cardsfolder/w/worldheart_phoenix.txt
Normal file
10
res/cardsfolder/w/worldheart_phoenix.txt
Normal 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
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user