mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 02:08:00 +00:00
Merge branch 'master' into 'master'
Factor in the original chance boost for granting haste to creatures in PumpAI. See merge request core-developers/forge!1194
This commit is contained in:
@@ -1313,7 +1313,7 @@ public class ComputerUtilCard {
|
||||
if (keywords.contains("Haste") && c.hasSickness() && !c.isTapped()) {
|
||||
//chance += 0.5f;
|
||||
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