mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
remove unnecessary stringbuilder usage
This commit is contained in:
parent
a3d4293e0d
commit
ea843c1bb9
1 changed files with 2 additions and 6 deletions
|
|
@ -34,12 +34,8 @@ public class SpellsCostReductionControllerEffect extends CostModificationEffectI
|
|||
this.amount = 0;
|
||||
this.manaCostsToReduce = manaCostsToReduce;
|
||||
this.upTo = false;
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(filter.getMessage()).append(" you cast cost ");
|
||||
sb.append(manaCostsToReduce.getText());
|
||||
sb.append(" less to cast. This effect reduces only the amount of colored mana you pay.");
|
||||
this.staticText = sb.toString();
|
||||
this.staticText = filter.getMessage() + " you cast cost " + manaCostsToReduce.getText() +
|
||||
" less to cast. This effect reduces only the amount of colored mana you pay.";
|
||||
}
|
||||
|
||||
public SpellsCostReductionControllerEffect(FilterCard filter, int amount) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue