Revert: Fix planeswalker loyalty counters.

This change was incorrect.

Gatherer Ruling:
10/1/2005: Planeswalkers will enter the battlefield with double the normal amount of loyalty counters. However, if you activate an ability whose cost has you put loyalty counters on a planeswalker, the number you put on isn’t doubled. This is because those counters are put on as a cost, not as an effect.
This commit is contained in:
Justin Herlehy 2017-03-09 01:14:10 -08:00
parent 52fa369024
commit 1a2724c9b2
2 changed files with 1 additions and 19 deletions

View file

@ -68,7 +68,7 @@ public class PayLoyaltyCost extends CostImpl {
Permanent planeswalker = game.getPermanent(sourceId);
if (planeswalker != null && planeswalker.getCounters(game).getCount(CounterType.LOYALTY) + amount >= 0 && planeswalker.canLoyaltyBeUsed(game)) {
if (amount > 0) {
planeswalker.addCounters(CounterType.LOYALTY.createInstance(amount), ability, game, null);
planeswalker.getCounters(game).addCounter(CounterType.LOYALTY.createInstance(amount));
} else if (amount < 0) {
planeswalker.removeCounters(CounterType.LOYALTY.getName(), Math.abs(amount), game);
}