mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[MID] Fix Unblinking Observer mana condition
This commit is contained in:
parent
c68ef669e0
commit
543c19bd2c
1 changed files with 4 additions and 1 deletions
|
@ -75,11 +75,14 @@ class UnblinkingObserverManaCondition extends ManaCondition implements Condition
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
if (source instanceof DisturbAbility) {
|
||||
return true;
|
||||
}
|
||||
if (source instanceof SpellAbility) {
|
||||
MageObject object = game.getObject(source);
|
||||
return object != null && object.isInstantOrSorcery(game);
|
||||
}
|
||||
return source instanceof DisturbAbility;
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue