Merge pull request #6238 from dragonfyre23/gargos-vicious-watcher-bug

Bug fix for Gargos, Vicious Watcher.
This commit is contained in:
Oleg Agafonov 2020-01-30 21:51:12 +01:00 committed by GitHub
commit 5d29467f8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@ import mage.game.Game;
import mage.game.events.GameEvent; import mage.game.events.GameEvent;
import mage.game.permanent.Permanent; import mage.game.permanent.Permanent;
import mage.target.TargetPermanent; import mage.target.TargetPermanent;
import mage.game.stack.Spell;
import java.util.UUID; import java.util.UUID;
@ -97,7 +98,7 @@ class GargosViciousWatcherTriggeredAbility extends TriggeredAbilityImpl {
|| !permanent.isCreature()) { || !permanent.isCreature()) {
return false; return false;
} }
return object.isInstantOrSorcery(); // must specify a type of spell return object instanceof Spell; // must be a type of spell (instant, sorcery, or aura)
} }