- Better name for the MoveCounter logic for Spikes.

This commit is contained in:
Agetian
2018-12-06 07:17:31 +03:00
parent a9fb10ca7d
commit 05672bb174
11 changed files with 11 additions and 11 deletions

View File

@@ -1009,7 +1009,7 @@ public class CountersPutAi extends SpellAbilityAi {
// Spikes (Tempest)
// Try not to do it unless at the end of opponent's turn or the creature is threatened
final int creatDiff = sa.getParam("AILogic").contains("ExtraEff") ? 450 : 1;
final int creatDiff = sa.getParam("AILogic").contains("IsCounterUser") ? 450 : 1;
final Combat combat = ai.getGame().getCombat();
final boolean threatened = ComputerUtil.predictThreatenedObjects(ai, null, true).contains(sa.getHostCard())
|| (combat != null && combat.isBlocked(sa.getHostCard()) && ComputerUtilCombat.attackerWouldBeDestroyed(ai, sa.getHostCard(), combat));