Try it!
public void broadcastStatusUpdate()
{
// Send StatusUpdate with current HP, MP and CP to this L2PcInstance
StatusUpdate su = new StatusUpdate(this);
+ su.addAttribute(StatusUpdate.MAX_HP, getMaxHp());
su.addAttribute(StatusUpdate.CUR_HP, (int) getCurrentHp());
+ su.addAttribute(StatusUpdate.MAX_MP, getMaxMp());
su.addAttribute(StatusUpdate.CUR_MP, (int) getCurrentMp());
+ su.addAttribute(StatusUpdate.MAX_CP, getMaxCp());
su.addAttribute(StatusUpdate.CUR_CP, (int) getCurrentCp());
- su.addAttribute(StatusUpdate.MAX_CP, getMaxCp());
sendPacket(su);
+ Broadcast.toKnownPlayersInRadius(this, su, 3000);
final boolean needCpUpdate = needCpUpdate(352);
final boolean needHpUpdate = needHpUpdate(352);