mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 02:08:00 +00:00
- Minor code reorganization in ComputerUtilCard.
This commit is contained in:
@@ -1364,9 +1364,11 @@ public class ComputerUtilCard {
|
||||
pumpedDmg = 0;
|
||||
}
|
||||
}
|
||||
if ( (!c.hasKeyword("Infect") && pumpedDmg > dmg && pumpedDmg >= opp.getLife())
|
||||
|| (c.hasKeyword("Infect") && pumpedDmg > dmg && pumpedDmg >= opp.getPoisonCounters()) ) {
|
||||
return true;
|
||||
if (pumpedDmg > dmg) {
|
||||
if ((!c.hasKeyword("Infect") && pumpedDmg >= opp.getLife())
|
||||
|| (c.hasKeyword("Infect") && pumpedDmg >= opp.getPoisonCounters())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
// try to determine if pumping a creature for more power will give lethal on board
|
||||
// considering all unblocked creatures after the blockers are already declared
|
||||
|
||||
Reference in New Issue
Block a user