Fixed Syr Konrad triggering after he lost abilities (fixes #8401)

This commit is contained in:
Daniel Bomar 2021-10-23 14:54:52 -05:00
parent a55cfe2589
commit 4094580a6c
No known key found for this signature in database
GPG key ID: C86C8658F4023918

View file

@ -1,6 +1,7 @@
package mage.cards.s; package mage.cards.s;
import mage.MageInt; import mage.MageInt;
import mage.MageObject;
import mage.abilities.TriggeredAbilityImpl; import mage.abilities.TriggeredAbilityImpl;
import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.costs.mana.ManaCostsImpl;
@ -93,6 +94,11 @@ class SyrKonradTheGrimTriggeredAbility extends TriggeredAbilityImpl {
&& zEvent.getPlayerId() == this.getControllerId(); && zEvent.getPlayerId() == this.getControllerId();
} }
@Override
public boolean isInUseableZone(Game game, MageObject source, GameEvent event) {
return TriggeredAbilityImpl.isInUseableZoneDiesTrigger(this, event, game);
}
@Override @Override
public String getRule() { public String getRule() {
return "Whenever another creature dies, or a creature card is put into a graveyard " + return "Whenever another creature dies, or a creature card is put into a graveyard " +