taught ai basic extracost targeting...by basic i mean its not going to choose a token creature over its 20/20 flyer for the target of an extracost...it will target whatever it can for the cost. but atleast it can handle extra cost which are targeted now, rather then ignore them completely.

also removed a peice of aiplayer::render, that was moved into aiplayerbaka.....
This commit is contained in:
omegablast2002@yahoo.com
2011-09-24 18:42:37 +00:00
parent 404137b144
commit 96cbe18be0
4 changed files with 51 additions and 12 deletions

View File

@@ -76,7 +76,7 @@ class AIPlayerBaka: public AIPlayer{
// returns 1 if the AI algorithm supports a given cost (ex:simple mana cost), 0 otherwise (ex: cost involves Sacrificing a target)
virtual int CanHandleCost(ManaCost * cost);
virtual int CanHandleCost(ManaCost * cost, MTGCardInstance * card = NULL);
//Tries to play an ability recommended by the deck creator
virtual int selectHintAbility();