File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ ALTER TABLE ` creature_classlevelstats` CHANGE ` basehp0` ` basehp0` int unsigned NOT NULL DEFAULT ' 1' ;
2+ ALTER TABLE ` creature_classlevelstats` CHANGE ` basehp1` ` basehp1` int unsigned NOT NULL DEFAULT ' 1' ;
3+ ALTER TABLE ` creature_classlevelstats` CHANGE ` basehp2` ` basehp2` int unsigned NOT NULL DEFAULT ' 1' ;
4+ ALTER TABLE ` creature_classlevelstats` CHANGE ` basemana` ` basemana` int unsigned NOT NULL DEFAULT ' 1' ;
5+ ALTER TABLE ` creature_classlevelstats` CHANGE ` basearmor` ` basearmor` int unsigned NOT NULL DEFAULT ' 1' ;
Original file line number Diff line number Diff line change @@ -10041,7 +10041,7 @@ void ObjectMgr::LoadCreatureClassLevelStats()
1004110041
1004210042 for (uint8 i = 0 ; i < MAX_EXPANSIONS; ++i)
1004310043 {
10044- stats.BaseHealth [i] = fields[2 + i].GetUInt16 ();
10044+ stats.BaseHealth [i] = fields[2 + i].GetUInt32 ();
1004510045
1004610046 if (stats.BaseHealth [i] == 0 )
1004710047 {
@@ -10057,8 +10057,8 @@ void ObjectMgr::LoadCreatureClassLevelStats()
1005710057 }
1005810058 }
1005910059
10060- stats.BaseMana = fields[5 ].GetUInt16 ();
10061- stats.BaseArmor = fields[6 ].GetUInt16 ();
10060+ stats.BaseMana = fields[5 ].GetUInt32 ();
10061+ stats.BaseArmor = fields[6 ].GetUInt32 ();
1006210062
1006310063 stats.AttackPower = fields[7 ].GetUInt16 ();
1006410064 stats.RangedAttackPower = fields[8 ].GetUInt16 ();
You can’t perform that action at this time.
0 commit comments