mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
- Fixed #6832
This commit is contained in:
parent
8818a12b6e
commit
335acd4375
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ public class CantAttackYouEffect extends RestrictionEffect {
|
|||
|
||||
@Override
|
||||
public boolean canAttack(Permanent attacker, UUID defenderId, Ability source, Game game, boolean canUseChooseDialogs) {
|
||||
if (defenderId == null) {
|
||||
if (defenderId == null
|
||||
|| game.getState().getPlayersInRange(attacker.getControllerId(), game).size() == 2) { // just 2 players left, so it may attack you
|
||||
return true;
|
||||
}
|
||||
// A planeswalker controlled by the controller is the defender
|
||||
|
|
Loading…
Reference in a new issue