05-15-2021, 11:33 PM
40 minutes ago, Andrein95 said:
Thank you guys. I found it, in InventoryManager:
CNetMsg::SP rmsg(new CNetMsg);
rmsg->Init(MSG_PK);
RefMsg(rmsg) << (unsigned char)MSG_PK_TARGET_SHOWHP
<< (char)0 ;
SEND_Q( rmsg, owner_->m_desc);
I'd like to ask a question about the rendering of this in the client:
Why there is TargetInfoNewUI.cpp and UiTargetInfo that seems to be do the same things?
inventory manager ? Pretty strange ... should be linked at TargetInfoNewUI.cpp UiTargetInfo imo (didn't checked so idk). The information about hp should be already in the client since they are used for set the max hp bar and correctly subtract the damage value at the mobs. It should be already used for create the NPC HP BAR

