mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Improve Counter check
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user