[J22] add watcher and hint to Rodolfo, Duskbringer

This commit is contained in:
Evan Kranzler 2022-11-22 20:44:27 -05:00
parent 0c4131b193
commit 1cb987d854

View file

@ -5,6 +5,7 @@ import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
import mage.abilities.common.GainLifeControllerTriggeredAbility; import mage.abilities.common.GainLifeControllerTriggeredAbility;
import mage.abilities.common.delayed.ReflexiveTriggeredAbility; import mage.abilities.common.delayed.ReflexiveTriggeredAbility;
import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.dynamicvalue.common.ControllerGotLifeCount;
import mage.abilities.effects.common.DoWhenCostPaid; import mage.abilities.effects.common.DoWhenCostPaid;
import mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldTargetEffect; import mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldTargetEffect;
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect; import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
@ -70,7 +71,7 @@ public final class RodolfDuskbringer extends CardImpl {
ability.addTarget(new TargetCardInYourGraveyard(filter)); ability.addTarget(new TargetCardInYourGraveyard(filter));
this.addAbility(new BeginningOfEndStepTriggeredAbility(new DoWhenCostPaid( this.addAbility(new BeginningOfEndStepTriggeredAbility(new DoWhenCostPaid(
ability, new ManaCostsImpl<>("{1}{W/B}"), "Pay {1}{W/B}?" ability, new ManaCostsImpl<>("{1}{W/B}"), "Pay {1}{W/B}?"
), TargetController.YOU, false)); ), TargetController.YOU, false).addHint(ControllerGotLifeCount.getHint()), new PlayerGainedLifeWatcher());
} }
private RodolfDuskbringer(final RodolfDuskbringer card) { private RodolfDuskbringer(final RodolfDuskbringer card) {