- fixed a bug introduced in Momir with previous revision
- Added som french translations
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-06-06 05:57:48 +00:00
parent ab42e5db06
commit c5d13e7cac
5 changed files with 40 additions and 23 deletions
+2 -3
View File
@@ -176,9 +176,8 @@ vector<int> MTGMomirRule::pool[20];
MTGMomirRule::MTGMomirRule(int _id, MTGAllCards * _collection):MTGAbility(_id, NULL){
collection = _collection;
if (!initialized){
int total_cards = collection->totalCards();
for (int i = 0; i < total_cards; i++){
MTGCard * card = collection->collection[i];
for (int i = 0; i < collection->ids.size(); i++){
MTGCard * card = collection->collection[collection->ids[i]];
if (card->isACreature()){
int convertedCost = card->getManaCost()->getConvertedCost();
if (convertedCost>20) continue;