From e2f4dd70953fb69a491a6c957be55e17d2e457a1 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Fri, 22 Mar 2013 01:35:45 +0000 Subject: [PATCH] if its a land you should consider playing it. --- projects/mtg/src/AIPlayerBaka.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projects/mtg/src/AIPlayerBaka.cpp b/projects/mtg/src/AIPlayerBaka.cpp index 53542f8fd..33a66c45e 100644 --- a/projects/mtg/src/AIPlayerBaka.cpp +++ b/projects/mtg/src/AIPlayerBaka.cpp @@ -1801,12 +1801,16 @@ MTGCardInstance * AIPlayerBaka::FindCardToPlay(ManaCost * pMana, const char * ty { shouldPlayPercentage = 90; } - else if (BAKA_EFFECT_DONTKNOW == shouldPlay || card->isLand()) + else if (BAKA_EFFECT_DONTKNOW == shouldPlay) { //previously shouldPlayPercentage = 80;, I found this a little to high //for cards which AI had no idea how to use. shouldPlayPercentage = 60; } + else if (card->isLand()) + { + shouldPlayPercentage = 90; + } else { // shouldPlay == baka_effect_bad giving it a 1 for odd ball lottery chance.