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:
@@ -98,6 +98,7 @@ class MTGGameZone {
|
||||
|
||||
//returns true if one of the cards in the zone has the type
|
||||
bool hasType(const char * value);
|
||||
bool hasTypeSpecificInt(int value1,int value);
|
||||
bool hasSpecificType(const char* value, const char* secondvalue);
|
||||
bool hasPrimaryType(const char* value, const char* secondvalue);
|
||||
bool hasTypeButNotType(const char* value, const char* secondvalue);
|
||||
@@ -124,6 +125,7 @@ class MTGGameZone {
|
||||
|
||||
class MTGLibrary: public MTGGameZone {
|
||||
public:
|
||||
vector<MTGCardInstance*>placeOnTop;
|
||||
virtual ostream& toString(ostream&) const;
|
||||
const char * getName(){return "library";}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user