Equation for the mana cost of a card