mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
Added StatsCount field to item_template
This commit is contained in:
parent
ba4b9ad480
commit
4bf3c3b488
4 changed files with 6 additions and 3 deletions
|
|
@ -311,8 +311,8 @@ void WorldSession::HandleItemQuerySingleOpcode( WorldPacket & recv_data )
|
|||
data << pProto->MaxCount;
|
||||
data << pProto->Stackable;
|
||||
data << pProto->ContainerSlots;
|
||||
data << uint32(10); // item stats count?
|
||||
for(int i = 0; i < 10; i++)
|
||||
data << pProto->StatsCount; // item stats count
|
||||
for(int i = 0; i < pProto->StatsCount; i++)
|
||||
{
|
||||
data << pProto->ItemStat[i].ItemStatType;
|
||||
data << pProto->ItemStat[i].ItemStatValue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue