mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
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:
parent
52fa369024
commit
1a2724c9b2
2 changed files with 1 additions and 19 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue