just changing some comments in svn...

This commit is contained in:
omegablast2002@yahoo.com
2011-09-25 13:41:12 +00:00
parent e8ea5a28d7
commit 3a2264febb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ protected:
int effectBadOrGood(MTGCardInstance * card, int mode = MODE_PUTINTOPLAY, TargetChooser * tc = NULL); int effectBadOrGood(MTGCardInstance * card, int mode = MODE_PUTINTOPLAY, TargetChooser * tc = NULL);
// returns 1 if the AI algorithm supports a given cost (ex:simple mana cost), 0 otherwise (ex: cost involves Sacrificing a target) // returns 1 if the AI algorithm supports a given cost (ex:simple mana cost), 0 otherwise
int CanHandleCost(ManaCost * cost); int CanHandleCost(ManaCost * cost);
//Tries to play an ability recommended by the deck creator //Tries to play an ability recommended by the deck creator
+1 -1
View File
@@ -1110,7 +1110,7 @@ vector<MTGAbility*> AIPlayerBaka::canPaySunBurst(ManaCost * cost)
} }
//Can't yet handle extraCost objects (ex: sacrifice) if they require a target :( //can handle extra cost to some extent, tho not wisely.
int AIPlayerBaka::CanHandleCost(ManaCost * cost, MTGCardInstance * card) int AIPlayerBaka::CanHandleCost(ManaCost * cost, MTGCardInstance * card)
{ {
if (!cost) if (!cost)