From bb9d98cc0c33707b39dd99bda9a8d63960e79d39 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Mon, 20 Feb 2017 23:23:13 +0800 Subject: [PATCH] AI ignore sphinx of jwar isle --- projects/mtg/src/AIPlayerBaka.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/AIPlayerBaka.cpp b/projects/mtg/src/AIPlayerBaka.cpp index 185d92ec0..e3bc5160d 100644 --- a/projects/mtg/src/AIPlayerBaka.cpp +++ b/projects/mtg/src/AIPlayerBaka.cpp @@ -619,7 +619,7 @@ int OrderedAIAction::getEfficiency() } else if (GenericRevealAbility * grA = dynamic_cast(a)) { - if(grA->source->getAICustomCode().size()) + if(grA->source->getAICustomCode().size() && grA->source->alias != 185709)//Sphinx of Jwar Isle so the ai will ignore it efficiency = 45 + (owner->getRandomGenerator()->random() % 50); else efficiency = 0;