it was reported to me that the new phrexian mana should add to the cards converted mana cost...so a card which cost {b}{p(r)}{p(r)} should be 3 converted...

This commit is contained in:
omegablast2002@yahoo.com
2011-05-08 12:49:39 +00:00
parent 27df1e9172
commit 96c636643a

View File

@@ -487,6 +487,16 @@ int ManaCost::getConvertedCost()
{
result += hybrids[i].getConvertedCost();
}
if(extraCosts && extraCosts->costs.size())
{
for(unsigned int i = 0; i < extraCosts->costs.size();i++)
{
ExtraCost * pMana = dynamic_cast<LifeorManaCost*>(extraCosts->costs[i]);
if(pMana)
result++;
}
}
return result;
}