From bb659d39db64bacc65a43c6cde207fb3cb939c3c Mon Sep 17 00:00:00 2001 From: Hythonia Date: Mon, 12 Apr 2021 09:46:27 +0200 Subject: [PATCH] ManaConvert keyword display --- forge-game/src/main/java/forge/game/card/Card.java | 3 +++ forge-gui/res/cardsfolder/m/manascape_refractor.txt | 3 +-- forge-gui/res/cardsfolder/q/quicksilver_elemental.txt | 5 ++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/forge-game/src/main/java/forge/game/card/Card.java b/forge-game/src/main/java/forge/game/card/Card.java index 87f644cce74..66bda085bc8 100644 --- a/forge-game/src/main/java/forge/game/card/Card.java +++ b/forge-game/src/main/java/forge/game/card/Card.java @@ -1915,6 +1915,9 @@ public class Card extends GameEntity implements Comparable, IHasSVars { s.append(" on it."); } sbLong.append(s).append("\r\n"); + } else if (keyword.startsWith("ManaConvert")) { + final String[] k = keyword.split(":"); + sbLong.append(k[2]).append("\r\n"); } else if (keyword.startsWith("Protection:") || keyword.startsWith("DeckLimit")) { final String[] k = keyword.split(":"); sbLong.append(k[2]).append("\r\n"); diff --git a/forge-gui/res/cardsfolder/m/manascape_refractor.txt b/forge-gui/res/cardsfolder/m/manascape_refractor.txt index ccfa79ecc3e..fca84714a4b 100755 --- a/forge-gui/res/cardsfolder/m/manascape_refractor.txt +++ b/forge-gui/res/cardsfolder/m/manascape_refractor.txt @@ -2,8 +2,7 @@ Name:Manascape Refractor ManaCost:3 Types:Artifact K:CARDNAME enters the battlefield tapped. -K:ManaConvert:AnyType->AnyColor +K:ManaConvert:AnyType->AnyColor:You may spend mana as though it were mana of any color to pay the activation costs of CARDNAME's abilities. S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ Battlefield | GainsAbilitiesOf$ Land | Description$ CARDNAME has all activated abilities of all lands on the battlefield. -Text:You may spend mana as though it were mana of any color to pay the activation costs of CARDNAME's abilities. AI:RemoveDeck:All Oracle:Manascape Refractor enters the battlefield tapped.\nManascape Refractor has all activated abilities of all lands on the battlefield.\nYou may spend mana as though it were mana of any color to pay the activation costs of Manascape Refractor's abilities. diff --git a/forge-gui/res/cardsfolder/q/quicksilver_elemental.txt b/forge-gui/res/cardsfolder/q/quicksilver_elemental.txt index 71bc16bee19..7ad2d66ebed 100644 --- a/forge-gui/res/cardsfolder/q/quicksilver_elemental.txt +++ b/forge-gui/res/cardsfolder/q/quicksilver_elemental.txt @@ -2,9 +2,8 @@ Name:Quicksilver Elemental ManaCost:3 U U Types:Creature Elemental PT:3/4 -K:ManaConvert:U->AnyColor -Text:You may spend blue mana as though it were mana of any color to pay the activation costs of CARDNAME's abilities. +K:ManaConvert:U->AnyColor:You may spend blue mana as though it were mana of any color to pay the activation costs of CARDNAME's abilities. A:AB$ Effect | Cost$ U | ValidTgts$ Creature | TgtZone$ Battlefield | TgtPrompt$ Select target creature card | StaticAbilities$ STSteal | RememberObjects$ Targeted | SpellDescription$ CARDNAME gains all activated abilities of target creature until end of turn. -SVar:STSteal:Mode$ Continuous | Affected$ EffectSource | EffectZone$ Command | GainsAbilitiesOfDefined$ RememberedLKI | Description$ Quicksilver Elemental gains all activated abilities of that card until end of turn. +SVar:STSteal:Mode$ Continuous | Affected$ Card.EffectSource | EffectZone$ Command | GainsAbilitiesOfDefined$ RememberedLKI | Description$ Quicksilver Elemental gains all activated abilities of that card until end of turn. AI:RemoveDeck:All Oracle:{U}: Quicksilver Elemental gains all activated abilities of target creature until end of turn. (If any of the abilities use that creature's name, use this creature's name instead.)\nYou may spend blue mana as though it were mana of any color to pay the activation costs of Quicksilver Elemental's abilities.