From 8ec751db2b6358a01fed678f2f1640cea5a7546a Mon Sep 17 00:00:00 2001 From: jmharmon <37360760+jmharmon@users.noreply.github.com> Date: Thu, 3 Jun 2021 23:43:08 -0700 Subject: [PATCH] Update AltarOfTheGoyf.java --- Mage.Sets/src/mage/cards/a/AltarOfTheGoyf.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/a/AltarOfTheGoyf.java b/Mage.Sets/src/mage/cards/a/AltarOfTheGoyf.java index b9668facaa2..a02b4b0a826 100644 --- a/Mage.Sets/src/mage/cards/a/AltarOfTheGoyf.java +++ b/Mage.Sets/src/mage/cards/a/AltarOfTheGoyf.java @@ -39,7 +39,7 @@ public final class AltarOfTheGoyf extends CardImpl { this.subtype.add(SubType.LHURGOYF); // Whenever a creature you control attacks alone, it gets +X/+X until end of turn, where X is the number of card types among cards in all graveyard. - this.addAbility(new AltarOfTheGoyfAbility()); + this.addAbility(new AltarOfTheGoyfAbility().addHint(CardTypesInGraveyardCount.ALL)); // Lhurgoyf creatures you control have trample. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.WhileOnBattlefield, filter))); @@ -80,8 +80,8 @@ class AltarOfTheGoyfAbility extends TriggeredAbilityImpl{ public boolean checkTrigger(GameEvent event, Game game) { if (game.isActivePlayer(this.controllerId)) { if (game.getCombat().attacksAlone()) { - for (Effect effect : this.getEffects()) { - effect.setTargetPointer(new FixedTarget(game.getCombat().getAttackers().get(0))); + this.getEffects().setTargetPointer(new + FixedTarget(game.getCombat().getAttackers().get(0), game)); { } return true; }