diff --git a/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs b/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs index 45fc25dd54..8d13a393e6 100644 --- a/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs +++ b/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs @@ -304,14 +304,14 @@ public class CECNPC : CECObject { // [中文] 移除旧状态效果 GFX // [English] Remove old state GFX - m_pNPCModelPolicy.RemoveGfx(strGFXFile, pvs.GetHH()); + m_pNPCModelPolicy.RemoveGfx(strGFXFile, "HH_头顶" /*pvs.GetHH()*/); } else { // [中文] 添加新状态效果 GFX // [English] Add new state GFX BMLogger.Log($"[HoangDev NPC StateGFX] Playing: {strGFXFile}, hook: {pvs.GetHH()}"); - m_pNPCModelPolicy.PlayGfx(strGFXFile, pvs.GetHH()); + m_pNPCModelPolicy.PlayGfx(strGFXFile,"HH_头顶" /*pvs.GetHH()*/); } } } diff --git a/Assets/PerfectWorld/Scripts/NPC/CECNPCModelDefaultPolicy.cs b/Assets/PerfectWorld/Scripts/NPC/CECNPCModelDefaultPolicy.cs index 4db37a3d61..0afdf771a1 100644 --- a/Assets/PerfectWorld/Scripts/NPC/CECNPCModelDefaultPolicy.cs +++ b/Assets/PerfectWorld/Scripts/NPC/CECNPCModelDefaultPolicy.cs @@ -260,6 +260,7 @@ public class CECNPCModelDefaultPolicy if (vfx == null) return; vfx.transform.localPosition = Vector3.zero; + vfx.transform.localRotation = Quaternion.Euler(-180f, -90f, 90f); _stateGfxObjects[key] = vfx; BMLogger.Log($"[NPC GFX] Playing: {szPath}, hook: {szHook}"); diff --git a/Assets/Resources/DebugCmdHistory.json b/Assets/Resources/DebugCmdHistory.json index 2e156f9aca..5da8d2d05a 100644 --- a/Assets/Resources/DebugCmdHistory.json +++ b/Assets/Resources/DebugCmdHistory.json @@ -5,14 +5,14 @@ "param": 0, "hasParam": false, "describe": "Buff rage", - "lastUsedUtcTicks": 639138106383814060 + "lastUsedUtcTicks": 639138321717437357 }, { "header": 8903, "param": 73125, "hasParam": true, "describe": "NoCooldown", - "lastUsedUtcTicks": 639137253458330904 + "lastUsedUtcTicks": 639138321659072960 }, { "header": 2000,