mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
Merge pull request #239 from charnad/patch-2
* SpireTracer - Fixed wrong blocking behaviour.
This commit is contained in:
commit
058fa66167
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