From 8aa89ff8dbc8b82a3ca05fb25035f89238abe9a6 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 06:01:46 +0000 Subject: [PATCH] - Minor edit to spBounceTgt. Added a space between buyback cost and the description. Used StringBuilder to build the spell description. --- src/forge/CardFactory.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/forge/CardFactory.java b/src/forge/CardFactory.java index ee67e4f6ac3..b31e80c6183 100644 --- a/src/forge/CardFactory.java +++ b/src/forge/CardFactory.java @@ -2706,14 +2706,18 @@ public class CardFactory implements NewConstants { { SpellAbility bbBnceTgt = spBnceTgt.copy(); bbBnceTgt.setManaCost(CardUtil.addManaCosts(card.getManaCost(), bbCost)); - bbBnceTgt.setDescription("Buyback " + bbCost + "(You may pay an additional " + bbCost + " as you cast this spell. If you do, put this card into your hand as it resolves.)"); + + StringBuilder sb = new StringBuilder(); + sb.append("Buyback ").append(bbCost).append(" (You may pay an additional ").append(bbCost); + sb.append(" as you cast this spell. If you do, put this card into your hand as it resolves.)"); + bbBnceTgt.setDescription(sb.toString()); + // bbBnceTgt.setDescription("Buyback " + bbCost + "(You may pay an additional " + bbCost + " as you cast this spell. If you do, put this card into your hand as it resolves.)"); bbBnceTgt.setIsBuyBackAbility(true); bbBnceTgt.setBeforePayMana(CardFactoryUtil.input_targetValid(bbBnceTgt, Tgts, Selec[0])); card.addSpellAbility(bbBnceTgt); } - }//spBounceTgt // Generic bounce all card