Core/Spells: Made the loading of the orientation of SPELL_DEST_DB from SpellEffect.dbc

This commit is contained in:
Kinzcool
2014-11-21 17:29:08 -05:00
parent 7713c893a8
commit da5d0da724
4 changed files with 23 additions and 9 deletions

View File

@@ -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`;