mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Kicker - Fixed a bug that you could cast the kicker card with kicker without paying costs.
This commit is contained in:
parent
2dedbffc26
commit
b5ea4ff7ac
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ public class KickerAbility extends StaticAbility<KickerAbility> implements Optio
|
|||
Cost cost = (Cost) it.next();
|
||||
if (cost instanceof ManaCostsImpl) {
|
||||
List<VariableManaCost> 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)
|
||||
|
|
Loading…
Reference in a new issue