mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
* SQL need to restore the *structure* of the DB after the backout
* from the previous commit --HG-- branch : trunk
This commit is contained in:
4
sql/updates/7147_world_creature_classlevelstats.sql
Normal file
4
sql/updates/7147_world_creature_classlevelstats.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE `creature_classlevelstats`
|
||||
DROP COLUMN `basedmg`,
|
||||
DROP COLUMN `baserangeddmg`;
|
||||
|
||||
10
sql/updates/7147_world_creature_template.sql
Normal file
10
sql/updates/7147_world_creature_template.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
ALTER TABLE `creature_template`
|
||||
DROP COLUMN `dmg_Mod`,
|
||||
DROP COLUMN `rangeddmg_Mod`;
|
||||
ADD COLUMN `mindmg` float NOT NULL DEFAULT '0' AFTER `rank`,
|
||||
ADD COLUMN `maxdmg` float NOT NULL DEFAULT '0' AFTER `mindmg`,
|
||||
ADD COLUMN `attackpower` int(10) unsigned NOT NULL DEFAULT '0' AFTER `dmgschool`,
|
||||
ADD COLUMN `minrangedmg` float NOT NULL DEFAULT '0' AFTER `trainer_race`,
|
||||
ADD COLUMN `maxrangedmg` float NOT NULL DEFAULT '0' AFTER `minrangedmg`,
|
||||
ADD COLUMN `rangedattackpower` smallint(5) unsigned NOT NULL DEFAULT '0' AFTER `maxrangedmg`;
|
||||
|
||||
Reference in New Issue
Block a user