mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
CostExile: fixed exile cost with mana value X
This commit is contained in:
@@ -141,7 +141,9 @@ public class CostExile extends CostPartWithList {
|
||||
return list.contains(source);
|
||||
}
|
||||
|
||||
list = CardLists.getValidCards(list, type.split(";"), payer, source, ability);
|
||||
if (!type.contains("X")) {
|
||||
list = CardLists.getValidCards(list, type.split(";"), payer, source, ability);
|
||||
}
|
||||
|
||||
final Integer amount = this.convertAmount();
|
||||
if ((amount != null) && (list.size() < amount)) {
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Legendary Creature Giant Artificer
|
||||
PT:4/4
|
||||
K:Vigilance
|
||||
A:AB$ Pump | Cost$ 1 Sac<1/Artifact> | NumAtt$ +2 | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SpellDescription$ Target creature you control gets +2/+0 until end of turn.
|
||||
A:AB$ CopyPermanent | Cost$ T Mana<X\Exiled> ExileFromGrave<1/Artifact> | Defined$ Exiled | NumCopies$ 2 | SorcerySpeed$ True | StackDescription$ SpellDescription | SpellDescription$ Create two tokens that are copies of the exiled card. Activate only as a sorcery.
|
||||
A:AB$ CopyPermanent | Cost$ X T ExileFromGrave<1/Artifact.cmcEQX/artifact card with mana value X> | Defined$ Exiled | NumCopies$ 2 | SorcerySpeed$ True | StackDescription$ SpellDescription | SpellDescription$ Create two tokens that are copies of the exiled card. Activate only as a sorcery.
|
||||
SVar:X:Count$xPaid
|
||||
DeckHas:Ability$Token
|
||||
DeckHints:Type$Artifact
|
||||
|
||||
Reference in New Issue
Block a user