Small improvement to CardScriptParser

This commit is contained in:
tool4EvEr
2022-05-08 14:12:38 +02:00
parent 21fca37c7d
commit ebe1642bec
4 changed files with 22 additions and 12 deletions

View File

@@ -596,7 +596,7 @@ public class PumpAi extends PumpAiBase {
}
return true;
} // pumpTgtAI()
}
private boolean pumpMandatoryTarget(final Player ai, final SpellAbility sa) {
final Game game = ai.getGame();
@@ -657,7 +657,7 @@ public class PumpAi extends PumpAiBase {
}
return true;
} // pumpMandatoryTarget()
}
@Override
protected boolean doTriggerAINoCost(Player ai, SpellAbility sa, boolean mandatory) {
@@ -706,7 +706,7 @@ public class PumpAi extends PumpAiBase {
}
return true;
} // pumpTriggerAI
}
@Override
public boolean chkAIDrawback(SpellAbility sa, Player ai) {
@@ -778,7 +778,7 @@ public class PumpAi extends PumpAiBase {
}
return true;
} // pumpDrawbackAI()
}
@Override
public boolean confirmAction(Player player, SpellAbility sa, PlayerActionConfirmMode mode, String message) {

View File

@@ -428,7 +428,7 @@ public abstract class PumpAiBase extends SpellAbilityAi {
}
});
return list;
} // getPumpCreatures()
}
/**
* <p>
@@ -519,7 +519,7 @@ public abstract class PumpAiBase extends SpellAbilityAi {
}
return list;
} // getCurseCreatures()
}
protected boolean containsNonCombatKeyword(final List<String> keywords) {
for (final String keyword : keywords) {