Commit e7ec230b authored by Michael Kamensky's avatar Michael Kamensky

Merge branch 'master' into 'master'

Fixed the Once logic check in SurveilAi.

See merge request core-developers/forge!1074
parents 25fc7b77 09856906
......@@ -112,12 +112,15 @@ public class SurveilAi extends SpellAbilityAi {
randomReturn = true;
}
if (randomReturn) {
AiCardMemory.rememberCard(ai, sa.getHostCard(), AiCardMemory.MemorySet.ACTIVATED_THIS_TURN);
}
return randomReturn;
}
@Override
public boolean confirmAction(Player player, SpellAbility sa, PlayerActionConfirmMode mode, String message) {
AiCardMemory.rememberCard(player, sa.getHostCard(), AiCardMemory.MemorySet.ACTIVATED_THIS_TURN);
return true;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment