Card Id Indicator
Indicates Card Id, Useful for cards/tokens to determine their correct Id in the primitives. Its much easier to fix missing images. Update your modrules.xml
This commit is contained in:
@@ -659,6 +659,14 @@ void CardGui::AlternateRender(MTGCard * card, const Pos& pos)
|
||||
|
||||
}
|
||||
|
||||
found = Carditem->mName.find("cardid"); // Write the cardid
|
||||
if (found != string::npos)
|
||||
{
|
||||
stringstream st;
|
||||
st << card->getMTGId();
|
||||
formattedfield = FormattedData(formattedfield, "mtgid", st.str());
|
||||
}
|
||||
|
||||
found = Carditem->mName.find("power"); // Write the strength
|
||||
if (found != string::npos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user