mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- A minor clarification / formatting fix.
This commit is contained in:
@@ -30,7 +30,8 @@ public class PlayAi extends SpellAbilityAi {
|
||||
|
||||
final Game game = ai.getGame();
|
||||
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)) {
|
||||
return false;
|
||||
}
|
||||
@@ -75,7 +76,7 @@ public class PlayAi extends SpellAbilityAi {
|
||||
@Override
|
||||
protected boolean doTriggerAINoCost(final Player ai, final SpellAbility sa, final boolean mandatory) {
|
||||
if (sa.usesTargeting()) {
|
||||
if (!sa.hasParam("AILogic")) {
|
||||
if (!sa.hasParam("AILogic")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user