forked from External/mage
Fixed a bug in AddCountersSourceEffect.
This commit is contained in:
parent
07519d61a9
commit
0eb8ba615e
2 changed files with 2 additions and 2 deletions
|
|
@ -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"));
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue