diff --git a/forge-game/src/main/java/forge/game/cost/CostAdjustment.java b/forge-game/src/main/java/forge/game/cost/CostAdjustment.java index 3ead5f27d1b..c384212499c 100644 --- a/forge-game/src/main/java/forge/game/cost/CostAdjustment.java +++ b/forge-game/src/main/java/forge/game/cost/CostAdjustment.java @@ -337,15 +337,12 @@ public class CostAdjustment { return; } - int value = 0; - if (StringUtils.isNumeric(amount)) { - value = Integer.parseInt(amount); - } else { - if ("Min3".equals(amount)) { - int cmc = manaCost.getConvertedManaCost(); - if (cmc < 3) { - value = 3 - cmc; - } + int value = Integer.parseInt(amount); + + if (staticAbility.hasParam("RaiseTo")) { + int cmc = manaCost.getConvertedManaCost(); + if (cmc < value) { + value = Integer.parseInt(amount) - cmc; } } diff --git a/forge-gui/res/cardsfolder/t/trinisphere.txt b/forge-gui/res/cardsfolder/t/trinisphere.txt index 6324a0c5bdb..9d938295bf4 100644 --- a/forge-gui/res/cardsfolder/t/trinisphere.txt +++ b/forge-gui/res/cardsfolder/t/trinisphere.txt @@ -1,7 +1,7 @@ Name:Trinisphere ManaCost:3 Types:Artifact -S:Mode$ SetCost | ValidCard$ Card | Type$ Spell | Amount$ Min3 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ As long as CARDNAME is untapped, each spell that would cost less than three mana to cast costs three mana to cast. +S:Mode$ SetCost | ValidCard$ Card | Type$ Spell | Amount$ 3 | RaiseTo$ True | CheckSVar$ X | SVarCompare$ EQ1 | Description$ As long as CARDNAME is untapped, each spell that would cost less than three mana to cast costs three mana to cast. SVar:X:Count$Valid Card.Self+untapped AI:RemoveDeck:Random SVar:NonStackingEffect:True