Core/Spells: Implemented evoker empower spell mechanic

This commit is contained in:
Shauren
2024-05-01 22:26:53 +02:00
parent cdc6719b83
commit a39d0db9ec
27 changed files with 733 additions and 94 deletions

View File

@@ -0,0 +1,24 @@
--
-- Table structure for table `spell_empower`
--
DROP TABLE IF EXISTS `spell_empower`;
CREATE TABLE `spell_empower` (
`ID` int unsigned NOT NULL DEFAULT '0',
`SpellID` int NOT NULL DEFAULT '0',
`Unused1000` int NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `spell_empower_stage`
--
DROP TABLE IF EXISTS `spell_empower_stage`;
CREATE TABLE `spell_empower_stage` (
`ID` int unsigned NOT NULL DEFAULT '0',
`Stage` int NOT NULL DEFAULT '0',
`DurationMs` int NOT NULL DEFAULT '0',
`SpellEmpowerID` int unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

View File

@@ -0,0 +1,6 @@
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_evo_fire_breath','spell_evo_fire_breath_damage','spell_evo_scouring_flame');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(357208,'spell_evo_fire_breath'),
(382266,'spell_evo_fire_breath'),
(357209,'spell_evo_fire_breath_damage'),
(357209,'spell_evo_scouring_flame');