mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
Merge pull request #1825 from Northmoc/bro_crown
BRO: Transmogrant's Crown and parsing tweaks
This commit is contained in:
@@ -2886,7 +2886,7 @@ public class CardFactoryUtil {
|
||||
abilityStr.append(" ").append(vstr);
|
||||
}
|
||||
Cost cost = new Cost(equipCost, true);
|
||||
if (!cost.isOnlyManaCost() || altCost) { //Something other than a mana cost
|
||||
if (!cost.isOnlyManaCost() || (altCost && extra.contains("<"))) { //Something other than a mana cost
|
||||
abilityStr.append("—");
|
||||
} else {
|
||||
abilityStr.append(" ");
|
||||
|
||||
@@ -882,7 +882,7 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
||||
sb.append(payCosts.toString());
|
||||
sb.append(" or ").append(altOnlyMana ? alternateCost.toString() :
|
||||
StringUtils.uncapitalize(alternateCost.toString()));
|
||||
sb.append(isEquip() ? "." : "");
|
||||
sb.append(isEquip() && !altOnlyMana ? "." : "");
|
||||
} else {
|
||||
sb.append(payCosts.toString());
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
Name:Transmogrant's Crown
|
||||
ManaCost:2
|
||||
Types:Artifact Equipment
|
||||
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 2 | Description$ Equipped creature gets +2/+0.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.EquippedBy | Execute$ TrigDraw | TriggerDescription$ Whenever equipped creature dies, draw a card.
|
||||
SVar:TrigDraw:DB$ Draw
|
||||
K:Equip:2:::AlternateCost$ B
|
||||
Oracle:Equipped creature gets +2/+0.\nWhenever equipped creature dies, draw a card.\nEquip {2} or {B}
|
||||
Reference in New Issue
Block a user