From a7dcc3acfa93080364e8a174172a8556162f7289 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Fri, 31 Dec 2010 10:03:39 +0300 Subject: [PATCH] fixed add counters effect string description (null name if Counter is used, and no space for "put 3 Chargecounters") --- .../mage/abilities/effects/common/AddCountersSourceEffect.java | 2 +- .../mage/abilities/effects/common/AddCountersTargetEffect.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage/src/mage/abilities/effects/common/AddCountersSourceEffect.java b/Mage/src/mage/abilities/effects/common/AddCountersSourceEffect.java index 1e9a8b0b04e..2686defc89c 100644 --- a/Mage/src/mage/abilities/effects/common/AddCountersSourceEffect.java +++ b/Mage/src/mage/abilities/effects/common/AddCountersSourceEffect.java @@ -74,7 +74,7 @@ public class AddCountersSourceEffect extends OneShotEffect 1) { StringBuilder sb = new StringBuilder(); - sb.append("put ").append(Integer.toString(amount)).append(" ").append(name).append("counters on {this}"); + sb.append("put ").append(Integer.toString(amount)).append(" ").append(name).append(" counters on {this}"); return sb.toString(); } else return "put a " + name + " counter on {this}"; diff --git a/Mage/src/mage/abilities/effects/common/AddCountersTargetEffect.java b/Mage/src/mage/abilities/effects/common/AddCountersTargetEffect.java index db5a1aefc32..9ea27b27a88 100644 --- a/Mage/src/mage/abilities/effects/common/AddCountersTargetEffect.java +++ b/Mage/src/mage/abilities/effects/common/AddCountersTargetEffect.java @@ -53,6 +53,7 @@ public class AddCountersTargetEffect extends OneShotEffect