|
| 1 | +-- DB update 2026_02_18_01 -> 2026_02_18_02 |
| 2 | +-- Lock and Load - Add spell_proc entry with correct SpellPhaseMask for periodic damage procs |
| 3 | +-- SpellPhaseMask changed from 4 (PROC_SPELL_PHASE_FINISH) to 2 (PROC_SPELL_PHASE_HIT) |
| 4 | +-- This allows Black Arrow, Explosive Trap, and Immolation Trap periodic damage to trigger Lock and Load |
| 5 | +DELETE FROM `spell_proc` WHERE `SpellId` = -56342; |
| 6 | +INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `DisableEffectsMask`, `ProcsPerMinute`, `Chance`, `Cooldown`, `Charges`) VALUES |
| 7 | +(-56342, 0, 9, 24, 134217728, 147456, 0, 0, 2, 0, 2, 0, 0, 0, 22000, 0); |
| 8 | + |
| 9 | +-- Killing Machine - register spell script |
| 10 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_dk_killing_machine'; |
| 11 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 12 | +(51124, 'spell_dk_killing_machine'); |
| 13 | + |
| 14 | +-- Elemental Focus - register spell script to prevent weapon imbue attacks from proccing Clearcasting |
| 15 | +DELETE FROM `spell_script_names` WHERE `spell_id` = 16164 AND `ScriptName` = 'spell_sha_elemental_focus'; |
| 16 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 17 | +(16164, 'spell_sha_elemental_focus'); |
| 18 | + |
| 19 | +-- Light's Beacon (53651) - Beacon of Light heal transfer script |
| 20 | +DELETE FROM `spell_script_names` WHERE `spell_id` = 53651; |
| 21 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 22 | +(53651, 'spell_pal_light_s_beacon'); |
| 23 | + |
| 24 | +-- Mage spell scripts from TrinityCore proc system port |
| 25 | +DELETE FROM `spell_script_names` WHERE `spell_id` IN (-5143, -31661, -44614, 45438, 44401); |
| 26 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 27 | +(-5143, 'spell_mage_arcane_missiles'), |
| 28 | +(-31661, 'spell_mage_dragon_breath'), |
| 29 | +(-44614, 'spell_mage_frostfire_bolt'), |
| 30 | +(45438, 'spell_mage_ice_block'), |
| 31 | +(44401, 'spell_mage_missile_barrage_proc'); |
| 32 | + |
| 33 | +-- Paladin scripts refactored from hardcoded SpellAuras.cpp and Spell.cpp to proper scripts |
| 34 | +-- Aura Mastery (31821) - Applies/removes Aura Mastery Immune aura |
| 35 | +DELETE FROM `spell_script_names` WHERE `spell_id` = 31821; |
| 36 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 37 | +(31821, 'spell_pal_aura_mastery'); |
| 38 | + |
| 39 | +-- Aura Mastery Immune (64364) - Area target check to filter immunity to only Concentration Aura targets |
| 40 | +DELETE FROM `spell_script_names` WHERE `spell_id` = 64364; |
| 41 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 42 | +(64364, 'spell_pal_aura_mastery_immune'); |
| 43 | + |
| 44 | +-- Beacon of Light (53563) - Periodic tick handler to ensure correct caster GUID propagation |
| 45 | +DELETE FROM `spell_script_names` WHERE `spell_id` = 53563 AND `ScriptName` = 'spell_pal_beacon_of_light'; |
| 46 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 47 | +(53563, 'spell_pal_beacon_of_light'); |
| 48 | + |
| 49 | +-- Sacred Shield (58597) - Absorb amount calculation with ICC buff support |
| 50 | +DELETE FROM `spell_script_names` WHERE `spell_id` = 58597 AND `ScriptName` = 'spell_pal_sacred_shield'; |
| 51 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 52 | +(58597, 'spell_pal_sacred_shield'); |
| 53 | + |
| 54 | +-- Divine Protection (498), Divine Shield (642), Hand of Protection (-1022) |
| 55 | +-- Applies Forbearance, Avenging Wrath marker, and Immune Shield marker |
| 56 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_pal_immunities'; |
| 57 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 58 | +(498, 'spell_pal_immunities'), |
| 59 | +(642, 'spell_pal_immunities'), |
| 60 | +(-1022, 'spell_pal_immunities'); |
| 61 | + |
| 62 | +-- Improved Concentration Aura (-20254), Improved Devotion Aura (-20138) |
| 63 | +-- Sanctified Retribution (31869), Swift Retribution (-53379) |
| 64 | +-- Handles applying/removing the improved aura buff effects |
| 65 | +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'); |
| 66 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 67 | +(-20254, 'spell_pal_improved_concentraction_aura'), |
| 68 | +(-20138, 'spell_pal_improved_devotion_aura'), |
| 69 | +(31869, 'spell_pal_sanctified_retribution'), |
| 70 | +(-53379, 'spell_pal_swift_retribution'); |
| 71 | + |
| 72 | +-- Warrior scripts - Vigilance redirect threat and Warrior's Wrath (T2 5P) |
| 73 | +DELETE FROM `spell_script_names` WHERE `spell_id` IN (59665, 21977); |
| 74 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 75 | +(59665, 'spell_warr_vigilance_redirect_threat'), |
| 76 | +(21977, 'spell_warr_warriors_wrath'); |
| 77 | + |
| 78 | +-- Druid Forms Trinket (37336) - SpellPhaseMask required for proc system |
| 79 | +-- ProcFlags=0 uses DBC flags (0x15414), Chance=0 uses DBC chance (3%) |
| 80 | +DELETE FROM `spell_proc` WHERE `SpellId` = 37336; |
| 81 | +INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `DisableEffectsMask`, `ProcsPerMinute`, `Chance`, `Cooldown`, `Charges`) VALUES |
| 82 | +(37336, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0); |
| 83 | + |
| 84 | +-- Living Root of the Wildheart (37336) - Item trinket script |
| 85 | +DELETE FROM `spell_script_names` WHERE `spell_id` = 37336; |
| 86 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 87 | +(37336, 'spell_item_living_root_of_the_wildheart'); |
| 88 | + |
| 89 | +-- Druid scripts ported from TrinityCore |
| 90 | +-- Frenzied Regeneration (22842) - Converts rage to health |
| 91 | +-- Nourish (50464) - Glyph of Nourish support |
| 92 | +-- Insect Swarm (-5570) - T8 Balance Relic support |
| 93 | +-- T9 Feral Relic (67353) - Idol of Mutilation form-specific procs |
| 94 | +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_dru_frenzied_regeneration', 'spell_dru_nourish', 'spell_dru_insect_swarm', 'spell_dru_t9_feral_relic'); |
| 95 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 96 | +(22842, 'spell_dru_frenzied_regeneration'), |
| 97 | +(50464, 'spell_dru_nourish'), |
| 98 | +(-5570, 'spell_dru_insect_swarm'), |
| 99 | +(67353, 'spell_dru_t9_feral_relic'); |
| 100 | + |
| 101 | +-- Priest scripts ported from TrinityCore |
| 102 | +-- Pain and Suffering (-47580) - Prevents EFFECT_1 DUMMY from proccing |
| 103 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_pri_pain_and_suffering_dummy'; |
| 104 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 105 | +(47580, 'spell_pri_pain_and_suffering_dummy'), |
| 106 | +(47581, 'spell_pri_pain_and_suffering_dummy'); |
0 commit comments