taught AI basic attack and block cost.

added functionality to send specific abilities to AI "selectAbility" to have it find mana, targets, and use a selected ability at our command.
This commit is contained in:
zethfoxster
2016-07-18 22:03:16 -04:00
parent 37fd0ebbd2
commit 6316577ec7
3 changed files with 113 additions and 10 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ class AIPlayerBaka: public AIPlayer{
virtual bool payTheManaCost(ManaCost * cost, MTGCardInstance * card = NULL,vector<MTGAbility*> gotPayment = vector<MTGAbility*>());
virtual int getCreaturesInfo(Player * player, int neededInfo = INFO_NBCREATURES , int untapMode = 0, int canAttack = 0);
virtual ManaCost * getPotentialMana(MTGCardInstance * card = NULL);
virtual int selectAbility();
virtual int selectAbility(MTGAbility * Specific = NULL);
public:
enum {