From 80d233f786ca7d80d8c21dae117542cc2fdced03 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 17 Nov 2014 08:04:47 +0100 Subject: [PATCH] * Filigree Angel - Fixed that the life gain was wrongly calculated for all instead of controlled artifacts. --- Mage.Sets/src/mage/sets/alarareborn/FiligreeAngel.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/sets/alarareborn/FiligreeAngel.java b/Mage.Sets/src/mage/sets/alarareborn/FiligreeAngel.java index 8ca723010c..4d00de3ea7 100644 --- a/Mage.Sets/src/mage/sets/alarareborn/FiligreeAngel.java +++ b/Mage.Sets/src/mage/sets/alarareborn/FiligreeAngel.java @@ -40,6 +40,7 @@ import mage.abilities.keyword.FlyingAbility; import mage.cards.CardImpl; import mage.constants.Outcome; import mage.filter.FilterPermanent; +import mage.filter.common.FilterControlledPermanent; import mage.filter.predicate.mageobject.CardTypePredicate; import mage.game.Game; import mage.players.Player; @@ -58,7 +59,11 @@ public class FiligreeAngel extends CardImpl { this.color.setBlue(true); this.power = new MageInt(4); this.toughness = new MageInt(4); + + // Flying this.addAbility(FlyingAbility.getInstance()); + + // When Filigree Angel enters the battlefield, you gain 3 life for each artifact you control. this.addAbility(new EntersBattlefieldTriggeredAbility(new FiligreeAngelEffect())); } @@ -73,7 +78,8 @@ public class FiligreeAngel extends CardImpl { } class FiligreeAngelEffect extends OneShotEffect { - private static final FilterPermanent filter = new FilterPermanent(); + + private static final FilterPermanent filter = new FilterControlledPermanent(); static { filter.add(new CardTypePredicate(CardType.ARTIFACT));