More restrictive on the temp hack for UF (only spells with numhits)

This commit is contained in:
Michael Cook (mackal) 2014-10-05 15:15:17 -04:00
parent 3ad7ab625d
commit 5be8e710a9

View File

@ -3397,7 +3397,7 @@ void Mob::BuffProcess()
{
CastToClient()->SendBuffDurationPacket(buffs[buffs_i]);
// Hack to get UF to play nicer, RoF seems fine without it
if (CastToClient()->GetClientVersion() == EQClientUnderfoot)
if (CastToClient()->GetClientVersion() == EQClientUnderfoot && buffs[buffs_i].numhits > 0)
CastToClient()->SendBuffNumHitPacket(buffs[buffs_i], buffs_i);
buffs[buffs_i].UpdateClient = false;
}