done gfx for monster

This commit is contained in:
vuong dinh hoang
2026-05-08 17:17:08 +07:00
parent c58c7be1bd
commit 8f7d7e017b
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -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()*/);
}
}
}
@@ -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}");
+2 -2
View File
@@ -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,