forked from External/mage
Fix Maarika showing all enemy untapped, noncreature permanents as being required to block her
Now only creatures get the "Must block Maarika" hint in their tooltip on mouseover
This commit is contained in:
parent
c03f3502df
commit
6b7a757c2f
1 changed files with 1 additions and 1 deletions
|
|
@ -1537,7 +1537,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canBlock(UUID attackerId, Game game) {
|
public boolean canBlock(UUID attackerId, Game game) {
|
||||||
if (tapped && game.getState().getContinuousEffects().asThough(this.getId(), AsThoughEffectType.BLOCK_TAPPED, null, this.getControllerId(), game).isEmpty() || isBattle(game) || isSuspected()) {
|
if (tapped && game.getState().getContinuousEffects().asThough(this.getId(), AsThoughEffectType.BLOCK_TAPPED, null, this.getControllerId(), game).isEmpty() || isBattle(game) || !isCreature(game) || isSuspected()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
Permanent attacker = game.getPermanent(attackerId);
|
Permanent attacker = game.getPermanent(attackerId);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue