Merge pull request 'feature/gfx-action' (#419) from feature/gfx-action into develop
Reviewed-on: https://git.pthub.vn/Unity/perfect-world-unity/pulls/419
This commit is contained in:
@@ -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}");
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user