Use percent hp and mana in creature spawns table.
This commit is contained in:
@@ -680,7 +680,7 @@ void Object::BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask *
|
||||
else
|
||||
*data << uint32(m_uint32Values[index]);
|
||||
}
|
||||
// Hide real health value. Send a percent instead. See ShowHealth.Values option in mangosd.conf
|
||||
// Hide real health value. Send a percent instead. See ShowHealthValues option in mangosd.conf
|
||||
else if (!ShowHealthValues && (index == UNIT_FIELD_HEALTH || index == UNIT_FIELD_MAXHEALTH))
|
||||
{
|
||||
Player* owner = ((Unit*)this)->GetCharmerOrOwnerPlayerOrPlayerItself();
|
||||
|
||||
Reference in New Issue
Block a user