forked from External/mage
test framework: improved aiXXX commands support:
- added more options for priority control (play single priority, play multiple priorities until stack resolved); - added more options for step control (play single step, play multiple steps); - improved compatibility with AI and real time commands (now check commands can be called inside AI controlled steps); - added tests for assign non-blocked damage;
This commit is contained in:
parent
a06935da81
commit
a9bdf2eb18
12 changed files with 342 additions and 88 deletions
|
|
@ -966,7 +966,7 @@ public class CombatGroup implements Serializable, Copyable<CombatGroup> {
|
|||
return false;
|
||||
}
|
||||
|
||||
private static int getLethalDamage(Permanent damaged, Permanent damaging, Game game) {
|
||||
return damaged.getLethalDamage(damaging.getId(), game);
|
||||
private static int getLethalDamage(Permanent blocker, Permanent attacker, Game game) {
|
||||
return blocker.getLethalDamage(attacker.getId(), game);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue