Fixed Loxodon Lifechanter

This commit is contained in:
valfieri
2019-09-16 20:57:51 +02:00
parent 4ce2a5c36e
commit 43be15e832
2 changed files with 15 additions and 5 deletions
+10 -1
View File
@@ -998,7 +998,16 @@ private:
for (int j = card->controller()->game->inPlay->nb_cards - 1; j >= 0; --j)
{
if (card->controller()->game->inPlay->cards[j]->hasType(Subtypes::TYPE_CREATURE))
intValue += card->controller()->game->inPlay->cards[j]->power;
intValue += card->controller()->game->inPlay->cards[j]->getCurrentPower();
}
}
else if (s == "toughnesstotalinplay")//Count Total toughness of Creatures you control... Formidable
{
intValue = 0;
for (int j = card->controller()->game->inPlay->nb_cards - 1; j >= 0; --j)
{
if (card->controller()->game->inPlay->cards[j]->hasType(Subtypes::TYPE_CREATURE))
intValue += card->controller()->game->inPlay->cards[j]->getCurrentToughness();
}
}
else if (s == "mypos")