Cleanup Leech Bonder

This commit is contained in:
tool4EvEr
2022-04-26 09:20:45 +02:00
parent 9d23620486
commit c449d55327
5 changed files with 8 additions and 10 deletions

View File

@@ -214,7 +214,7 @@ public class CountersMoveAi extends SpellAbilityAi {
private static int calcAmount(final SpellAbility sa, final CounterType cType) {
final Card host = sa.getHostCard();
final String amountStr = sa.getParam("CounterNum");
final String amountStr = sa.getParamOrDefault("CounterNum", "1");
// TODO handle proper calculation of X values based on Cost
int amount = 0;

View File

@@ -102,7 +102,7 @@ public class CountersRemoveAi extends SpellAbilityAi {
final Game game = ai.getGame();
final String type = sa.getParam("CounterType");
final String amountStr = sa.getParam("CounterNum");
final String amountStr = sa.getParamOrDefault("CounterNum", "1");
// remove counter with Time might use Exile Zone too
final TargetRestrictions tgt = sa.getTargetRestrictions();