[KHM] Add ConditionHint to Cleaving Reaper

This commit is contained in:
Daniel Bomar 2020-12-20 08:43:54 -06:00
parent 5581405ad9
commit 06a551fbd5

View file

@ -8,6 +8,8 @@ import mage.abilities.common.ActivateIfConditionActivatedAbility;
import mage.abilities.condition.Condition;
import mage.abilities.costs.common.PayLifeCost;
import mage.abilities.effects.common.ReturnSourceFromGraveyardToHandEffect;
import mage.abilities.hint.ConditionHint;
import mage.abilities.hint.Hint;
import mage.constants.SubType;
import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.TrampleAbility;
@ -25,6 +27,8 @@ import mage.watchers.common.PermanentsEnteredBattlefieldWatcher;
*/
public final class CleavingReaper extends CardImpl {
private static final Hint hint = new ConditionHint(CleavingReaperCondition.instance, "Can return from graveyard");
public CleavingReaper(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}{B}");
@ -44,6 +48,7 @@ public final class CleavingReaper extends CardImpl {
Ability ability = new ActivateIfConditionActivatedAbility(
Zone.GRAVEYARD, new ReturnSourceFromGraveyardToHandEffect(), new PayLifeCost(3), CleavingReaperCondition.instance
);
ability.addHint(hint);
this.addAbility(ability, new PermanentsEnteredBattlefieldWatcher());
}