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:
skwerlman 2019-04-09 13:12:15 -04:00 committed by Zach H
parent 837924b819
commit d018070891

View file

@ -123,7 +123,8 @@ 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") &&
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