Update SpireTracer.java

Creature must be either flying or reach, not both sumiltaneously
This commit is contained in:
Viktoras 2013-06-13 16:26:20 +03:00
parent 537f826607
commit 2a8b86dcc4

View file

@ -94,11 +94,11 @@ class CantBeBlockedExceptByCreaturesWithFlyingOrReachEffect extends RestrictionE
@Override @Override
public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game) { public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game) {
if (!blocker.getAbilities().containsKey(FlyingAbility.getInstance().getId()) if (blocker.getAbilities().containsKey(FlyingAbility.getInstance().getId())
|| !blocker.getAbilities().containsKey(ReachAbility.getInstance().getId())) { || blocker.getAbilities().containsKey(ReachAbility.getInstance().getId())) {
return false; return true;
} }
return true; return false;
} }
@Override @Override