aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorKinzcool <kinzzcool@hotmail.com>2014-11-21 17:29:08 -0500
committerKinzcool <kinzzcool@hotmail.com>2014-11-21 17:29:08 -0500
commitda5d0da724ad4b8013e17cc8aef8040a0a9cff20 (patch)
treedb565900a171f7934aabdf032636311b0834c7b8 /sql/updates
parent7713c893a866783369346ee29c043f1890da5d17 (diff)
Core/Spells: Made the loading of the orientation of SPELL_DEST_DB from SpellEffect.dbc
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/2014_11_20_02_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/2014_11_20_02_world.sql b/sql/updates/world/2014_11_20_02_world.sql
new file mode 100644
index 00000000000..1e0048e1943
--- /dev/null
+++ b/sql/updates/world/2014_11_20_02_world.sql
@@ -0,0 +1,7 @@
+ALTER TABLE `spell_target_position` CHANGE `id` `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `spell_target_position` CHANGE `effIndex` `EffectIndex` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `spell_target_position` CHANGE `target_map` `MapID` SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `spell_target_position` CHANGE `target_position_x` `PositionX` FLOAT NOT NULL DEFAULT '0';
+ALTER TABLE `spell_target_position` CHANGE `target_position_y` `PositionY` FLOAT NOT NULL DEFAULT '0';
+ALTER TABLE `spell_target_position` CHANGE `target_position_z` `PositionZ` FLOAT NOT NULL DEFAULT '0';
+ALTER TABLE `spell_target_position` DROP COLUMN `target_orientation`;