Commit 1dad786f authored by xylitolhub's avatar xylitolhub

Fix bug of searching pendulum level

Signed-off-by: default avatarxylitolhub <xylitolhub@github.com>
parent d04a2fd8
...@@ -106,7 +106,7 @@ class CardSearchInfo { ...@@ -106,7 +106,7 @@ class CardSearchInfo {
} }
if (pscale != -1) { if (pscale != -1) {
if (!((card.Level >> 16 & 255) == pscale || (card.Level >> 24 & 255) == pscale)) { if (!card.isType(CardType.Pendulum) || card.LScale != pscale && card.RScale != pscale) {
return false; return false;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment