diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-01-21 14:11:54 +0100 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2025-01-21 18:30:23 +0100 |
commit | a1962dc3190d4cae099a1c0c077e32489dc67774 (patch) | |
tree | 99b39d4426e4aabe07717e5849951518ebe7ec0e /sql | |
parent | b3e8726880eda71a630e787319ac4a970e5e904a (diff) |
Core/Spells: Reimplemented target type 106 as random point from points predefined in database
Closes #30116
(cherry picked from commit 2a51a6454912df635099572d07789a1d6789ff4d)
# Conflicts:
# sql/updates/world/cata_classic/2025_01_21_00_world.sql
Diffstat (limited to 'sql')
-rw-r--r-- | sql/updates/world/cata_classic/2025_01_21_00_world_2025_01_21_00_world.sql | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/updates/world/cata_classic/2025_01_21_00_world_2025_01_21_00_world.sql b/sql/updates/world/cata_classic/2025_01_21_00_world_2025_01_21_00_world.sql new file mode 100644 index 00000000000..b3f89ecbbf3 --- /dev/null +++ b/sql/updates/world/cata_classic/2025_01_21_00_world_2025_01_21_00_world.sql @@ -0,0 +1,3 @@ +ALTER TABLE `spell_target_position` DROP PRIMARY KEY; +ALTER TABLE `spell_target_position` ADD `OrderIndex` int NOT NULL DEFAULT '0' AFTER `EffectIndex`; +ALTER TABLE `spell_target_position` ADD PRIMARY KEY(`ID`,`EffectIndex`,`OrderIndex`); |