From 074dccf12def8dfa178344eff8cc446561ea3f19 Mon Sep 17 00:00:00 2001 From: igoudt Date: Sat, 13 May 2017 00:23:58 +0200 Subject: [PATCH] fixed Kaseto to trigger on Changeling too. --- Mage.Sets/src/mage/cards/k/KasetoOrochiArchmage.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/k/KasetoOrochiArchmage.java b/Mage.Sets/src/mage/cards/k/KasetoOrochiArchmage.java index 0763470679..18fed8f24e 100644 --- a/Mage.Sets/src/mage/cards/k/KasetoOrochiArchmage.java +++ b/Mage.Sets/src/mage/cards/k/KasetoOrochiArchmage.java @@ -27,8 +27,6 @@ */ package mage.cards.k; -import java.util.UUID; - import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; @@ -36,6 +34,7 @@ import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.combat.CantBeBlockedTargetEffect; import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.keyword.ChangelingAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.*; @@ -43,6 +42,8 @@ import mage.game.Game; import mage.game.permanent.Permanent; import mage.target.common.TargetCreaturePermanent; +import java.util.UUID; + /** * @author fireshoes */ @@ -93,7 +94,7 @@ class KasetoEffect extends OneShotEffect { Permanent permanent = game.getPermanent(getTargetPointer().getFirst(game, source)); if (permanent != null) { game.addEffect(new CantBeBlockedTargetEffect(Duration.EndOfTurn), source); - if (permanent.getSubtype(game).contains("Snake")) { + if (permanent.getSubtype(game).contains("Snake") || permanent.hasAbility(ChangelingAbility.getInstance().getId(), game)) { game.addEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn), source); } return true;