forked from External/mage
Reworking card types in preparation for implementing Grist, the Hunger Tide (#7899)
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
This commit is contained in:
parent
07e1dff10c
commit
572104b8fc
1159 changed files with 2704 additions and 2203 deletions
|
|
@ -100,7 +100,7 @@ public class ProtectionAbility extends StaticAbility {
|
|||
// object is still a card and not a spell yet. So return only if the source object can't be a spell
|
||||
// otherwise the following FilterObject check will be applied
|
||||
if (source instanceof StackObject
|
||||
|| !source.isInstantOrSorcery()) {
|
||||
|| !source.isInstantOrSorcery(game)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
@ -108,7 +108,7 @@ public class ProtectionAbility extends StaticAbility {
|
|||
// Emrakul, the Aeons Torn
|
||||
if (filter instanceof FilterStackObject) {
|
||||
if (filter.match(source, game)) {
|
||||
return !source.isInstantOrSorcery();
|
||||
return !source.isInstantOrSorcery(game);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue