From 0708288593e917edcd72b4dd79e3383dc6e9524e Mon Sep 17 00:00:00 2001 From: Forever_Railgun <14428346+Forever_Railgun@user.noreply.gitee.com> Date: Tue, 27 May 2025 13:12:16 +0800 Subject: [PATCH] fix hasShownSkill --- lua/core/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/core/player.lua b/lua/core/player.lua index 52fa9be..6540716 100644 --- a/lua/core/player.lua +++ b/lua/core/player.lua @@ -959,7 +959,7 @@ function Player:hasShownSkill(skill, ignoreNullified, ignoreAlive) return not self:isFakeSkill(skill) else if type(skill) == "string" then skill = Fk.skills[skill] end - return table.contains(self.player_skills, skill) + return table.contains(self.player_skills, skill) and self.derivative_skills[skill] ~= nil end end -- Gitee