cost属性添加skill_popup,为false则不进行logSkill
This commit is contained in:
parent
d781b069f5
commit
39ab072530
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue