- A minor clarification / formatting fix.

This commit is contained in:
Agetian
2017-06-18 09:56:54 +00:00
parent c6b405bad5
commit ecb5ea3c6a

View File

@@ -30,7 +30,8 @@ public class PlayAi extends SpellAbilityAi {
final Game game = ai.getGame(); final Game game = ai.getGame();
final Card source = sa.getHostCard(); final Card source = sa.getHostCard();
// don't use this as a response (ReplaySpell logic is an exception) // don't use this as a response (ReplaySpell logic is an exception, might be called from a subability
// while the trigger is on stack)
if (!game.getStack().isEmpty() && !"ReplaySpell".equals(logic)) { if (!game.getStack().isEmpty() && !"ReplaySpell".equals(logic)) {
return false; return false;
} }
@@ -75,7 +76,7 @@ public class PlayAi extends SpellAbilityAi {
@Override @Override
protected boolean doTriggerAINoCost(final Player ai, final SpellAbility sa, final boolean mandatory) { protected boolean doTriggerAINoCost(final Player ai, final SpellAbility sa, final boolean mandatory) {
if (sa.usesTargeting()) { if (sa.usesTargeting()) {
if (!sa.hasParam("AILogic")) { if (!sa.hasParam("AILogic")) {
return false; return false;
} }