in this commit, if we move a card from the library to the library then we were intending on placing that card on top of the library.
taught ai when not to play a planeswalker, told ai to look for planeswalkers as a card type to play. fixed a crash related to tokens and cardgui..tokens dont have models.... made a 1 line change to deckveiwer that makes it usable on touch devices and improves the overall look and feel of deckveiwer....
This commit is contained in:
@@ -102,9 +102,9 @@ int AIStats::receiveEvent(WEvent * event)
|
||||
}
|
||||
|
||||
stats.sort(compare_aistats); //this could be slow, if it is, let's run it only at the end of the turn
|
||||
return 1; //is this meant to return 0 or 1?
|
||||
return 1;
|
||||
}
|
||||
//TODO:what does this do?
|
||||
//the following tells ai if a creature should be blocked or targeted
|
||||
bool AIStats::isInTop(MTGCardInstance * card, unsigned int max, bool tooSmallCountsForTrue)
|
||||
{
|
||||
//return true;
|
||||
|
||||
Reference in New Issue
Block a user