get vfx path

This commit is contained in:
NguyenVanDat
2025-11-28 08:57:53 +07:00
parent 28bdab60d8
commit 2715dcaa9c
@@ -7,6 +7,8 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using ModelRenderer.Scripts.Common;
using UnityEngine;
namespace BrewMonster
@@ -758,7 +760,8 @@ public class CECAttackEvent
{
TARGET_DATA data = m_targets[i];
// string fullGfx = pWeaponType.GetFileHitGfx();
var fullGfx = ByteToStringUtils.ByteArrayToCP936String(pWeaponType.file_hitgfx);
fullGfx = fullGfx.Substring(4);
// szGFX = fullGfx.Length > 4 ? fullGfx.Substring(4) : string.Empty; // skip gfx/
// szGFX = pWeaponType.file_hitgfx
// if ((data.dwModifier & (uint)MOD.MOD_NULLITY) != 0)