Modifications to make the game more generic.
Included in a new modrules.xml tags. <cardgui> <background> Stores information concerning the colors </ background> <renderbig> Stores information to draw the card </ renderbig> <rendertinycrop> Stores information to draw the card </ rendertinycrop> </ cardgui> Change the variables array for vectors
This commit is contained in:
@@ -552,7 +552,7 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
|
||||
{
|
||||
int attributefound = 0;
|
||||
//Colors - remove Artifact and Land from the loop
|
||||
for (int cid = 1; cid < Constants::MTG_NB_COLORS - 1; cid++)
|
||||
for (int cid = 1; cid < Constants::NB_Colors - 1; cid++)
|
||||
{
|
||||
if (attribute.find(Constants::MTGColorStrings[cid]) != string::npos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user