From d018070891e63da3f05f1c6c49abca0985d4bc83 Mon Sep 17 00:00:00 2001 From: skwerlman Date: Tue, 9 Apr 2019 13:12:15 -0400 Subject: [PATCH] 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 --- oracle/src/oracleimporter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oracle/src/oracleimporter.cpp b/oracle/src/oracleimporter.cpp index 4530470c..2476f345 100644 --- a/oracle/src/oracleimporter.cpp +++ b/oracle/src/oracleimporter.cpp @@ -123,8 +123,9 @@ CardInfoPtr OracleImporter::addCard(QString name, // DETECT CARD POSITIONING INFO // cards that enter the field tapped - bool cipt = text.contains("Hideaway") || (text.contains(name + " enters the battlefield tapped") && - !text.contains(name + " enters the battlefield tapped unless")); + bool cipt = text.contains("Hideaway") || text.contains(" it enters the battlefield tapped") || + (text.contains(name + " enters the battlefield tapped") && + !text.contains(name + " enters the battlefield tapped unless")); // detect mana generator artifacts QStringList cardTextRows = text.split("\n");