- Factor in the original chance boost for granting haste to creatures.

This commit is contained in:
Agetian
2018-12-08 20:29:09 +03:00
parent 879caa8933
commit 4696316706

View File

@@ -1313,7 +1313,7 @@ public class ComputerUtilCard {
if (keywords.contains("Haste") && c.hasSickness() && !c.isTapped()) { if (keywords.contains("Haste") && c.hasSickness() && !c.isTapped()) {
//chance += 0.5f; //chance += 0.5f;
if (ComputerUtilCard.doesSpecifiedCreatureAttackAI(ai, pumped)) { if (ComputerUtilCard.doesSpecifiedCreatureAttackAI(ai, pumped)) {
chance += 0.5f * ComputerUtilCombat.damageIfUnblocked(pumped, opp, combat, true) / opp.getLife(); chance += 0.5f + (0.5f * ComputerUtilCombat.damageIfUnblocked(pumped, opp, combat, true) / opp.getLife());
} }
} }