Improve Counter check

This commit is contained in:
tool4EvEr
2021-04-20 17:29:20 +02:00
parent 33779bb6cf
commit 5e2898f0ae

View File

@@ -163,7 +163,7 @@ public class ChooseGenericEffectAi extends SpellAbilityAi {
// than Elspeth Conquers Death with different choice parameters // than Elspeth Conquers Death with different choice parameters
SpellAbility p1p1 = null, loyalty = null; SpellAbility p1p1 = null, loyalty = null;
for (final SpellAbility sp : spells) { for (final SpellAbility sp : spells) {
if (sp.getDescription().contains("+1/+1")) { if (("P1P1").equals(sp.getParam("CounterType"))) {
p1p1 = sp; p1p1 = sp;
} else { } else {
loyalty = sp; loyalty = sp;