From 686dd78da83cbc7a577e58630dee872b64d6b4f9 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 9 Dec 2013 08:14:40 +0100 Subject: [PATCH] * Capricious Efreet - Changed first target so the ability can't be canceled anymore. --- Mage.Sets/src/mage/sets/magic2010/CapriciousEfreet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/magic2010/CapriciousEfreet.java b/Mage.Sets/src/mage/sets/magic2010/CapriciousEfreet.java index fd51982bb4..797aba3e34 100644 --- a/Mage.Sets/src/mage/sets/magic2010/CapriciousEfreet.java +++ b/Mage.Sets/src/mage/sets/magic2010/CapriciousEfreet.java @@ -70,7 +70,7 @@ public class CapriciousEfreet extends CardImpl { // At the beginning of your upkeep, choose target nonland permanent you control and up to two target nonland permanents you don't control. Destroy one of them at random. Ability ability = new BeginningOfUpkeepTriggeredAbility(new CapriciousEfreetEffect(), TargetController.YOU, false); - ability.addTarget(new TargetPermanent(filterControlled)); + ability.addTarget(new TargetPermanent(filterControlled, true)); ability.addTarget(new TargetPermanent(0, 2, filterNotControlled, false)); this.addAbility(ability); } @@ -118,7 +118,7 @@ class CapriciousEfreetEffect extends OneShotEffect { if (!targetPermanents.isEmpty()) { Random random = new Random(); permanent = targetPermanents.get(random.nextInt(targetPermanents.size())); - permanent.destroy(source.getId(), game, false); + permanent.destroy(source.getSourceId(), game, false); return true; } return false;