mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
fixed Valiant Rescuer (fixes #6484)
This commit is contained in:
parent
09bf661ba8
commit
237babc5e8
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue