From 8c9ecb9b9ab74252bed5e02e23647fc844a70286 Mon Sep 17 00:00:00 2001 From: xenohedron Date: Thu, 7 Sep 2023 00:55:09 -0400 Subject: [PATCH] adjust Cascade ability reminder text --- .../mage/abilities/keyword/CascadeAbility.java | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/Mage/src/main/java/mage/abilities/keyword/CascadeAbility.java b/Mage/src/main/java/mage/abilities/keyword/CascadeAbility.java index 3fbb407c273..2c15e7fce55 100644 --- a/Mage/src/main/java/mage/abilities/keyword/CascadeAbility.java +++ b/Mage/src/main/java/mage/abilities/keyword/CascadeAbility.java @@ -50,12 +50,11 @@ public class CascadeAbility extends TriggeredAbilityImpl { // can't use singletone due rules: // 702.84c If a spell has multiple instances of cascade, each triggers separately. - private static final String REMINDERTEXT = " (When you cast this spell, " - + "exile cards from the top of your library until you exile a " - + "nonland card whose mana value is less than this spell's mana value. " - + "You may cast that spell without paying its mana cost " - + "if its mana value is less than this spell's mana value. " - + "Then put all cards exiled this way that weren't cast on the bottom of your library in a random order.)"; + + private static final String rule = "cascade"; + private static final String ruleReminder = "cascade (When you cast this spell, exile cards from the top of your library " + + "until you exile a nonland card that costs less. You may cast it without paying its mana cost. " + + "Put the exiled cards on the bottom of your library in a random order.)"; private final boolean withReminder; public CascadeAbility() { @@ -86,11 +85,7 @@ public class CascadeAbility extends TriggeredAbilityImpl { @Override public String getRule() { - StringBuilder sb = new StringBuilder("cascade"); - if (withReminder) { - sb.append(REMINDERTEXT); - } - return sb.toString(); + return withReminder ? ruleReminder : rule; } @Override