forked from External/mage
adjust some text, cleanup some variable access
This commit is contained in:
parent
8271686cb4
commit
577a3708fc
9 changed files with 25 additions and 34 deletions
|
|
@ -48,12 +48,8 @@ public class AttacksWithCreaturesTriggeredAbility extends TriggeredAbilityImpl {
|
|||
if (minAttackers == 1 && StaticFilters.FILTER_PERMANENT_CREATURES.equals(filter)) {
|
||||
setTriggerPhrase("Whenever you attack, ");
|
||||
} else {
|
||||
StringBuilder sb = new StringBuilder("Whenever you attack with ");
|
||||
sb.append(CardUtil.numberToText(minAttackers));
|
||||
sb.append(" or more ");
|
||||
sb.append(filter.getMessage());
|
||||
sb.append(", ");
|
||||
setTriggerPhrase(sb.toString());
|
||||
setTriggerPhrase("Whenever you attack with " + CardUtil.numberToText(minAttackers)
|
||||
+ " or more " + filter.getMessage() + ", ");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue