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:
@@ -187,7 +187,7 @@ string AIHints::constraintsNotFulfilled(AIAction * action, AIHint * hint, ManaCo
|
||||
{
|
||||
//Not enough Mana, try to find which mana we should get in priority
|
||||
ManaCost * diff = potentialMana->Diff(a->getCost());
|
||||
for (int i = 0; i < Constants::MTG_NB_COLORS; i++)
|
||||
for (int i = 0; i < Constants::NB_Colors; i++)
|
||||
{
|
||||
if(diff->getCost(i) < 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user