mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Factor in the original chance boost for granting haste to creatures.
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user