Fixed primitives, updated italian lang file, added a new setting to sort decks by creation date (by default they will be sorted by name), added new filters to match cards that don't contain a particular color or that are multicolored, fixed an issue when the transformation with uynt is triggered by instant/sorcery or by card that left the battlefield before the ability ending turn, fixed a rendering overlap on mana symbols in deck editor, fixed some crashes on ManaCost parser (e.g. Filter by mana producer).
This commit is contained in:
@@ -46,6 +46,7 @@ public:
|
||||
CHEATMODEAIDECK,
|
||||
SHOWBORDER,
|
||||
BLKBORDER,
|
||||
SORTINGDECKS,
|
||||
SHOWTOKENS,
|
||||
SORTINGSETS,
|
||||
GDVLARGEIMAGE,
|
||||
|
||||
@@ -288,6 +288,29 @@ protected:
|
||||
int color;
|
||||
};
|
||||
|
||||
/**
|
||||
Matches a card that does not contain a particular color (inclusively).
|
||||
*/
|
||||
class WCFilterNotColor: public WCardFilter
|
||||
{
|
||||
public:
|
||||
WCFilterNotColor(int _c)
|
||||
{
|
||||
color = _c;
|
||||
}
|
||||
;
|
||||
WCFilterNotColor(string arg);
|
||||
bool isMatch(MTGCard * c);
|
||||
string getCode();
|
||||
float filterFee()
|
||||
{
|
||||
return 0.2f;
|
||||
}
|
||||
;
|
||||
protected:
|
||||
int color;
|
||||
};
|
||||
|
||||
/**
|
||||
Matches a card that is a particular color (exclusively).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user