package com.hearthsim.card.basic.spell; import com.hearthsim.card.spellcard.SpellTargetableCard; import com.hearthsim.event.effect.EffectCharacter; import com.hearthsim.event.effect.EffectCharacterBuffDelta; import com.hearthsim.event.filter.FilterCharacter; import com.hearthsim.event.filter.FilterCharacterTargetedSpell; public class MarkOfTheWild extends SpellTargetableCard { private final static EffectCharacter effect = new EffectCharacterBuffDelta(2, 2, true); /** * Constructor * * @param hasBeenUsed Whether the card has already been used or not */ @Deprecated public MarkOfTheWild(boolean hasBeenUsed) { this(); this.hasBeenUsed = hasBeenUsed; } /** * Constructor * * Defaults to hasBeenUsed = false */ public MarkOfTheWild() { super(); } @Override public FilterCharacter getTargetableFilter() { return FilterCharacterTargetedSpell.ALL_MINIONS; } /** * * Use the card on the given target * * This card heals the target minion up to full health and gives it taunt. Cannot be used on heroes. * * * * @param side * @param boardState The BoardState before this card has performed its action. It will be manipulated and returned. * * @return The boardState is manipulated and returned */ @Override public EffectCharacter getTargetableEffect() { return MarkOfTheWild.effect; } }