From b5ea4ff7ac6df0e5a1881a2c8babd38234c1d435 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 28 Jun 2013 21:56:28 +0200 Subject: [PATCH] * Kicker - Fixed a bug that you could cast the kicker card with kicker without paying costs. --- Mage/src/mage/abilities/keyword/KickerAbility.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/mage/abilities/keyword/KickerAbility.java b/Mage/src/mage/abilities/keyword/KickerAbility.java index 96ed1816fe..0724b88a05 100644 --- a/Mage/src/mage/abilities/keyword/KickerAbility.java +++ b/Mage/src/mage/abilities/keyword/KickerAbility.java @@ -187,7 +187,7 @@ public class KickerAbility extends StaticAbility implements Optio Cost cost = (Cost) it.next(); if (cost instanceof ManaCostsImpl) { List varCosts = ((ManaCostsImpl)cost).getVariableCosts(); - if (varCosts != null) { + if (!varCosts.isEmpty()) { // use only first variable cost xManaValue = game.getPlayer(this.controllerId).announceXMana(varCosts.get(0).getMinX(), Integer.MAX_VALUE, "Announce kicker value for " + varCosts.get(0).getText(), game, this); // kicker variable X costs handled internally as multikicker with {1} cost (no multikicker on card)