Add temp hack for num hits and UF

Not sure what I screwed up, could of sworn it was working right before,
but that was also 3 AM or something

Rewrote UF's OP_BuffCreate to use the Write* functions which are a bit
more straight forward
This commit is contained in:
Michael Cook (mackal)
2014-10-05 14:45:26 -04:00
parent b6be6c3709
commit 3ad7ab625d
2 changed files with 13 additions and 18 deletions
+3
View File
@@ -3396,6 +3396,9 @@ void Mob::BuffProcess()
if(buffs[buffs_i].UpdateClient == true)
{
CastToClient()->SendBuffDurationPacket(buffs[buffs_i]);
// Hack to get UF to play nicer, RoF seems fine without it
if (CastToClient()->GetClientVersion() == EQClientUnderfoot)
CastToClient()->SendBuffNumHitPacket(buffs[buffs_i], buffs_i);
buffs[buffs_i].UpdateClient = false;
}
}