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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user