mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
[KHM] Add ConditionHint to Cleaving Reaper
This commit is contained in:
parent
5581405ad9
commit
06a551fbd5
1 changed files with 5 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue