mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
allow Clue Sac cost to use more generic formatting (match Oracle)
This commit is contained in:
@@ -81,7 +81,8 @@ public class CostSacrifice extends CostPartWithList {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (payCostFromSource()) {
|
if (payCostFromSource()) {
|
||||||
sb.append(getType());
|
sb.append(getTypeDescription() == null || !getTypeDescription().startsWith("this")
|
||||||
|
? getType() : getTypeDescription());
|
||||||
} else if (getAmount().equals("X")) {
|
} else if (getAmount().equals("X")) {
|
||||||
String typeDesc = getType().toLowerCase().replace(";","s and/or ");
|
String typeDesc = getType().toLowerCase().replace(";","s and/or ");
|
||||||
sb.append("any number of ").append(typeDesc).append("s");
|
sb.append("any number of ").append(typeDesc).append("s");
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
Name:Clue
|
Name:Clue
|
||||||
ManaCost:no cost
|
ManaCost:no cost
|
||||||
Types:Artifact Clue
|
Types:Artifact Clue
|
||||||
A:AB$ Draw | Cost$ 2 Sac<1/CARDNAME> | NumCards$ 1 | SpellDescription$ Draw a card.
|
A:AB$ Draw | Cost$ 2 Sac<1/CARDNAME/this artifact> | NumCards$ 1 | SpellDescription$ Draw a card.
|
||||||
Oracle:{2}, Sacrifice this artifact: Draw a card.
|
Oracle:{2}, Sacrifice this artifact: Draw a card.
|
||||||
|
|||||||
Reference in New Issue
Block a user