diff --git a/Mage.Sets/src/mage/cards/u/UnlivingPsychopath.java b/Mage.Sets/src/mage/cards/u/UnlivingPsychopath.java index 6018e49bcab..223d5836e65 100644 --- a/Mage.Sets/src/mage/cards/u/UnlivingPsychopath.java +++ b/Mage.Sets/src/mage/cards/u/UnlivingPsychopath.java @@ -93,7 +93,7 @@ class UnlivingPsychopathPowerLessThanSourcePredicate implements ObjectSourcePlay @Override public boolean apply(ObjectSourcePlayer input, Game game) { - Permanent sourcePermanent = game.getPermanent(input.getSourceId()); + Permanent sourcePermanent = game.getPermanentOrLKIBattlefield(input.getSourceId()); return sourcePermanent != null && input.getObject().getPower().getValue() < sourcePermanent.getPower().getValue(); } diff --git a/Mage.Sets/src/mage/cards/y/YasovaDragonclaw.java b/Mage.Sets/src/mage/cards/y/YasovaDragonclaw.java index 26aad6c5552..3fcc58af8d2 100644 --- a/Mage.Sets/src/mage/cards/y/YasovaDragonclaw.java +++ b/Mage.Sets/src/mage/cards/y/YasovaDragonclaw.java @@ -68,7 +68,7 @@ public class YasovaDragonclaw extends CardImpl { } public YasovaDragonclaw(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}"); + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}"); addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.WARRIOR); @@ -83,7 +83,7 @@ public class YasovaDragonclaw extends CardImpl { effect2.setText(", untap that creature"); effect.addEffect(effect2); effect.addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn, ", and it gains haste until end of turn")); - Ability ability = new BeginningOfCombatTriggeredAbility(effect, TargetController.YOU, false); + Ability ability = new BeginningOfCombatTriggeredAbility(effect, TargetController.YOU, false); ability.addTarget(new TargetCreaturePermanent(filter)); this.addAbility(ability); } @@ -102,7 +102,7 @@ class YasovaDragonclawPowerLessThanSourcePredicate implements ObjectSourcePlayer @Override public boolean apply(ObjectSourcePlayer input, Game game) { - Permanent sourcePermanent = game.getPermanent(input.getSourceId()); + Permanent sourcePermanent = game.getPermanentOrLKIBattlefield(input.getSourceId()); return sourcePermanent != null && input.getObject().getPower().getValue() < sourcePermanent.getPower().getValue(); }