mirror of
https://github.com/Shu-Ying/noname-shuying.git
synced 2026-10-21 14:49:59 +08:00
fixed # 新增印牌羁绊
fixed # 修复部分已知问题
This commit is contained in:
@@ -8,6 +8,9 @@ export function getSkillRecoverOrigin(event, lib, get) {
|
||||
const visited = new Set();
|
||||
while (current && !visited.has(current)) {
|
||||
visited.add(current);
|
||||
if (["card", "precard", "postcard"].includes(current.type)) {
|
||||
return null;
|
||||
}
|
||||
if (["useCard", "respond", "recover", "damage"]
|
||||
.includes(current.name) || current.name?.endsWith("_cost")) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user