Daghatar without Pump

This commit is contained in:
tool4EvEr
2022-04-26 11:04:45 +02:00
parent 8cdb379489
commit cf22f5c55c
2 changed files with 2 additions and 4 deletions

View File

@@ -145,6 +145,7 @@ public class PumpAi extends PumpAiBase {
}
final String counterType = moveSA.getParam("CounterType");
final String amountStr = moveSA.getParamOrDefault("CounterNum", "1");
final CounterType cType = "Any".equals(counterType) ? null : CounterType.getType(counterType);
final PhaseHandler ph = game.getPhaseHandler();
@@ -157,7 +158,6 @@ public class PumpAi extends PumpAiBase {
if (attr.isEmpty()) {
return false;
}
final String amountStr = moveSA.getParam("CounterNum");
CardCollection best = CardLists.filter(attr, new Predicate<Card>() {
@Override
public boolean apply(Card card) {
@@ -198,7 +198,6 @@ public class PumpAi extends PumpAiBase {
return true;
}
} else {
final String amountStr = moveSA.getParam("CounterNum");
final boolean sameCtrl = moveSA.getTargetRestrictions().isSameController();
List<Card> list = CardLists.getTargetableCards(game.getCardsIn(ZoneType.Battlefield), sa);