- support for tinyCrops see http://wololo.net/forum/viewtopic.php?f=15&t=2197
- card images can now be named after the card's name (ex: sets/10E/Ancestor's Chosen.jpg , or sets/10E/10E.zip:Ancestor's Chosen.jpg)
- yet another attempt at fixing tokens in the shop
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-09-20 07:10:21 +00:00
parent e654f01307
commit bdc43052d3
12 changed files with 293 additions and 27 deletions

View File

@@ -829,7 +829,7 @@ MTGMomirRule::MTGMomirRule(int _id, MTGAllCards * _collection):MTGAbility(_id, N
MTGCard * card = collection->collection[collection->ids[i]];
if (card->data->isCreature() &&
(card->getRarity() != Constants::RARITY_T) && //remove tokens
card->setId != -1 //remove cards that are defined in primitives. Those are workarounds (usually tokens) and should only be used internally
card->setId != MTGSets::INTERNAL_SET //remove cards that are defined in primitives. Those are workarounds (usually tokens) and should only be used internally
){
int convertedCost = card->data->getManaCost()->getConvertedCost();
if (convertedCost>20) continue;