forked from External/mage
fix Duchess, Wayward Tavernkeep (related to 172a2e53)
This commit is contained in:
parent
44b591e15f
commit
9b1eada953
1 changed files with 10 additions and 4 deletions
|
|
@ -2,18 +2,20 @@ package mage.cards.d;
|
|||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
|
||||
import mage.abilities.common.DealsDamageToAPlayerAllTriggeredAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.RemoveCounterCost;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SetTargetPointer;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.JunkToken;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
|
||||
|
|
@ -34,8 +36,12 @@ public final class DuchessWaywardTavernkeep extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
// Hunters for Hire -- Whenever a creature you control deals combat damage to a player, put a quest counter on it.
|
||||
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(
|
||||
new AddCountersSourceEffect(CounterType.QUEST.createInstance())
|
||||
this.addAbility(new DealsDamageToAPlayerAllTriggeredAbility(
|
||||
new AddCountersTargetEffect(CounterType.QUEST.createInstance()),
|
||||
StaticFilters.FILTER_CONTROLLED_A_CREATURE,
|
||||
false,
|
||||
SetTargetPointer.PERMANENT,
|
||||
true
|
||||
).withFlavorWord("Hunters for Hire"));
|
||||
|
||||
// {1}, Remove a quest counter from a permanent you control: Create a Junk token.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue