mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
- Added Ruric Thar, the Unbowed. Little fix.
This commit is contained in:
parent
111f198f3d
commit
4feb0638bd
2 changed files with 126 additions and 2 deletions
|
|
@ -1102,8 +1102,7 @@ public class ComputerPlayer6 extends ComputerPlayer<ComputerPlayer6> implements
|
|||
for (Permanent blocker : possibleBlockers) {
|
||||
int blockerValue = eval.evaluate(blocker, game);
|
||||
if (attacker.getPower().getValue() <= blocker.getToughness().getValue()
|
||||
&& attacker.getToughness().getValue() <= blocker.getPower().getValue()
|
||||
&& attacker.getPower().getValue() == 0) {
|
||||
&& attacker.getToughness().getValue() <= blocker.getPower().getValue()) {
|
||||
safeToAttack = false;
|
||||
}
|
||||
|
||||
|
|
@ -1126,6 +1125,9 @@ public class ComputerPlayer6 extends ComputerPlayer<ComputerPlayer6> implements
|
|||
|| attacker.getAbilities().contains(new IndestructibleAbility())) {
|
||||
safeToAttack = true;
|
||||
}
|
||||
if (attacker.getPower().getValue() == 0) {
|
||||
safeToAttack = false;
|
||||
}
|
||||
if (safeToAttack) {
|
||||
attackingPlayer.declareAttacker(attacker.getId(), defenderId, game);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue