mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 10:37:02 +00:00
[7087] Use signed type as expected for item material field. This also fix -1 value output for it.
Also disable Class/Subclass item_template check by dbc data for avoid unexpected log spam (dbc have some wrong values for this fields).
This commit is contained in:
parent
1b7b00a1f5
commit
c7a5537bac
6 changed files with 16 additions and 13 deletions
|
|
@ -808,14 +808,14 @@ struct GtRegenMPPerSptEntry
|
|||
|
||||
struct ItemEntry
|
||||
{
|
||||
uint32 ID;
|
||||
uint32 Class;
|
||||
uint32 SubClass;
|
||||
uint32 Unk0;
|
||||
uint32 Material;
|
||||
uint32 DisplayId;
|
||||
uint32 InventoryType;
|
||||
uint32 Sheath;
|
||||
uint32 ID; // 0
|
||||
//uint32 Class; // 1
|
||||
//uint32 SubClass; // 2
|
||||
uint32 Unk0; // 3
|
||||
int32 Material; // 4
|
||||
uint32 DisplayId; // 5
|
||||
uint32 InventoryType; // 6
|
||||
uint32 Sheath; // 7
|
||||
};
|
||||
|
||||
struct ItemDisplayInfoEntry
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ const char GtOCTRegenHPfmt[]="f";
|
|||
//const char GtOCTRegenMPfmt[]="f";
|
||||
const char GtRegenHPPerSptfmt[]="f";
|
||||
const char GtRegenMPPerSptfmt[]="f";
|
||||
const char Itemfmt[]="niiiiiii";
|
||||
const char Itemfmt[]="nxxiiiii";
|
||||
//const char ItemDisplayTemplateEntryfmt[]="nxxxxxxxxxxixxxxxxxxxxx";
|
||||
//const char ItemCondExtCostsEntryfmt[]="xiii";
|
||||
const char ItemExtendedCostEntryfmt[]="niiiiiiiiiiiiix";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7086"
|
||||
#define REVISION_NR "7087"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue