mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
Allow players to block creatures attacking destroyed planeswalkers.
See Comprehensive rules: 506.4c Fixes https://github.com/magefree/mage/issues/6240
This commit is contained in:
parent
b708494647
commit
06e77bd7d6
2 changed files with 27 additions and 0 deletions
|
|
@ -1607,6 +1607,8 @@ public class Combat implements Serializable, Copyable<Combat> {
|
|||
Permanent permanent = game.getPermanent(group.getDefenderId());
|
||||
if (permanent != null) {
|
||||
playerDefenders.add(permanent.getControllerId());
|
||||
} else {
|
||||
playerDefenders.add(group.getDefendingPlayerId());
|
||||
}
|
||||
} else {
|
||||
playerDefenders.add(group.getDefenderId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue