Include the Phyrexian mana display. Include more features in modrules.xml: Now is possible to change font color, Size. Include icon tag. Is possible select position to show the icon, size and where the image is stored
<item name="icon"> <position x="0" y="25"/> <iconposition x="1" y="2"/> <filename>menuicons.png</filename> <sizeicon>5<sizeicon> </item> Issue: 663
This commit is contained in:
@@ -510,6 +510,17 @@ ManaCostHybrid * ManaCost::getHybridCost(unsigned int i)
|
||||
return &hybrids[i];
|
||||
}
|
||||
|
||||
ExtraCost * ManaCost::getExtraCost(unsigned int i)
|
||||
{
|
||||
if(extraCosts && extraCosts->costs.size())
|
||||
{
|
||||
if (extraCosts->costs.size() <= i)
|
||||
return NULL;
|
||||
return extraCosts->costs[i];
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int ManaCost::hasColor(int color)
|
||||
{
|
||||
if (getCost(color))
|
||||
|
||||
Reference in New Issue
Block a user