From a6307afbfcd6b888d5d22066850c3f185a999f31 Mon Sep 17 00:00:00 2001 From: Newaser Date: Tue, 27 May 2025 14:47:19 +0000 Subject: [PATCH] =?UTF-8?q?update=20lua/core/skill=5Fskeleton.lua.=20?= =?UTF-8?q?=E7=BB=99enabledAtNullification=E7=9A=84=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E5=8A=A0=E4=BA=86=E5=88=A4=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Newaser --- lua/core/skill_skeleton.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/core/skill_skeleton.lua b/lua/core/skill_skeleton.lua index ba2eae3..a126cad 100644 --- a/lua/core/skill_skeleton.lua +++ b/lua/core/skill_skeleton.lua @@ -520,7 +520,9 @@ function SkillSkeleton:createViewAsSkill(_skill, idx, key, attr, spec) if spec.click_count then skill.click_count = spec.click_count end - skill.enabledAtNullification = spec.enabled_at_nullification + if type(spec.enabled_at_nullification) == "function" then + skill.enabledAtNullification = spec.enabled_at_nullification + end skill.handly_pile = spec.handly_pile -- Gitee