just changing some comments in svn...
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user