aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorfunjoker <torti-esser@web.de>2018-11-30 17:57:32 +0100
committerShauren <shauren.trinity@gmail.com>2020-05-02 22:37:28 +0200
commit314a35f0cd912daed7c0663f4f13552b6747fd98 (patch)
treef54b892d54a89e66caee0ca3339635a0b801ee64 /sql/updates
parentd7623adf0e6b8c5cdc1e468b89172ed7db63fe92 (diff)
Core/Creatures: Update creature scaling to use content tuning
Closes #22831
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/master/2020_05_02_01_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2020_05_02_01_world.sql b/sql/updates/world/master/2020_05_02_01_world.sql
new file mode 100644
index 00000000000..ba0f927c713
--- /dev/null
+++ b/sql/updates/world/master/2020_05_02_01_world.sql
@@ -0,0 +1,7 @@
+ALTER TABLE `creature_template_scaling`
+ ADD COLUMN `DifficultyID` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `Entry`,
+ ADD COLUMN `ContentTuningID` INT(10) NOT NULL DEFAULT '0' AFTER `LevelScalingDeltaMax`,
+ DROP PRIMARY KEY,
+ ADD PRIMARY KEY (`Entry`, `DifficultyID`);
+
+ALTER TABLE `creature_classlevelstats` DROP `basearmor`;