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:
@@ -52,7 +52,10 @@ int AIMomirPlayer::momir()
|
||||
|
||||
if (efficiency >= chance)
|
||||
{
|
||||
int8_t _cost[] = { Constants::MTG_COLOR_ARTIFACT, converted };
|
||||
|
||||
std::vector<int8_t> _cost;
|
||||
_cost.push_back(Constants::MTG_COLOR_ARTIFACT);
|
||||
_cost.push_back(converted);
|
||||
ManaCost * cost = NEW ManaCost(_cost);
|
||||
MTGAbility * ability = getMomirAbility();
|
||||
MTGCardInstance * card = game->hand->cards[0];
|
||||
|
||||
Reference in New Issue
Block a user