fix(Core/Spell): Remove ErrorCube visual

* cherry-pick https://github.com/trinitycore/trinitycore/commit/3b5014fdae

* cherry-pick small part of f4f7e6324d

Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Treeston <14020072+treeston@users.noreply.github.com>
This commit is contained in:
Kitzunu
2021-05-08 05:16:18 +02:00
parent 9f6697823d
commit 52ff8915df
9 changed files with 101 additions and 3 deletions

View File

@@ -0,0 +1,39 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1620443413425226200');
DROP TABLE IF EXISTS `spellvisual_dbc`;
CREATE TABLE `spellvisual_dbc`
(
`ID` INT NOT NULL DEFAULT 0,
`PrecastKit` INT NOT NULL DEFAULT 0,
`CastKit` INT NOT NULL DEFAULT 0,
`ImpactKit` INT NOT NULL DEFAULT 0,
`StateKit` INT NOT NULL DEFAULT 0,
`StateDoneKit` INT NOT NULL DEFAULT 0,
`ChannelKit` INT NOT NULL DEFAULT 0,
`HasMissile` INT NOT NULL DEFAULT 0,
`MissileModel` INT NOT NULL DEFAULT 0,
`MissilePathType` INT NOT NULL DEFAULT 0,
`MissileDestinationAttachment` INT NOT NULL DEFAULT 0,
`MissileSound` INT NOT NULL DEFAULT 0,
`AnimEventSoundID` INT NOT NULL DEFAULT 0,
`Flags` INT NOT NULL DEFAULT 0,
`CasterImpactKit` INT NOT NULL DEFAULT 0,
`TargetImpactKit` INT NOT NULL DEFAULT 0,
`MissileAttachment` INT NOT NULL DEFAULT 0,
`MissileFollowGroundHeight` INT NOT NULL DEFAULT 0,
`MissileFollowGroundDropSpeed` INT NOT NULL DEFAULT 0,
`MissileFollowGroundApproach` INT NOT NULL DEFAULT 0,
`MissileFollowGroundFlags` INT NOT NULL DEFAULT 0,
`MissileMotion` INT NOT NULL DEFAULT 0,
`MissileTargetingKit` INT NOT NULL DEFAULT 0,
`InstantAreaKit` INT NOT NULL DEFAULT 0,
`ImpactAreaKit` INT NOT NULL DEFAULT 0,
`PersistentAreaKit` INT NOT NULL DEFAULT 0,
`MissileCastOffsetX` FLOAT NOT NULL DEFAULT 0,
`MissileCastOffsetY` FLOAT NOT NULL DEFAULT 0,
`MissileCastOffsetZ` FLOAT NOT NULL DEFAULT 0,
`MissileImpactOffsetX` FLOAT NOT NULL DEFAULT 0,
`MissileImpactOffsetY` FLOAT NOT NULL DEFAULT 0,
`MissileImpactOffsetZ` FLOAT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;

View File

@@ -0,0 +1,5 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1620443572177894000');
DELETE FROM `spell_custom_attr` WHERE `spell_id` = 60988;
INSERT INTO `spell_custom_attr` (`spell_id`, `attributes`) VALUES
(60988, 0x00080000);