forked from External/mage
fix for issue 210 was causing issues for AI's - added getX() utility method instead
This commit is contained in:
parent
b2d9b467ef
commit
37819c5088
23 changed files with 52 additions and 48 deletions
|
|
@ -7,7 +7,7 @@ import mage.game.Game;
|
|||
public class ManacostVariableValue implements DynamicValue {
|
||||
@Override
|
||||
public int calculate(Game game, Ability sourceAbility) {
|
||||
return sourceAbility.getManaCostsToPay().getVariableCosts().get(0).getAmount();
|
||||
return sourceAbility.getManaCostsToPay().getX();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue