From 52425d0abbcd31cf619d7f0084ad98c1b263c88c Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Wed, 22 May 2013 17:24:31 +0200 Subject: [PATCH] Fixed a bug of Howlpack Alpha giving its boost also if not the active face. --- Mage.Sets/src/mage/sets/innistrad/HowlpackAlpha.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/sets/innistrad/HowlpackAlpha.java b/Mage.Sets/src/mage/sets/innistrad/HowlpackAlpha.java index 7129c66e4d..660eaee7e8 100644 --- a/Mage.Sets/src/mage/sets/innistrad/HowlpackAlpha.java +++ b/Mage.Sets/src/mage/sets/innistrad/HowlpackAlpha.java @@ -47,6 +47,8 @@ import mage.filter.predicate.mageobject.SubtypePredicate; import mage.game.permanent.token.WolfToken; import java.util.UUID; +import mage.abilities.decorator.ConditionalContinousEffect; +import mage.abilities.effects.Effect; /** * @@ -76,7 +78,9 @@ public class HowlpackAlpha extends CardImpl { this.toughness = new MageInt(3); // Other Werewolf and Wolf creatures you control get +1/+1. - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true))); + Effect effect = new ConditionalContinousEffect(new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true), new TransformedCondition(), null); + this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect)); + // At the beginning of your end step, put a 2/2 green Wolf creature token onto the battlefield. this.addAbility(new ConditionalTriggeredAbility(new BeginningOfYourEndStepTriggeredAbility(new CreateTokenEffect(new WolfToken()), false), new TransformedCondition(), ruleText));