mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 14:53:53 -07:00
0 values in power/toughness filters won't match non-zero values anymore (#3250)
## Related Ticket(s) - Fixes #3212 ## What will change with this Pull Request? - `0` input on power/toughness filters will only return `0` values - `relationCheck` method will only get called after simple string comparison failed - due to their similar structure `acceptPower` and `acceptToughness` methods has been merged
This commit is contained in:
parent
ec4a99e47b
commit
b3df71ae41
2 changed files with 25 additions and 14 deletions
|
|
@ -210,8 +210,7 @@ public:
|
|||
bool acceptSet(const CardInfoPtr info) const;
|
||||
bool acceptManaCost(const CardInfoPtr info) const;
|
||||
bool acceptCmc(const CardInfoPtr info) const;
|
||||
bool acceptPower(const CardInfoPtr info) const;
|
||||
bool acceptToughness(const CardInfoPtr info) const;
|
||||
bool acceptPowerToughness(const CardInfoPtr info, CardFilter::Attr attr) const;
|
||||
bool acceptLoyalty(const CardInfoPtr info) const;
|
||||
bool acceptRarity(const CardInfoPtr info) const;
|
||||
bool acceptCardAttr(const CardInfoPtr info, CardFilter::Attr attr) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue