mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Creatures: Deleted unused creature damage fields (#22772)
This commit is contained in:
7
sql/updates/world/master/2018_11_07_00_world.sql
Normal file
7
sql/updates/world/master/2018_11_07_00_world.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE `creature_classlevelstats`
|
||||
DROP `damage_base`,
|
||||
DROP `damage_exp1`,
|
||||
DROP `damage_exp2`,
|
||||
DROP `damage_exp3`,
|
||||
DROP `damage_exp4`,
|
||||
DROP `damage_exp5`;
|
||||
@@ -9280,8 +9280,8 @@ CreatureBaseStats const* ObjectMgr::GetCreatureBaseStats(uint8 level, uint8 unit
|
||||
void ObjectMgr::LoadCreatureClassLevelStats()
|
||||
{
|
||||
uint32 oldMSTime = getMSTime();
|
||||
// 0 1 2 3 4 5 6 7 8 9 10 11
|
||||
QueryResult result = WorldDatabase.Query("SELECT level, class, basemana, basearmor, attackpower, rangedattackpower, damage_base, damage_exp1, damage_exp2, damage_exp3, damage_exp4, damage_exp5 FROM creature_classlevelstats");
|
||||
// 0 1 2 3 4 5
|
||||
QueryResult result = WorldDatabase.Query("SELECT level, class, basemana, basearmor, attackpower, rangedattackpower FROM creature_classlevelstats");
|
||||
|
||||
if (!result)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user