Scripts/Spells: Implemented druid eclipse system

Port From (https://github.com/TrinityCore/TrinityCore/commit/abaeb12ba3993a636d8385fe06b3a5ceb0f66f63)
This commit is contained in:
hondacrx
2021-03-29 12:49:24 -04:00
parent e8959b884e
commit 9bbc1b49f3
3 changed files with 177 additions and 1 deletions
@@ -0,0 +1,11 @@
DELETE FROM `spell_proc` WHERE `SpellId`=79577;
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(79577,0,7,0x5,0,0,0,0,0,0x1,0,0,0,0,0,0,0); -- Eclipse, proc on launch of Wrath and Starfire
-- Add eclipse spell script
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_dru_eclipse_dummy', 'spell_dru_eclipse_aura', 'spell_dru_eclipse_ooc');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(79577, 'spell_dru_eclipse_dummy'),
(48517, 'spell_dru_eclipse_aura'),
(48518, 'spell_dru_eclipse_aura'),
(329910, 'spell_dru_eclipse_ooc');