diff --git a/character/huicui/skill.js b/character/huicui/skill.js index 2bbbd4f66..17f557256 100644 --- a/character/huicui/skill.js +++ b/character/huicui/skill.js @@ -12366,7 +12366,11 @@ const skills = { }, direct: true, filter: function (event, player) { - return player.hasSkill("wanggui") && !player.hasSkill("wanggui2"); + if (!player.hasSkill("wanggui") || player.hasSkill("wanggui2")) return false; + if (!player.isUnseen(2)) return true; + return !player.isUnseen() && [player.name1, player.name2].some(name => { + return get.character(name, 3).includes("wanggui"); + }); }, preHidden: true, content: function () { diff --git a/mode/guozhan.js b/mode/guozhan.js index 396d7a81a..df286370a 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -20617,9 +20617,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { trigger: { player: ["showCharacterAfter", "removeCharacterBefore"] }, filter: function (event, player) { if (event.name == "removeCharacter" || event.name == "changeVice") - return event.toRemove.some(name => { - return get.character(name, 3).includes("gzguixiu"); - }) && player.isDamaged(); + return get.character(event.toRemove, 3).includes("gzguixiu") && player.isDamaged(); return event.toShow.some(name => { return get.character(name, 3).includes("gzguixiu"); });