- Added check in useRemovalNow for planeswalkers

This commit is contained in:
excessum
2015-11-01 06:49:40 +00:00
parent 0fc3ac52a6
commit 9c7bffda35

View File

@@ -940,11 +940,13 @@ public class ComputerUtilCard {
//TODO:add threat from triggers and other abilities (ie. Master of Cruelties)
}
if (ph.isPlayerTurn(ai) && ph.getPhase().isAfter(PhaseType.COMBAT_DECLARE_BLOCKERS)) {
threat *= 0.1;
threat *= 0.1f;
}
if (!ph.isPlayerTurn(ai) && ph.getPhase().isBefore(PhaseType.COMBAT_BEGIN)) {
threat *= 0.1;
threat *= 0.1f;
}
} else if (c.isPlaneswalker()) {
threat = 1;
} else {
for (final StaticAbility stAb : c.getStaticAbilities()) {
final Map<String, String> params = stAb.getMapParams();