mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Update SpireTracer.java
Creature must be either flying or reach, not both sumiltaneously
This commit is contained in:
parent
537f826607
commit
2a8b86dcc4
1 changed files with 4 additions and 4 deletions
|
@ -94,11 +94,11 @@ class CantBeBlockedExceptByCreaturesWithFlyingOrReachEffect extends RestrictionE
|
|||
|
||||
@Override
|
||||
public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game) {
|
||||
if (!blocker.getAbilities().containsKey(FlyingAbility.getInstance().getId())
|
||||
|| !blocker.getAbilities().containsKey(ReachAbility.getInstance().getId())) {
|
||||
return false;
|
||||
if (blocker.getAbilities().containsKey(FlyingAbility.getInstance().getId())
|
||||
|| blocker.getAbilities().containsKey(ReachAbility.getInstance().getId())) {
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue