Fixed Loxodon Lifechanter
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user