Fixed a bug in AddCountersSourceEffect.

This commit is contained in:
LevelX2 2012-11-30 09:55:38 +01:00
parent 07519d61a9
commit 0eb8ba615e
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ public class JoragaWarcaller extends CardImpl<JoragaWarcaller> {
// Joraga Warcaller enters the battlefield with a +1/+1 counter on it for each time it was kicked.
this.addAbility(new EntersBattlefieldAbility(
new AddCountersSourceEffect(CounterType.P1P1.createInstance(1), new MultikickerCount(), true),
new AddCountersSourceEffect(CounterType.P1P1.createInstance(0), new MultikickerCount(), true),
"with a +1/+1 counter on it for each time it was kicked"));

View file

@ -85,7 +85,7 @@ public class AddCountersSourceEffect extends OneShotEffect<AddCountersSourceEffe
if (counter != null) {
Counter newCounter = counter.copy();
newCounter.add(amount.calculate(game, source));
permanent.addCounters(counter.copy(), game);
permanent.addCounters(newCounter, game);
if (informPlayers) {
Player player = game.getPlayer(source.getControllerId());
if (player != null) {