Commit a14c1573 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'fix/build_deck' into 'main'

修复组卡页灵摆卡不能放到主卡组的问题

See merge request !293
parents 07cbcd4a 5a2c46b7
Pipeline #23341 passed with stages
in 11 minutes and 4 seconds
......@@ -97,13 +97,7 @@ export function extraCardTypes(typeCode: number): number[] {
/** 这张卡能不能放入额外卡组 */
export function isExtraDeckCard(typeCode: number): boolean {
const extraTypes = [
TYPE_PENDULUM,
TYPE_LINK,
TYPE_SYNCHRO,
TYPE_XYZ,
TYPE_FUSION,
];
const extraTypes = [TYPE_LINK, TYPE_SYNCHRO, TYPE_XYZ, TYPE_FUSION];
return extraTypes.reduce((acc, cur) => (acc | cur) & typeCode, 0) > 0;
}
......
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