mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-28 06:25:55 +00:00
1933
data/sql/updates/db_world/2026_02_18_01.sql
Normal file
1933
data/sql/updates/db_world/2026_02_18_01.sql
Normal file
File diff suppressed because one or more lines are too long
106
data/sql/updates/db_world/2026_02_18_02.sql
Normal file
106
data/sql/updates/db_world/2026_02_18_02.sql
Normal file
@@ -0,0 +1,106 @@
|
||||
-- DB update 2026_02_18_01 -> 2026_02_18_02
|
||||
-- Lock and Load - Add spell_proc entry with correct SpellPhaseMask for periodic damage procs
|
||||
-- SpellPhaseMask changed from 4 (PROC_SPELL_PHASE_FINISH) to 2 (PROC_SPELL_PHASE_HIT)
|
||||
-- This allows Black Arrow, Explosive Trap, and Immolation Trap periodic damage to trigger Lock and Load
|
||||
DELETE FROM `spell_proc` WHERE `SpellId` = -56342;
|
||||
INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `DisableEffectsMask`, `ProcsPerMinute`, `Chance`, `Cooldown`, `Charges`) VALUES
|
||||
(-56342, 0, 9, 24, 134217728, 147456, 0, 0, 2, 0, 2, 0, 0, 0, 22000, 0);
|
||||
|
||||
-- Killing Machine - register spell script
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_dk_killing_machine';
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(51124, 'spell_dk_killing_machine');
|
||||
|
||||
-- Elemental Focus - register spell script to prevent weapon imbue attacks from proccing Clearcasting
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 16164 AND `ScriptName` = 'spell_sha_elemental_focus';
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(16164, 'spell_sha_elemental_focus');
|
||||
|
||||
-- Light's Beacon (53651) - Beacon of Light heal transfer script
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 53651;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(53651, 'spell_pal_light_s_beacon');
|
||||
|
||||
-- Mage spell scripts from TrinityCore proc system port
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` IN (-5143, -31661, -44614, 45438, 44401);
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(-5143, 'spell_mage_arcane_missiles'),
|
||||
(-31661, 'spell_mage_dragon_breath'),
|
||||
(-44614, 'spell_mage_frostfire_bolt'),
|
||||
(45438, 'spell_mage_ice_block'),
|
||||
(44401, 'spell_mage_missile_barrage_proc');
|
||||
|
||||
-- Paladin scripts refactored from hardcoded SpellAuras.cpp and Spell.cpp to proper scripts
|
||||
-- Aura Mastery (31821) - Applies/removes Aura Mastery Immune aura
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 31821;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(31821, 'spell_pal_aura_mastery');
|
||||
|
||||
-- Aura Mastery Immune (64364) - Area target check to filter immunity to only Concentration Aura targets
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 64364;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(64364, 'spell_pal_aura_mastery_immune');
|
||||
|
||||
-- Beacon of Light (53563) - Periodic tick handler to ensure correct caster GUID propagation
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 53563 AND `ScriptName` = 'spell_pal_beacon_of_light';
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(53563, 'spell_pal_beacon_of_light');
|
||||
|
||||
-- Sacred Shield (58597) - Absorb amount calculation with ICC buff support
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 58597 AND `ScriptName` = 'spell_pal_sacred_shield';
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(58597, 'spell_pal_sacred_shield');
|
||||
|
||||
-- Divine Protection (498), Divine Shield (642), Hand of Protection (-1022)
|
||||
-- Applies Forbearance, Avenging Wrath marker, and Immune Shield marker
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_pal_immunities';
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(498, 'spell_pal_immunities'),
|
||||
(642, 'spell_pal_immunities'),
|
||||
(-1022, 'spell_pal_immunities');
|
||||
|
||||
-- Improved Concentration Aura (-20254), Improved Devotion Aura (-20138)
|
||||
-- Sanctified Retribution (31869), Swift Retribution (-53379)
|
||||
-- Handles applying/removing the improved aura buff effects
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_pal_improved_concentraction_aura', 'spell_pal_improved_devotion_aura', 'spell_pal_sanctified_retribution', 'spell_pal_swift_retribution');
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(-20254, 'spell_pal_improved_concentraction_aura'),
|
||||
(-20138, 'spell_pal_improved_devotion_aura'),
|
||||
(31869, 'spell_pal_sanctified_retribution'),
|
||||
(-53379, 'spell_pal_swift_retribution');
|
||||
|
||||
-- Warrior scripts - Vigilance redirect threat and Warrior's Wrath (T2 5P)
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` IN (59665, 21977);
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(59665, 'spell_warr_vigilance_redirect_threat'),
|
||||
(21977, 'spell_warr_warriors_wrath');
|
||||
|
||||
-- Druid Forms Trinket (37336) - SpellPhaseMask required for proc system
|
||||
-- ProcFlags=0 uses DBC flags (0x15414), Chance=0 uses DBC chance (3%)
|
||||
DELETE FROM `spell_proc` WHERE `SpellId` = 37336;
|
||||
INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `DisableEffectsMask`, `ProcsPerMinute`, `Chance`, `Cooldown`, `Charges`) VALUES
|
||||
(37336, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0);
|
||||
|
||||
-- Living Root of the Wildheart (37336) - Item trinket script
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 37336;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(37336, 'spell_item_living_root_of_the_wildheart');
|
||||
|
||||
-- Druid scripts ported from TrinityCore
|
||||
-- Frenzied Regeneration (22842) - Converts rage to health
|
||||
-- Nourish (50464) - Glyph of Nourish support
|
||||
-- Insect Swarm (-5570) - T8 Balance Relic support
|
||||
-- T9 Feral Relic (67353) - Idol of Mutilation form-specific procs
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_dru_frenzied_regeneration', 'spell_dru_nourish', 'spell_dru_insect_swarm', 'spell_dru_t9_feral_relic');
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(22842, 'spell_dru_frenzied_regeneration'),
|
||||
(50464, 'spell_dru_nourish'),
|
||||
(-5570, 'spell_dru_insect_swarm'),
|
||||
(67353, 'spell_dru_t9_feral_relic');
|
||||
|
||||
-- Priest scripts ported from TrinityCore
|
||||
-- Pain and Suffering (-47580) - Prevents EFFECT_1 DUMMY from proccing
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_pri_pain_and_suffering_dummy';
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(47580, 'spell_pri_pain_and_suffering_dummy'),
|
||||
(47581, 'spell_pri_pain_and_suffering_dummy');
|
||||
19
data/sql/updates/db_world/2026_02_18_03.sql
Normal file
19
data/sql/updates/db_world/2026_02_18_03.sql
Normal file
@@ -0,0 +1,19 @@
|
||||
-- DB update 2026_02_18_02 -> 2026_02_18_03
|
||||
--
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` IN (52179, 16246, 16191, -30881, 55278, 55328, 55329, 55330, 55332, 55333, 55335, 58589, 58590, 58591, 28820);
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(52179, 'spell_sha_astral_shift_visual_dummy'),
|
||||
(16246, 'spell_sha_clearcasting'),
|
||||
(16191, 'spell_sha_mana_tide'),
|
||||
(-30881, 'spell_sha_nature_guardian'),
|
||||
(55278, 'spell_sha_stoneclaw_totem'),
|
||||
(55328, 'spell_sha_stoneclaw_totem'),
|
||||
(55329, 'spell_sha_stoneclaw_totem'),
|
||||
(55330, 'spell_sha_stoneclaw_totem'),
|
||||
(55332, 'spell_sha_stoneclaw_totem'),
|
||||
(55333, 'spell_sha_stoneclaw_totem'),
|
||||
(55335, 'spell_sha_stoneclaw_totem'),
|
||||
(58589, 'spell_sha_stoneclaw_totem'),
|
||||
(58590, 'spell_sha_stoneclaw_totem'),
|
||||
(58591, 'spell_sha_stoneclaw_totem'),
|
||||
(28820, 'spell_sha_t3_8p_bonus');
|
||||
32
data/sql/updates/db_world/2026_02_18_04.sql
Normal file
32
data/sql/updates/db_world/2026_02_18_04.sql
Normal file
@@ -0,0 +1,32 @@
|
||||
-- DB update 2026_02_18_03 -> 2026_02_18_04
|
||||
-- Register Nether Protection spell script
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = -30299;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(-30299, 'spell_warl_nether_protection');
|
||||
|
||||
-- Register Curse of Agony spell script
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = -980;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(-980, 'spell_warl_curse_of_agony');
|
||||
|
||||
-- Fix Nightfall and Glyph of Corruption registrations
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = -18094;
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 56218;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(-18094, 'spell_warl_nightfall'),
|
||||
(56218, 'spell_warl_glyph_of_corruption_nightfall');
|
||||
|
||||
-- Register Acclimation spell script (DK)
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = -49200;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(-49200, 'spell_dk_acclimation');
|
||||
|
||||
-- Register Advantage T10 4P spell script (DK)
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 70656;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(70656, 'spell_dk_advantage_t10_4p');
|
||||
|
||||
-- Register Glyph of Barkskin spell script (Druid)
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 63057;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(63057, 'spell_dru_glyph_of_barkskin');
|
||||
5
data/sql/updates/db_world/2026_02_18_05.sql
Normal file
5
data/sql/updates/db_world/2026_02_18_05.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
-- DB update 2026_02_18_04 -> 2026_02_18_05
|
||||
-- Hunter T9 4P Bonus - spell script registration
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 67151;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(67151, 'spell_hun_t9_4p_bonus');
|
||||
3
data/sql/updates/db_world/2026_02_18_06.sql
Normal file
3
data/sql/updates/db_world/2026_02_18_06.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- DB update 2026_02_18_05 -> 2026_02_18_06
|
||||
-- Omen of Clarity should only proc from damage and healing spells, not utility spells like Furor
|
||||
UPDATE `spell_proc` SET `SpellTypeMask` = 3 WHERE `SpellId` = 16864;
|
||||
9
data/sql/updates/db_world/2026_02_18_07.sql
Normal file
9
data/sql/updates/db_world/2026_02_18_07.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- DB update 2026_02_18_06 -> 2026_02_18_07
|
||||
--
|
||||
-- The Lightning Capacitor, Thunder Capacitor, Reign of the Dead/Unliving trinkets
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` IN (37657, 54841, 67712, 67758);
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(37657, 'spell_item_lightning_capacitor'),
|
||||
(54841, 'spell_item_thunder_capacitor'),
|
||||
(67712, 'spell_item_toc25_caster_trinket_normal'),
|
||||
(67758, 'spell_item_toc25_caster_trinket_heroic');
|
||||
Reference in New Issue
Block a user