mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
- Fixed #7033
This commit is contained in:
parent
668a21fc18
commit
34cece1107
1 changed files with 4 additions and 3 deletions
|
@ -97,13 +97,14 @@ public class ProtectionAbility extends StaticAbility {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Emrakul, the Aeons Torn
|
// Emrakul, the Aeons Torn
|
||||||
if (filter instanceof FilterStackObject) {
|
if (filter instanceof FilterStackObject) {
|
||||||
if (source instanceof Spell) {
|
if (filter.match(source, game)) {
|
||||||
return !filter.match(source, game);
|
return (!source.isInstantOrSorcery());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filter instanceof FilterObject) {
|
if (filter instanceof FilterObject) {
|
||||||
return !filter.match(source, game);
|
return !filter.match(source, game);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue