fixed Kaseto to trigger on Changeling too.
*/
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;
