mirror of
https://github.com/ornfelt/azerothcore_lua_scripts
synced 2026-08-22 06:26:03 -04:00
13 lines
703 B
Diff
13 lines
703 B
Diff
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
|
|
index 04f3395..322858f 100644
|
|
--- a/src/server/game/Globals/ObjectMgr.cpp
|
|
+++ b/src/server/game/Globals/ObjectMgr.cpp
|
|
@@ -2273,7 +2273,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 = int32(fields[29 + i*2].GetInt16());
|
|
+ itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i*2].GetInt32());
|
|
}
|
|
|
|
itemTemplate.ScalingStatDistribution = uint32(fields[48].GetUInt16());
|