new protocol code

This commit is contained in:
Max-Wilhelm Bruker
2010-02-26 17:28:02 +01:00
parent ba8d40211c
commit 888a64b0fd
25 changed files with 487 additions and 333 deletions

View File

@@ -91,7 +91,11 @@ CardInfo *OracleImporter::addCard(QString cardName, const QString &cardCost, con
if (cardText.contains(cardName + " is green."))
colors << "G";
card = new CardInfo(this, cardName, cardCost, cardType, cardPT, fullCardText, colors);
bool cipt = (cardText.contains(cardName + " enters the battlefield tapped."));
if (cipt)
qDebug() << cardName;
card = new CardInfo(this, cardName, cardCost, cardType, cardPT, fullCardText, colors, cipt);
card->setPicURL(getURLFromName(cardName));
int tableRow = 1;
QString mainCardType = card->getMainCardType();