Core/Unit: Threat values sent to the client should be multiplied by 100, as pointed out by Aokromes.
--HG-- branch : trunk
This commit is contained in:
@@ -16833,7 +16833,7 @@ void Unit::SendThreatListUpdate()
|
||||
for (std::list<HostileReference*>::const_iterator itr = tlist.begin(); itr != tlist.end(); ++itr)
|
||||
{
|
||||
data.appendPackGUID((*itr)->getUnitGuid());
|
||||
data << uint32((*itr)->getThreat());
|
||||
data << uint32((*itr)->getThreat()*100);
|
||||
}
|
||||
SendMessageToSet(&data, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user