From b918a019d435a6ecd3d7bc2f7b4ba808eed9e903 Mon Sep 17 00:00:00 2001 From: Bug Hunter Date: Wed, 27 Jan 2021 08:08:51 +0000 Subject: [PATCH] Fix SubCounter= 0); } @@ -170,7 +176,14 @@ public class CostRemoveCounter extends CostPart { Card source = ability.getHostCard(); int removed = 0; - int toRemove = AbilityUtils.calculateAmount(source, getAmount(), ability); + final int toRemove; + if (getAmount().equals("All")) { + toRemove = source.getCounters(counter); + } + else { + toRemove = AbilityUtils.calculateAmount(source, getAmount(), ability); + } + // for this cost, the list should be only one for (Card c : decision.cards) { removed += toRemove;