Improved Android downloader, fixed snow mana cost, merged opponentlifetotal and oplifetotal keywords

This commit is contained in:
valfieri
2020-10-06 19:00:39 +02:00
parent e4f5d7784a
commit ad26450151
4 changed files with 11 additions and 13 deletions

View File

@@ -655,10 +655,6 @@ private:
if(card->playerTarget)
intValue = card->playerTarget->curses.size();
}
else if (s == "oplifetotal")
{
intValue = target->controller()->opponent()->life;
}
else if (s == "lifetotal")
{
intValue = target->controller()->life;
@@ -1023,7 +1019,7 @@ private:
intValue += card->controller()->game->inPlay->cards[j]->getCurrentPower();
}
}
else if (s == "toughnesstotalinplay")//Count Total toughness of Creatures you control... Formidable
else if (s == "toughnesstotalinplay")//Count Total toughness of Creatures you control...
{
intValue = 0;
for (int j = card->controller()->game->inPlay->nb_cards - 1; j >= 0; --j)