【乱掠】增加当前阶段判断

This commit is contained in:
157 2024-05-06 14:32:52 +08:00
parent c9ad4ca585
commit 3a2bc61a89
1 changed files with 1 additions and 0 deletions

View File

@ -6257,6 +6257,7 @@ const skills = {
var history = current.getHistory("useCard"); var history = current.getHistory("useCard");
if (!history.length) return false; if (!history.length) return false;
for (var evt of history) { for (var evt of history) {
if (evt.getParent("phaseUse") !== event) return false;
if (evt.card && evt.card.name == "shunshou") { if (evt.card && evt.card.name == "shunshou") {
targets.addArray(evt.targets); targets.addArray(evt.targets);
} }