From 0acce10d9dbcd4b82d6413b892839799e107f3cc Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 30 Jun 2013 22:16:31 +0200 Subject: [PATCH] * KithkinGreatheart - Fixed that the second ability (first strike) was not conditional. --- .../src/mage/sets/modernmasters/KithkinGreatheart.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/modernmasters/KithkinGreatheart.java b/Mage.Sets/src/mage/sets/modernmasters/KithkinGreatheart.java index b270517da0..d791ffab23 100644 --- a/Mage.Sets/src/mage/sets/modernmasters/KithkinGreatheart.java +++ b/Mage.Sets/src/mage/sets/modernmasters/KithkinGreatheart.java @@ -36,6 +36,7 @@ import mage.abilities.decorator.ConditionalContinousEffect; import mage.abilities.effects.common.continious.BoostSourceEffect; import mage.abilities.effects.common.continious.GainAbilitySourceEffect; import mage.abilities.keyword.FirstStrikeAbility; +import mage.abilities.keyword.FlyingAbility; import mage.cards.CardImpl; import mage.constants.CardType; import mage.constants.Duration; @@ -57,6 +58,7 @@ public class KithkinGreatheart extends CardImpl { filter.add(new ControllerPredicate(TargetController.YOU)); filter.add(new SubtypePredicate("Giant")); } + private static final String rule2 = "As long as you control a Giant, {this} has first strike."; public KithkinGreatheart(UUID ownerId) { super(ownerId, 21, "Kithkin Greatheart", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{1}{W}"); @@ -72,9 +74,12 @@ public class KithkinGreatheart extends CardImpl { Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinousEffect( new BoostSourceEffect(1,1, Duration.WhileOnBattlefield), new ControlsPermanentCondition(filter), - "As long as you control a Giant, Kithkin Greatheart gets +1/+1 and has first strike")); - ability.addEffect(new GainAbilitySourceEffect(FirstStrikeAbility.getInstance())); + "As long as you control a Giant, Kithkin Greatheart gets +1/+1")); this.addAbility(ability); + ConditionalContinousEffect effect2 = new ConditionalContinousEffect( + new GainAbilitySourceEffect(FirstStrikeAbility.getInstance()), new ControlsPermanentCondition(filter), rule2); + this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect2)); + } public KithkinGreatheart(final KithkinGreatheart card) {