Fix cipt check for shock lands (#3678)
* Fix #3410 The oracle text for shock lands has changed such that they no longer get `cipt`. This fixes that. * fix whitespace * use shorter check
This commit is contained in:
parent
837924b819
commit
d018070891
1 changed files with 3 additions and 2 deletions
|
@ -123,8 +123,9 @@ CardInfoPtr OracleImporter::addCard(QString name,
|
||||||
// DETECT CARD POSITIONING INFO
|
// DETECT CARD POSITIONING INFO
|
||||||
|
|
||||||
// cards that enter the field tapped
|
// cards that enter the field tapped
|
||||||
bool cipt = text.contains("Hideaway") || (text.contains(name + " enters the battlefield tapped") &&
|
bool cipt = text.contains("Hideaway") || text.contains(" it enters the battlefield tapped") ||
|
||||||
!text.contains(name + " enters the battlefield tapped unless"));
|
(text.contains(name + " enters the battlefield tapped") &&
|
||||||
|
!text.contains(name + " enters the battlefield tapped unless"));
|
||||||
|
|
||||||
// detect mana generator artifacts
|
// detect mana generator artifacts
|
||||||
QStringList cardTextRows = text.split("\n");
|
QStringList cardTextRows = text.split("\n");
|
||||||
|
|
Loading…
Reference in a new issue