From e9cca5523fe8e158bb2c76362aba75889d3e5198 Mon Sep 17 00:00:00 2001 From: Yuuki <6851027-yukiz@users.noreply.gitlab.com> Date: Wed, 17 Jan 2024 04:06:09 +0800 Subject: [PATCH] revert `local defs`, make sure in config.json set `FAST_REQUIRE=false` --- .../Scripts/Common/V3_2/Boss_Battle_Process_Scaramouche.lua | 4 +--- Resources/Scripts/Scene/20154/scene20154_group220154001.lua | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Resources/Scripts/Common/V3_2/Boss_Battle_Process_Scaramouche.lua b/Resources/Scripts/Common/V3_2/Boss_Battle_Process_Scaramouche.lua index e571ac3d4..1b8a36b51 100644 --- a/Resources/Scripts/Common/V3_2/Boss_Battle_Process_Scaramouche.lua +++ b/Resources/Scripts/Common/V3_2/Boss_Battle_Process_Scaramouche.lua @@ -125,9 +125,7 @@ function action_EVENT_ANY_MONSTER_LIVE(context, evt) ScriptLib.PrintContextLog(context, "GetEntityIdByConfigId: "..monsterEntityId) local monsterId=ScriptLib.GetMonsterIdByEntityId(context, monsterEntityId) ScriptLib.PrintContextLog(context, "GetMonsterIdByEntityId :"..monsterId) - if LF_IsBossMonster(context,monsterId) then - ScriptLib.SetEntityServerGlobalValueByConfigId(context, evt.param1, "SGV_MONSTER_NADA", 1) - end + ScriptLib.SetEntityServerGlobalValueByConfigId(context, evt.param1, "SGV_MONSTER_NADA", 1) return 0 end diff --git a/Resources/Scripts/Scene/20154/scene20154_group220154001.lua b/Resources/Scripts/Scene/20154/scene20154_group220154001.lua index 45acaadc2..c0a0be7e5 100644 --- a/Resources/Scripts/Scene/20154/scene20154_group220154001.lua +++ b/Resources/Scripts/Scene/20154/scene20154_group220154001.lua @@ -4,7 +4,7 @@ local base_info = { } -- Trigger变量 -defs = { +local defs = { transTarget = 1004, phaseOneBoss = 1001, phaseTwoBoss = 1002,