Fixed some cards

replaced @lifed with @lifeof, had to hardcode conduit of ruin...
This commit is contained in:
Anthony Calosa
2016-08-16 12:17:53 +08:00
parent 559331cf82
commit 1eae3a032f
7 changed files with 55 additions and 21 deletions
+14
View File
@@ -643,6 +643,20 @@ size_t MTGGameZone::getIndex(MTGCardInstance * card)
return -1;
}
unsigned int MTGGameZone::countByAlias(int number)
{
if(!number)
return 0;
int result = 0;
for (int i = 0; i < (nb_cards); i++)
{
if (cards[i]->alias == number)
{
result++;
}
}
return result;
}
unsigned int MTGGameZone::countByType(const string &value)
{