foul-magics/Mage.Sets/src/mage/cards/p/ProwlerMisguidedMentor.java
2025-07-24 08:57:29 -04:00

51 lines
1.7 KiB
Java

package mage.cards.p;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.abilities.keyword.DauntAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.counters.CounterType;
import mage.filter.StaticFilters;
import mage.target.TargetPermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ProwlerMisguidedMentor extends CardImpl {
public ProwlerMisguidedMentor(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.ROGUE);
this.subtype.add(SubType.VILLAIN);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// Prowler can't be blocked by creatures with power 2 or less.
this.addAbility(new DauntAbility());
// Whenever Prowler deals combat damage to a player, put a +1/+1 counter on another target creature you control.
Ability ability = new DealsCombatDamageToAPlayerTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance()));
ability.addTarget(new TargetPermanent(StaticFilters.FILTER_ANOTHER_TARGET_CREATURE_YOU_CONTROL));
this.addAbility(ability);
}
private ProwlerMisguidedMentor(final ProwlerMisguidedMentor card) {
super(card);
}
@Override
public ProwlerMisguidedMentor copy() {
return new ProwlerMisguidedMentor(this);
}
}