mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Merge branch 'master' into 'master'
Tetzimoc CountersPutAi: don't try to target creatures with Hexproof See merge request core-developers/forge!544
This commit is contained in:
@@ -273,7 +273,8 @@ public class CountersPutAi extends SpellAbilityAi {
|
||||
}
|
||||
|
||||
CardCollection oppCreats = CardLists.filter(ai.getOpponents().getCreaturesInPlay(),
|
||||
Predicates.not(CardPredicates.hasCounter(CounterType.getType(type))));
|
||||
Predicates.and(Predicates.not(CardPredicates.hasCounter(CounterType.getType(type))),
|
||||
CardPredicates.isTargetableBy(sa)));
|
||||
|
||||
if (!oppCreats.isEmpty()) {
|
||||
Card bestCreat = ComputerUtilCard.getBestCreatureAI(oppCreats);
|
||||
|
||||
Reference in New Issue
Block a user