diff --git a/Mage.Sets/src/mage/cards/a/AlpineHoundmaster.java b/Mage.Sets/src/mage/cards/a/AlpineHoundmaster.java index a25790ff0e..5bf4ad432d 100644 --- a/Mage.Sets/src/mage/cards/a/AlpineHoundmaster.java +++ b/Mage.Sets/src/mage/cards/a/AlpineHoundmaster.java @@ -29,13 +29,13 @@ import java.util.UUID; */ public final class AlpineHoundmaster extends CardImpl { - private static final FilterPermanent filter = new FilterAttackingCreature(); + private static final FilterPermanent filter = new FilterAttackingCreature("the number of other attacking creatures"); static { filter.add(AnotherPredicate.instance); } - private static final DynamicValue xValue = new PermanentsOnBattlefieldCount(filter); + private static final DynamicValue xValue = new PermanentsOnBattlefieldCount(filter, null); public AlpineHoundmaster(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{R}{W}"); @@ -50,7 +50,7 @@ public final class AlpineHoundmaster extends CardImpl { // Whenever Alpine Houndmaster attacks, it gets +X/+0 until end of turn, where X is the number of other attacking creatures. this.addAbility(new AttacksTriggeredAbility(new BoostSourceEffect( - xValue, StaticValue.get(0), Duration.EndOfTurn + xValue, StaticValue.get(0), Duration.EndOfTurn, true ), false)); } diff --git a/Mage.Sets/src/mage/cards/s/SanguineIndulgence.java b/Mage.Sets/src/mage/cards/s/SanguineIndulgence.java index 27777156f8..1b17df6ac3 100644 --- a/Mage.Sets/src/mage/cards/s/SanguineIndulgence.java +++ b/Mage.Sets/src/mage/cards/s/SanguineIndulgence.java @@ -14,6 +14,7 @@ import mage.constants.ComparisonType; import mage.constants.Zone; import mage.filter.StaticFilters; import mage.target.common.TargetCardInYourGraveyard; +import mage.watchers.common.PlayerGainedLifeWatcher; import java.util.UUID; @@ -30,8 +31,9 @@ public final class SanguineIndulgence extends CardImpl { // This spell costs {3} less to cast if you've gained 3 or more life this turn. this.addAbility(new SimpleStaticAbility( - Zone.ALL, new SpellCostReductionSourceEffect(3, condition) - ).setRuleAtTheTop(true).addHint(hint)); + Zone.ALL, new SpellCostReductionSourceEffect(3, condition) + ).addHint(hint).setRuleAtTheTop(true), + new PlayerGainedLifeWatcher()); // Return up to two target creature cards from your graveyard to your hand. this.getSpellAbility().addEffect(new ReturnFromGraveyardToHandTargetEffect());