Skip to content

Commit b4a7fe6

Browse files
authored
Merge pull request #53 from LannyE/Resolve-Conflicts-2-18-26
Resolve conflicts 2-18-26
2 parents 1c3f069 + f1c0066 commit b4a7fe6

File tree

77 files changed

+23043
-5547
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+23043
-5547
lines changed

data/sql/updates/db_world/2026_01_24_00.sql

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
-- DB update 2026_02_16_00 -> 2026_02_18_00
2+
-- Update gameobject 'Valentine Arch (x2.00)' with sniffed values
3+
-- updated spawns
4+
DELETE FROM `gameobject` WHERE (`id` IN (201940)) AND (`guid` IN (242244, 242245, 242246, 242247, 242248, 242249, 242250, 242251));
5+
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES
6+
(242244, 201940, 1, 0, 0, 1, 1, 1653.5625, -4435.20654296875, 17.64115524291992187, 1.48352813720703125, 0, 0, 0.675589561462402343, 0.737277925014495849, 120, 255, 1, "", 47966, NULL),
7+
(242245, 201940, 1, 0, 0, 1, 1, -1217.9444580078125, 62.78819656372070312, 129.7745819091796875, 3.508116960525512695, 0, 0, -0.98325443267822265, 0.182238012552261352, 120, 255, 1, "", 47966, NULL),
8+
(242246, 201940, 0, 0, 0, 1, 1, 1629.0191650390625, 239.795135498046875, 63.8515167236328125, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 120, 255, 1, "", 47966, NULL),
9+
(242247, 201940, 530, 0, 0, 1, 1, 9611.6396484375, -7183.14404296875, 14.28471183776855468, 1.745326757431030273, 0, 0, 0.766043663024902343, 0.642788589000701904, 120, 255, 1, "", 47966, NULL),
10+
(242248, 201940, 1, 0, 0, 1, 1, 9870.7138671875, 2493.632080078125, 1315.87548828125, 5.986480236053466796, 0, 0, -0.14780902862548828, 0.989015936851501464, 120, 255, 1, "", 52237, NULL),
11+
(242249, 201940, 0, 0, 0, 1, 1, -8868.98828125, 637.1007080078125, 95.787139892578125, 0.837757468223571777, 0, 0, 0.406736373901367187, 0.913545548915863037, 120, 255, 1, "", 47966, NULL),
12+
(242250, 201940, 0, 0, 0, 1, 1, -4918.39404296875, -983.5625, 501.45306396484375, 2.268925428390502929, 0, 0, 0.906307220458984375, 0.422619491815567016, 120, 255, 1, "", 48120, NULL),
13+
(242251, 201940, 530, 0, 0, 1, 1, -4005.6494140625, -11844.5849609375, 0.186078995466232299, 4.520402908325195312, 0, 0, -0.77162456512451171, 0.636078238487243652, 120, 255, 1, "", 52237, NULL);
14+
15+
-- enable all spawns for eventEntry 8
16+
DELETE FROM `game_event_gameobject` WHERE (`eventEntry` = 8) AND (`guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` IN (201940)));
17+
INSERT INTO `game_event_gameobject` (SELECT 8, `guid` FROM `gameobject` WHERE `id` IN (201940));

data/sql/updates/db_world/2026_02_18_01.sql

Lines changed: 1933 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
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');
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- DB update 2026_02_18_02 -> 2026_02_18_03
2+
--
3+
DELETE FROM `spell_script_names` WHERE `spell_id` IN (52179, 16246, 16191, -30881, 55278, 55328, 55329, 55330, 55332, 55333, 55335, 58589, 58590, 58591, 28820);
4+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
5+
(52179, 'spell_sha_astral_shift_visual_dummy'),
6+
(16246, 'spell_sha_clearcasting'),
7+
(16191, 'spell_sha_mana_tide'),
8+
(-30881, 'spell_sha_nature_guardian'),
9+
(55278, 'spell_sha_stoneclaw_totem'),
10+
(55328, 'spell_sha_stoneclaw_totem'),
11+
(55329, 'spell_sha_stoneclaw_totem'),
12+
(55330, 'spell_sha_stoneclaw_totem'),
13+
(55332, 'spell_sha_stoneclaw_totem'),
14+
(55333, 'spell_sha_stoneclaw_totem'),
15+
(55335, 'spell_sha_stoneclaw_totem'),
16+
(58589, 'spell_sha_stoneclaw_totem'),
17+
(58590, 'spell_sha_stoneclaw_totem'),
18+
(58591, 'spell_sha_stoneclaw_totem'),
19+
(28820, 'spell_sha_t3_8p_bonus');
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
-- DB update 2026_02_18_03 -> 2026_02_18_04
2+
-- Register Nether Protection spell script
3+
DELETE FROM `spell_script_names` WHERE `spell_id` = -30299;
4+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
5+
(-30299, 'spell_warl_nether_protection');
6+
7+
-- Register Curse of Agony spell script
8+
DELETE FROM `spell_script_names` WHERE `spell_id` = -980;
9+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
10+
(-980, 'spell_warl_curse_of_agony');
11+
12+
-- Fix Nightfall and Glyph of Corruption registrations
13+
DELETE FROM `spell_script_names` WHERE `spell_id` = -18094;
14+
DELETE FROM `spell_script_names` WHERE `spell_id` = 56218;
15+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
16+
(-18094, 'spell_warl_nightfall'),
17+
(56218, 'spell_warl_glyph_of_corruption_nightfall');
18+
19+
-- Register Acclimation spell script (DK)
20+
DELETE FROM `spell_script_names` WHERE `spell_id` = -49200;
21+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
22+
(-49200, 'spell_dk_acclimation');
23+
24+
-- Register Advantage T10 4P spell script (DK)
25+
DELETE FROM `spell_script_names` WHERE `spell_id` = 70656;
26+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
27+
(70656, 'spell_dk_advantage_t10_4p');
28+
29+
-- Register Glyph of Barkskin spell script (Druid)
30+
DELETE FROM `spell_script_names` WHERE `spell_id` = 63057;
31+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
32+
(63057, 'spell_dru_glyph_of_barkskin');
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- DB update 2026_02_18_04 -> 2026_02_18_05
2+
-- Hunter T9 4P Bonus - spell script registration
3+
DELETE FROM `spell_script_names` WHERE `spell_id` = 67151;
4+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
5+
(67151, 'spell_hun_t9_4p_bonus');
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-- DB update 2026_02_18_05 -> 2026_02_18_06
2+
-- Omen of Clarity should only proc from damage and healing spells, not utility spells like Furor
3+
UPDATE `spell_proc` SET `SpellTypeMask` = 3 WHERE `SpellId` = 16864;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- DB update 2026_02_18_06 -> 2026_02_18_07
2+
--
3+
-- The Lightning Capacitor, Thunder Capacitor, Reign of the Dead/Unliving trinkets
4+
DELETE FROM `spell_script_names` WHERE `spell_id` IN (37657, 54841, 67712, 67758);
5+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
6+
(37657, 'spell_item_lightning_capacitor'),
7+
(54841, 'spell_item_thunder_capacitor'),
8+
(67712, 'spell_item_toc25_caster_trinket_normal'),
9+
(67758, 'spell_item_toc25_caster_trinket_heroic');

0 commit comments

Comments
 (0)