mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Fixed AddCounter costs with amount of 0.
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user