This commit is contained in:
YoumuKon 2024-04-26 18:43:20 +08:00
parent 27bdfe9afc
commit b403ddc5f9

View File

@ -322,11 +322,6 @@ RowLayout {
const enabled_cards = [];
const targets = roomScene.selected_targets;
const prompt = lcall("ActiveSkillPrompt", pending_skill, pendings,
targets);
if (prompt !== "") {
roomScene.setPrompt(Util.processPrompt(prompt));
}
handcardAreaItem.cards.forEach((card) => {
if (card.selected || lcall("ActiveCardFilter", pending_skill, card.cid,
@ -373,6 +368,11 @@ RowLayout {
pending_card = -1;
cardSelected(pending_card);
}
const prompt = lcall("ActiveSkillPrompt", pending_skill, pendings,
targets);
if (prompt !== "") {
roomScene.setPrompt(Util.processPrompt(prompt));
}
}
function startPending(skill_name) {