Core/Items: Fixed items with negative stats
This commit is contained in:
1 parent
f8ca5aaa9b
commit
34347a4509
1 file changed
+1
-1
@@ -2340,7 +2340,7 @@ void ObjectMgr::LoadItemTemplates()
|
||||
for (uint8 i = 0; i < itemTemplate.StatsCount; ++i)
|
||||
{
|
||||
itemTemplate.ItemStat[i].ItemStatType = uint32(fields[28 + i*2].GetUInt8());
|
||||
itemTemplate.ItemStat[i].ItemStatValue = uint32(fields[29 + i*2].GetUInt16());
|
||||
itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i*2].GetInt16());
|
||||
}
|
||||
|
||||
itemTemplate.ScalingStatDistribution = uint32(fields[48].GetUInt16());
|
||||
|
||||
Reference in new issue
Block a user