Core/Items: Fixed items with negative stats
This commit is contained in:
@@ -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