fixed Valiant Rescuer (fixes #6484)

This commit is contained in:
Evan Kranzler 2020-04-27 18:06:11 -04:00
parent 09bf661ba8
commit 237babc5e8

View file

@ -1,7 +1,6 @@
package mage.cards.v; package mage.cards.v;
import mage.MageInt; import mage.MageInt;
import mage.abilities.TriggeredAbility;
import mage.abilities.TriggeredAbilityImpl; import mage.abilities.TriggeredAbilityImpl;
import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.CreateTokenEffect; import mage.abilities.effects.common.CreateTokenEffect;
@ -60,6 +59,10 @@ class ValiantRescuerTriggeredAbility extends TriggeredAbilityImpl {
this.addWatcher(new ValiantRescuerWatcher()); this.addWatcher(new ValiantRescuerWatcher());
} }
private ValiantRescuerTriggeredAbility(final ValiantRescuerTriggeredAbility ability) {
super(ability);
}
@Override @Override
public boolean checkEventType(GameEvent event, Game game) { public boolean checkEventType(GameEvent event, Game game) {
return event.getType() == GameEvent.EventType.ACTIVATED_ABILITY; return event.getType() == GameEvent.EventType.ACTIVATED_ABILITY;
@ -81,8 +84,8 @@ class ValiantRescuerTriggeredAbility extends TriggeredAbilityImpl {
} }
@Override @Override
public TriggeredAbility copy() { public ValiantRescuerTriggeredAbility copy() {
return null; return new ValiantRescuerTriggeredAbility(this);
} }
@Override @Override