forked from External/mage
adjust Cascade ability reminder text
This commit is contained in:
parent
1e834368af
commit
8c9ecb9b9a
1 changed files with 6 additions and 11 deletions
|
|
@ -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 = " <i>(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.)</i>";
|
||||
|
||||
private static final String rule = "cascade";
|
||||
private static final String ruleReminder = "cascade <i>(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.)</i>";
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue