done gfx monster and fix bug movable when get stuned

This commit is contained in:
vuong dinh hoang
2026-05-08 16:53:47 +07:00
parent 73b8fc04e8
commit c58c7be1bd
6 changed files with 245 additions and 18 deletions
+2 -2
View File
@@ -609,7 +609,7 @@ namespace BrewMonster
private void OnMsgHstRootNotify(in ECMSG Msg)
{
if ((int)Msg.dwParam2 == CommandID.HOST_NOTIFY_ROOT)
if (Convert.ToInt32(Msg.dwParam2) == CommandID.HOST_NOTIFY_ROOT)
{
cmd_host_notify_root pCmd = GPDataTypeHelper.FromBytes<cmd_host_notify_root>((byte[])Msg.dwParam1);
m_dwLIES |=(uint) (1 << pCmd.type);
@@ -633,7 +633,7 @@ namespace BrewMonster
}
}
}
else if ((int)Msg.dwParam2 == CommandID.HOST_DISPEL_ROOT)
else if (Convert.ToInt32(Msg.dwParam2) == CommandID.HOST_DISPEL_ROOT)
{
cmd_host_dispel_root pCmd = GPDataTypeHelper.FromBytes<cmd_host_dispel_root>((byte[])Msg.dwParam1);
m_dwLIES &=(uint) ~(1 << pCmd.type);