From 017e3eb62a7501fd74fdedf8560cffb9529a1f33 Mon Sep 17 00:00:00 2001 From: xenohedron Date: Sat, 4 May 2024 17:32:33 -0400 Subject: [PATCH] fix filter in Deification --- Mage.Sets/src/mage/cards/d/Deification.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/d/Deification.java b/Mage.Sets/src/mage/cards/d/Deification.java index e619a2a84af..357a32a8326 100644 --- a/Mage.Sets/src/mage/cards/d/Deification.java +++ b/Mage.Sets/src/mage/cards/d/Deification.java @@ -27,9 +27,10 @@ import mage.game.permanent.Permanent; */ public final class Deification extends CardImpl { - private static final FilterPlaneswalkerPermanent filter = new FilterPlaneswalkerPermanent("planeswalkers of the chosen type"); + private static final FilterPlaneswalkerPermanent filter = new FilterPlaneswalkerPermanent("planeswalkers you control of the chosen type"); static { + filter.add(TargetController.YOU.getControllerPredicate()); filter.add(ChosenPlaneswalkerTypePredicate.TRUE); } @@ -41,7 +42,7 @@ public final class Deification extends CardImpl { this.addAbility(new AsEntersBattlefieldAbility(new ChoosePlaneswalkerTypeEffect(Outcome.AddAbility))); // Planeswalkers you control of the chosen type have hexproof. - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(HexproofAbility.getInstance(), Duration.WhileOnBattlefield, filter))); + this.addAbility(new SimpleStaticAbility(new GainAbilityAllEffect(HexproofAbility.getInstance(), Duration.WhileOnBattlefield, filter))); // As long as you control a creature, if damage dealt to a planeswalker you control of the chosen type would result in all loyalty counters on it being removed, instead all but one of those counters are removed. addAbility(new SimpleStaticAbility(new DeificationReplacementEffect()));