fix(content): Converts buff icon packets (#389)
- [X] Converts buff icon packets, and avoids string formatting.
This commit is contained in:
parent
0912876f7c
commit
03bdff2293
8 changed files with 243 additions and 96 deletions
|
|
@ -4574,7 +4574,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
foreach (var info in m_BuffTable.Values)
|
||||
{
|
||||
NetState.Send(new AddBuffPacket(this, info));
|
||||
info.SendAddBuffPacket(NetState, Serial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4594,7 +4594,7 @@ namespace Server.Mobiles
|
|||
|
||||
if (NetState?.BuffIcon == true)
|
||||
{
|
||||
NetState.Send(new AddBuffPacket(this, b));
|
||||
b.SendAddBuffPacket(NetState, Serial);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -4622,7 +4622,7 @@ namespace Server.Mobiles
|
|||
|
||||
if (NetState?.BuffIcon == true)
|
||||
{
|
||||
NetState.Send(new RemoveBuffPacket(this, b));
|
||||
BuffInfo.SendRemoveBuffPacket(NetState, Serial, b);
|
||||
}
|
||||
|
||||
if (m_BuffTable.Count <= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue