Remove TriggerController$ TriggeredCardController default

This commit is contained in:
tool4EvEr
2022-02-01 20:11:41 +01:00
parent 1e3916f086
commit cb48c6e411
495 changed files with 503 additions and 501 deletions

View File

@@ -110,12 +110,14 @@ public class MillAi extends SpellAbilityAi {
continue;
}
int numCards = 0;
int numCards;
if (sa.hasParam("NumCards")) {
// need to set as target for some calculate
sa.getTargets().add(o);
numCards = AbilityUtils.calculateAmount(sa.getHostCard(), sa.getParam("NumCards"), sa);
sa.getTargets().remove(o);
} else {
numCards = 1;
}
// if it would mill none, try other one