Skip to content

Commit 83b6bee

Browse files
Merge AzerothCore 3.3.5 to ElunaAzerothcore [skip ci]
2 parents 5abf91d + e5ba1bd commit 83b6bee

24 files changed

Lines changed: 304 additions & 61 deletions
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
-- DB update 2026_05_14_00 -> 2026_05_17_00
2+
-- Split RBAC_PERM_COMMAND_DEBUG (300) into three permission tiers:
3+
--
4+
-- 300 (Command: debug) -- state-modifying commands (unchanged)
5+
-- 920 (Command: debug info) -- read-only / informational commands
6+
-- 921 (Command: debug cosmetic) -- client-side / cosmetic commands
7+
--
8+
-- Backward compatibility: perm 300 links to both 920 and 921, so any account
9+
-- or role that already held perm 300 automatically receives the new sub-perms
10+
-- via RBAC expansion. No existing setups are affected.
11+
--
12+
-- Informational (920): threat, threatinfo, combat, hostile, getvalue,
13+
-- getitemvalue, getitemstate, lootrecipient, los, loot, visibilitydata,
14+
-- objectcount, mapdata, factionchange, zonestats
15+
--
16+
-- Cosmetic (921): play *, send (all except opcode/setphaseshift), anim,
17+
-- areatriggers, boundary, wpgps
18+
--
19+
-- State-modifying (300, unchanged): setbit, Mod32Value, setaurastate,
20+
-- setitemvalue, setvalue, spawnvehicle, setvid, entervehicle, uws, update,
21+
-- itemexpire, arena, bg, lfg, cooldown, moveflags, unitstate, dummy,
22+
-- send opcode, send setphaseshift
23+
24+
DELETE FROM `rbac_permissions` WHERE `id` IN (920, 921);
25+
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
26+
(920, 'Command: debug info'),
27+
(921, 'Command: debug cosmetic');
28+
29+
-- Existing holders of perm 300 automatically receive both new sub-perms.
30+
-- Role 197 (GM Commands) already includes perm 300, so it reaches 920 and 921
31+
-- transitively — no direct links to role 197 are needed or added.
32+
DELETE FROM `rbac_linked_permissions` WHERE `id` = 300 AND `linkedId` IN (920, 921);
33+
INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
34+
(300, 920),
35+
(300, 921);
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- DB update 2026_05_16_02 -> 2026_05_17_00
2+
DELETE FROM `spell_proc` WHERE `SpellId` = 20178;
3+
INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `DisableEffectsMask`, `ProcsPerMinute`, `Chance`, `Cooldown`, `Charges`) VALUES
4+
(20178, 0, 0, 0, 0, 0, 0x4, 0, 0, 0x2477, 0, 0, 0, 100, 0, 4);
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-- DB update 2026_05_17_00 -> 2026_05_17_01
2+
DELETE FROM `command` WHERE `name` IN ('debug combat','debug threatinfo','pdump copy','pet delete','pet list','rbac list','reload rbac');
3+
INSERT INTO `command` (`name`,`security`,`help`) VALUES
4+
('debug combat',3,'Syntax: .debug combat\nLists PvP and PvE combat references of the selected unit (or self).'),
5+
('debug threatinfo',3,'Syntax: .debug threatinfo\nDisplays various debug information about the target''s threat state, modifiers, redirects and similar.'),
6+
('pdump copy',3,'Syntax: .pdump copy $playerNameOrGUID $account [$newname] [$newguid]\nCopy character with name/guid $playerNameOrGUID into character list of $account with $newname, with first free or $newguid guid.'),
7+
('pet delete',3,'Syntax: .pet delete $playerNameOrGUID #petNumber\nDeletes the pet with the given pet number belonging to the specified player.'),
8+
('pet list',1,'Syntax: .pet list $playerNameOrGUID\nLists all pets owned by the specified player (id, entry, level, slot, name, type).'),
9+
('rbac list',3,'Syntax: .rbac list [#id]\nView list of all permissions. If #id is given will show only info for that permission.'),
10+
('reload rbac',3,'Syntax: .reload rbac\nReload rbac system.');
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- DB update 2026_05_17_01 -> 2026_05_17_02
2+
UPDATE `smart_scripts` SET `action_param6` = 2 WHERE `entryorguid` IN (17809, 17810, 17811, 17812) AND `source_type` = 0 AND `action_type` = 53;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- DB update 2026_05_17_02 -> 2026_05_17_03
2+
DELETE FROM `item_loot_template` WHERE (`Entry` = 41888) AND (`Item` IN (41450, 41452, 41466, 41468, 41492, 41497));
3+
INSERT INTO `item_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
4+
(41888, 41450, 0, 16.9, 0, 1, 1, 1, 1, 'Small Velvet Bag - Perfect Balanced Shadow Crystal'),
5+
(41888, 41452, 0, 16.9, 0, 1, 1, 1, 1, 'Small Velvet Bag - Perfect Glowing Shadow Crystal'),
6+
(41888, 41466, 0, 17.7, 0, 1, 1, 1, 1, 'Small Velvet Bag - Perfect Forceful Dark Jade'),
7+
(41888, 41468, 0, 16.3, 0, 1, 1, 1, 1, 'Small Velvet Bag - Perfect Jagged Dark Jade'),
8+
(41888, 41492, 0, 13, 0, 1, 1, 1, 1, 'Small Velvet Bag - Perfect Inscribed Huge Citrine'),
9+
(41888, 41497, 0, 19.3, 0, 1, 1, 1, 1, 'Small Velvet Bag - Perfect Reckless Huge Citrine');
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
-- DB update 2026_05_17_03 -> 2026_05_17_04
2+
--
3+
-- Griselda Hunderland → Talker: 26043
4+
DELETE FROM `creature_text` WHERE (`CreatureID` = 26043);
5+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
6+
(26043, 0, 0, 'Greetings, $c.', 12, 0, 100, 3, 0, 0, 32808, 0, 'Griselda Hunderland'),
7+
(26043, 0, 1, 'Let me know if you need help finding anything, $c.', 12, 0, 100, 3, 0, 0, 32810, 0, 'Griselda Hunderland'),
8+
(26043, 0, 2, 'Greetings.', 12, 0, 100, 3, 0, 0, 32935, 0, 'Griselda Hunderland'),
9+
(26043, 0, 3, 'Welcome!', 12, 0, 100, 3, 0, 0, 32807, 0, 'Griselda Hunderland'),
10+
(26043, 0, 4, 'Greetings! Please have a look around.', 12, 0, 100, 0, 0, 0, 32809, 0, 'Griselda Hunderland - Player In Range'),
11+
(26043, 0, 5, 'Welcome. May I help you find something?', 12, 0, 100, 0, 0, 0, 32811, 0, 'Griselda Hunderland - Player In Range'),
12+
(26043, 0, 6, 'Welcome.', 12, 0, 100, 0, 0, 0, 32936, 0, 'Griselda Hunderland - Player In Range');
13+
14+
-- Endora Moorehead → Talker: 29636
15+
DELETE FROM `creature_text` WHERE (`CreatureID` = 29636);
16+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
17+
(29636, 0, 0, 'Greetings! Please have a look around.', 12, 0, 100, 3, 0, 0, 32809, 0, 'Endora Moorehead'),
18+
(29636, 0, 1, 'Greetings, $c.', 12, 0, 100, 3, 0, 0, 32808, 0, 'Endora Moorehead'),
19+
(29636, 0, 2, 'Welcome!', 12, 0, 100, 3, 0, 0, 32807, 0, 'Endora Moorehead'),
20+
(29636, 0, 3, 'Let me know if you need help finding anything, $c.', 12, 0, 100, 0, 0, 0, 32810, 0, 'Endora Moorehead - Player In Range'),
21+
(29636, 0, 4, 'Welcome. May I help you find something?', 12, 0, 100, 0, 0, 0, 32811, 0, 'Endora Moorehead - Player In Range'),
22+
(29636, 0, 5, 'Greetings.', 12, 0, 100, 0, 0, 0, 32935, 0, 'Endora Moorehead - Player In Range'),
23+
(29636, 0, 6, 'Welcome.', 12, 0, 100, 0, 0, 0, 32936, 0, 'Endora Moorehead - Player In Range');
24+
25+
-- Karandonna → Talker: 28995
26+
DELETE FROM `creature_text` WHERE (`CreatureID` = 28995);
27+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
28+
(28995, 0, 0, 'Welcome. May I help you find something?', 12, 0, 100, 3, 0, 0, 32811, 0, 'Karandonna'),
29+
(28995, 0, 1, 'Welcome.', 12, 0, 100, 3, 0, 0, 32936, 0, 'Karandonna'),
30+
(28995, 0, 2, 'Welcome!', 12, 0, 100, 0, 0, 0, 32807, 0, 'Karandonna - Player In Range'),
31+
(28995, 0, 3, 'Greetings, $c.', 12, 0, 100, 0, 0, 0, 32808, 0, 'Karandonna - Player In Range'),
32+
(28995, 0, 4, 'Greetings! Please have a look around.', 12, 0, 100, 0, 0, 0, 32809, 0, 'Karandonna - Player In Range'),
33+
(28995, 0, 5, 'Let me know if you need help finding anything, $c.', 12, 0, 100, 0, 0, 0, 32810, 0, 'Karandonna - Player In Range'),
34+
(28995, 0, 6, 'Greetings.', 12, 0, 100, 0, 0, 0, 32935, 0, 'Karandonna - Player In Range');
35+
36+
-- Miles Sidney → Talker: 28355
37+
DELETE FROM `creature_text` WHERE (`CreatureID` = 28355);
38+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
39+
-- GroupID 0 → Script 2834700 id=1 e Script 2834701 id=0
40+
(28355, 0, 0, 'I\'m working on it, I just don\'t want to sell it until I\'m happy with it. It shouldn\'t be long.', 12, 0, 100, 0, 0, 0, 27808, 0, 'Wright Williams'),
41+
-- GroupID 1 → Script 2834702 id=0
42+
(28355, 1, 0, 'Sir, our customers are complaining that there\'s not enough Maiden\'s Anguish in our Deadly Poisons.', 12, 0, 100, 0, 0, 0, 27803, 0, 'Wright Williams'),
43+
-- GroupID 2 → Script 2834700 id=1 e Script 2834702 id=0
44+
(28355, 2, 0, 'Sir, I think we were close with the Lethargy Root in that last poison recipe.', 12, 0, 100, 0, 0, 0, 27802, 0, 'Wright Williams'),
45+
-- GroupID 3 → Script 2834703 id=0
46+
(28355, 3, 0, 'Sir, our customers are complaining that there\'s too much Deathweed in our Anesthetics.', 12, 0, 100, 0, 0, 0, 27809, 0, 'Wright Williams'),
47+
(28355, 5, 0, 'Greetings.', 12, 7, 100, 3, 0, 0, 43337, 0, 'Miles Sidney'),
48+
(28355, 5, 1, 'Greetings, $c.', 12, 7, 100, 3, 0, 0, 43330, 0, 'Miles Sidney'),
49+
(28355, 5, 2, 'Greetings! Please have a look around.', 12, 7, 100, 3, 0, 0, 43333, 0, 'Miles Sidney'),
50+
(28355, 5, 3, 'Let me know if you need help finding anything, $c.', 12, 7, 100, 3, 0, 0, 43335, 0, 'Miles Sidney'),
51+
(28355, 5, 4, 'Welcome. May I help you find something?', 12, 7, 100, 3, 0, 0, 43336, 0, 'Miles Sidney');
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-- DB update 2026_05_17_04 -> 2026_05_17_05
2+
--
3+
-- Scourgebane Infusion (item 22778 -> spell 28488) and Scourgebane Draught
4+
-- (item 22779 -> spell 28486) are not battle elixirs. Remove them from the
5+
-- Battle Elixir spell group(1) so they stack with each other and other
6+
-- flasks/elixirs.
7+
--
8+
DELETE FROM `spell_group` WHERE `id` = 1 AND `spell_id` IN (28486, 28488);
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-- DB update 2026_05_17_05 -> 2026_05_17_06
2+
--
3+
UPDATE `item_loot_template` SET `Chance` = 0 WHERE `Entry` = 41888 AND `GroupId` = 1;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- DB update 2026_05_17_06 -> 2026_05_17_07
2+
3+
-- Remove Dead Alliance Soldier spawn point and creature addon
4+
DELETE FROM `creature` WHERE `id1` = 31281 AND `guid` = 121653;
5+
DELETE FROM `creature_addon` WHERE (`guid` IN (121653));
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
-- DB update 2026_05_17_07 -> 2026_05_18_00
2+
3+
-- Set idle for Burning Blade Fanatics and Apprentices.
4+
UPDATE `creature` SET `wander_distance` = 0, `MovementType` = 0 WHERE (`id1` = 3198) AND (`guid` IN (6430, 6431));
5+
UPDATE `creature` SET `wander_distance` = 0, `MovementType` = 0 WHERE (`id1` = 3197) AND (`guid` IN (6427, 6429));
6+
7+
-- Remove Old Waypoint from Creature Addon and set Movement Type to 0.
8+
UPDATE `creature` SET `MovementType` = 0 WHERE (`id1` = 3203) AND (`guid` IN (6455));
9+
UPDATE `creature_addon` SET `path_id` = 0 WHERE (`guid` IN (6455));
10+
11+
-- Delete old Fizzle Darkstorm waypoint and add a sniffed new one.
12+
DELETE FROM `waypoint_data` WHERE (`id` IN (645500));
13+
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
14+
(645500, 1, 869.7513, -4202.463, -14.066155, NULL, 0, 0, 0, 100, 0),
15+
(645500, 2, 871.55255, -4210.9136, -12.093292, NULL, 0, 0, 0, 100, 0),
16+
(645500, 3, 876.02, -4217.9136, -11.525927, NULL, 25000, 0, 0, 100, 0),
17+
(645500, 4, 870.5361, -4208.033, -13.908268, NULL, 0, 0, 0, 100, 0),
18+
(645500, 5, 867.7095, -4194.5493, -14.389078, NULL, 0, 0, 0, 100, 0),
19+
(645500, 6, 868.6138, -4189.563, -14.07393, NULL, 45000, 0, 0, 100, 0);
20+
21+
-- Set Fizzle Darkstorm SmartAI and update old comments.
22+
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 3203;
23+
24+
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 3203);
25+
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
26+
(3203, 0, 0, 0, 1, 0, 100, 1, 1000, 1000, 0, 0, 0, 0, 11, 11939, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzle Darkstorm - Out of Combat - Cast \'Summon Imp\' (No Repeat)'),
27+
(3203, 0, 1, 0, 0, 0, 100, 0, 0, 0, 2400, 3800, 0, 0, 11, 20791, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzle Darkstorm - In Combat - Cast \'Shadow Bolt\''),
28+
(3203, 0, 2, 0, 2, 0, 100, 0, 0, 50, 20000, 30000, 0, 0, 11, 7290, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzle Darkstorm - Between 0-50% Health - Cast \'Soul Siphon\''),
29+
(3203, 0, 3, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzle Darkstorm - Between 0-15% Health - Flee For Assist (No Repeat)'),
30+
(3203, 0, 4, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 645500, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzle Darkstorm - On Reset - Start Path 645500'),
31+
(3203, 0, 5, 0, 108, 0, 100, 0, 3, 645500, 0, 0, 0, 0, 80, 320300, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzle Darkstorm - On Point 3 of Path 645500 Reached - Run Script');
32+
33+
-- Add Action List.
34+
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 320300);
35+
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
36+
(320300, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 11, 21157, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzle Darkstorm - Actionlist - Cast \'Dark Channeling\''),
37+
(320300, 9, 1, 0, 0, 0, 100, 0, 25000, 25000, 0, 0, 0, 0, 28, 21157, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzle Darkstorm - Actionlist - Remove Aura \'Dark Channeling\'');

0 commit comments

Comments
 (0)