package mage.abilities.dynamicvalue.common;

import mage.abilities.Ability;
import mage.abilities.dynamicvalue.DynamicValue;
import mage.game.Game;

public class ManacostVariableValue implements DynamicValue {
    @Override
    public int calculate(Game game, Ability sourceAbility) {
        return sourceAbility.getManaCostsToPay().getX();
    }

    @Override
    public DynamicValue copy() {
        return new ManacostVariableValue();
    }

    @Override
    public String toString() {
        return "X";
    }

    @Override
    public String getMessage() {
        return "";
    }
}
