AIPlayer minor tweaks:

- In order to clarify getEfficiency, started creating "getEfficiency" functions specific to each type of ability (see example with Damager). This won't reduce the file size but should make things bit clearer
- Minor cleanup of getEfficiency
- bug fixes in getEfficiency
This commit is contained in:
wagic.the.homebrew
2011-09-21 15:10:06 +00:00
parent 11095f3339
commit 15f0143a8f
10 changed files with 413 additions and 2489 deletions
+2 -2
View File
@@ -86,8 +86,8 @@ class MTGGameZone {
void cleanupPhase();
void beforeBeginPhase();
int countByType(const char * value);
int countByCanTarget(TargetChooser * tc);
unsigned int countByType(const char * value);
unsigned int countByCanTarget(TargetChooser * tc);
MTGCardInstance * findByName(string name);
//returns true if one of the cards in the zone has the ability