cost属性添加skill_popup,为false则不进行logSkill

This commit is contained in:
mengxinzxz 2024-06-05 17:57:13 +08:00
parent d781b069f5
commit 39ab072530
1 changed files with 1 additions and 1 deletions

View File

@ -2725,7 +2725,7 @@ export const Content = {
if (get.itemtype(targets) === "player") {
targets = [targets];
}
if (info.popup != false && !info.direct) {
if (info.popup != false && !info.direct && !("skill_popup" in result && !Boolean(result["skill_popup"]))) {
let popup_info = event.skill;
if (typeof info.popup === "string") popup_info = [event.skill, info.popup];
if (info.logLine === false) player.logSkill(popup_info, false, info.line);