- Fixed AddCounter costs with amount of 0.

This commit is contained in:
Sloth
2013-07-26 05:57:38 +00:00
parent 10a83ed994
commit 87ffcf737f

View File

@@ -306,7 +306,9 @@ public class CostPutCounter extends CostPartWithList {
targetCard.getCounters().put(counterType, Integer.valueOf(newValue)); targetCard.getCounters().put(counterType, Integer.valueOf(newValue));
} }
// added c - 1 without firing triggers, the last counter added should fire trigger. // added c - 1 without firing triggers, the last counter added should fire trigger.
executePayment(ability, targetCard); if (c > 0) {
executePayment(ability, targetCard);
}
} }