Skip to content

Commit

Permalink
Merge 3.3.5 to npcbots_3.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Nov 30, 2024
2 parents 9caa919 + a224033 commit dc9d497
Show file tree
Hide file tree
Showing 328 changed files with 1,661 additions and 199,550 deletions.
7 changes: 7 additions & 0 deletions data/sql/updates/db_world/2024_11_23_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- DB update 2024_11_22_03 -> 2024_11_23_00
--
-- Deletes creatures by GUID that are `Wild Turkey` outside of zones 15 and 85 (Elwynn Forest and Tirisfal Glades)
DELETE FROM `creature` WHERE `guid` IN (241977, 242000, 242012, 243830, 243874, 243955, 243968, 243970, 243972, 243984, 243985, 243986, 243987, 243988, 243989, 243990, 243991, 243992, 243993, 243994, 243995, 243996, 243997, 243998, 243999, 244000, 244001, 244002, 244003, 244004, 244005, 244006, 244007, 244008, 244009, 244010, 244073, 244076, 244098, 244117, 244124, 244125, 244186, 244189, 244208, 244209, 244285, 244308, 244309, 244310, 244311, 244312, 244313, 244314, 244315, 244316, 244317, 244318, 244319, 244320, 244321, 244322, 244323, 244324, 244325, 241971, 243863, 243944, 244100, 244101, 244119, 244220, 244221, 244295, 240654, 243959, 244094, 244114, 244115, 244116, 240656, 244108, 244140, 244141, 244142, 240655, 240658, 240659, 240703, 240742, 240764, 243776, 243777, 243778, 243787, 243943, 243957, 244136, 244137, 244138, 244139, 244204, 244205, 242032, 242033, 242034, 242035, 242036, 242037, 243949, 244087, 244112, 244173, 244174, 244286, 244307, 242149, 242151, 242153, 242156, 242158, 242163, 242164, 242167, 242168, 242170, 242171, 242176, 242177, 242178, 242179, 242187, 242203, 243865, 243945, 243961, 243962, 243963, 243964, 240419, 240420, 240645, 243947, 243950, 244088, 244089, 244090, 244091, 244143, 244144, 244145, 244146, 244212, 244213, 244306, 242103, 242104, 242116, 242117, 242123, 242124, 242127, 242128, 242130, 242132, 242135, 242142, 242144, 243862, 241994, 241995, 241996, 241997, 241998, 241999, 242001, 242002, 242003, 242004, 242005, 242006, 242007, 242008, 242009, 242010, 242011, 242013, 242014, 242016, 242017, 242018, 242019, 242020, 242021, 242022, 242023, 242024, 242025, 242026, 242027, 242028, 242029, 242030, 243832, 243956, 244099, 244118, 244126, 244127, 240657, 240661, 240721, 240723, 240804, 240810, 240811, 240991, 243836, 243837, 243838, 243839, 243840, 243841, 243871, 243954, 244051, 244052, 244053, 244057, 244058, 244061, 244062, 244155, 244156, 244157, 244158, 244175, 244202, 244203, 244228, 244229, 244230, 243826, 241415, 241453, 241603, 241605, 241625, 241666, 243952, 244086, 244109, 244110, 244122, 244177, 244206, 244207, 244287, 244288, 242040, 242043, 243946, 243958, 244092, 244093, 244113, 244128, 244132, 244133, 244134, 244135, 241968, 241969, 241970, 244084, 244085, 244167, 244168, 244169, 244170, 244231, 244290, 244291, 244292, 244293, 244294, 242061, 242064, 242065, 242066, 242071, 242072, 242073, 242077, 242079, 242081, 242084, 242094, 242096, 242099, 242101, 242102, 242105, 242114, 242115, 243953, 244102, 244103, 244104, 244111, 244120, 244129, 244130, 244131, 241972, 243864, 242045, 242058, 242062, 242063, 242067, 242068, 242069, 242070, 242074, 242075, 242078, 242082, 242083, 242085, 242086, 242087, 242088, 242089, 242090, 242091, 242092, 242093, 242095, 242097, 242098, 242100, 242106, 242107, 242108, 242109, 242110, 242111, 242112, 242113, 242118, 242119, 242120, 242121, 242122, 242125, 242126, 242129, 242131, 242133, 242134, 242136, 242137, 242138, 242139, 242140, 242141, 242143, 242145, 242146, 242147, 242148, 242150, 242152, 242154, 242155, 242157, 242159, 242160, 242161, 242162, 242165, 242166, 242169, 242172, 242173, 242174, 242175, 242180, 242181, 242182, 242183, 242184, 242185, 242186, 242188, 242189, 242190, 242191, 242192, 242193, 242194, 242195, 242196, 242197, 242198, 242199, 242200, 242201, 242202, 242204, 242205, 242206, 242207, 242208, 242209, 242210, 242211, 242212, 242213, 242214, 242216, 242217, 242218, 242219, 242221, 242222, 242223, 242224, 242225, 242226, 242227, 242228, 242229, 242230, 242231, 242232, 242233, 242234, 242235, 242236, 242237, 242238, 242239, 242240, 243711, 243876, 244163, 244164, 244165, 244166, 242215, 242763, 243381, 243930, 242044, 242046, 242047, 242048, 242049, 242050, 242051, 242052, 242053, 242054, 242056, 242057, 242059, 242060, 242080, 243782, 243783, 243784, 243785, 243786, 243788, 243789, 243877, 243948, 244147, 244148, 244149, 244150, 244159, 244160, 244171, 244172, 244216, 244217, 244222, 244223, 243548, 243558, 243560, 243570, 243573, 243575, 243580, 243589, 243875, 243931, 243932, 243933, 243934, 243935, 243936, 243937, 243938, 243939, 243940, 243941, 244011, 244012, 244013, 244014, 244015, 244016, 244017, 244018, 244019, 244020, 244021, 244105, 244106, 244107, 244121, 244185, 244187, 244214, 244215, 244348, 244349, 244350, 244351, 244352, 244353, 244354, 244355, 244356, 244357, 244358, 244359, 244360, 244361, 244362, 244363, 241712, 241715, 241771, 241777, 241800, 241811, 241815, 241818, 241820, 241823, 241837, 241839, 241845, 241860, 241862, 241864, 241865, 241870, 241871, 241878, 241880, 241882, 241908, 241923, 241928, 241929, 241935, 241938, 241940, 241941, 241944, 241948, 241949, 241951, 241958, 241961, 241962, 243774, 243775, 243810, 243929, 244161, 244162, 244200, 244201, 244233, 244151, 244152, 244153, 244154, 244210, 244211) AND `id1` = 32820;

-- Deletes the same GUIDs as above from game_event_creature that has the event 26 (Pilgrim's Bounty)
DELETE FROM `game_event_creature` WHERE `guid` IN (240419, 240420, 240645, 240654, 240655, 240656, 240657, 240658, 240659, 240661, 240703, 240721, 240723, 240742, 240764, 240804, 240810, 240811, 240991, 241415, 241453, 241603, 241605, 241625, 241666, 241712, 241715, 241771, 241777, 241800, 241811, 241815, 241818, 241820, 241823, 241837, 241839, 241845, 241860, 241862, 241864, 241865, 241870, 241871, 241878, 241880, 241882, 241908, 241923, 241928, 241929, 241935, 241938, 241940, 241941, 241944, 241948, 241949, 241951, 241958, 241961, 241962, 241968, 241969, 241970, 241971, 241972, 241977, 241994, 241995, 241996, 241997, 241998, 241999, 242000, 242001, 242002, 242003, 242004, 242005, 242006, 242007, 242008, 242009, 242010, 242011, 242012, 242013, 242014, 242016, 242017, 242018, 242019, 242020, 242021, 242022, 242023, 242024, 242025, 242026, 242027, 242028, 242029, 242030, 242032, 242033, 242034, 242035, 242036, 242037, 242040, 242043, 242044, 242045, 242046, 242047, 242048, 242049, 242050, 242051, 242052, 242053, 242054, 242056, 242057, 242058, 242059, 242060, 242061, 242062, 242063, 242064, 242065, 242066, 242067, 242068, 242069, 242070, 242071, 242072, 242073, 242074, 242075, 242077, 242078, 242079, 242080, 242081, 242082, 242083, 242084, 242085, 242086, 242087, 242088, 242089, 242090, 242091, 242092, 242093, 242094, 242095, 242096, 242097, 242098, 242099, 242100, 242101, 242102, 242103, 242104, 242105, 242106, 242107, 242108, 242109, 242110, 242111, 242112, 242113, 242114, 242115, 242116, 242117, 242118, 242119, 242120, 242121, 242122, 242123, 242124, 242125, 242126, 242127, 242128, 242129, 242130, 242131, 242132, 242133, 242134, 242135, 242136, 242137, 242138, 242139, 242140, 242141, 242142, 242143, 242144, 242145, 242146, 242147, 242148, 242149, 242150, 242151, 242152, 242153, 242154, 242155, 242156, 242157, 242158, 242159, 242160, 242161, 242162, 242163, 242164, 242165, 242166, 242167, 242168, 242169, 242170, 242171, 242172, 242173, 242174, 242175, 242176, 242177, 242178, 242179, 242180, 242181, 242182, 242183, 242184, 242185, 242186, 242187, 242188, 242189, 242190, 242191, 242192, 242193, 242194, 242195, 242196, 242197, 242198, 242199, 242200, 242201, 242202, 242203, 242204, 242205, 242206, 242207, 242208, 242209, 242210, 242211, 242212, 242213, 242214, 242215, 242216, 242217, 242218, 242219, 242221, 242222, 242223, 242224, 242225, 242226, 242227, 242228, 242229, 242230, 242231, 242232, 242233, 242234, 242235, 242236, 242237, 242238, 242239, 242240, 242763, 243381, 243548, 243558, 243560, 243570, 243573, 243575, 243580, 243589, 243711, 243774, 243775, 243776, 243777, 243778, 243782, 243783, 243784, 243785, 243786, 243787, 243788, 243789, 243810, 243826, 243830, 243832, 243836, 243837, 243838, 243839, 243840, 243841, 243862, 243863, 243864, 243865, 243871, 243874, 243875, 243876, 243877, 243929, 243930, 243931, 243932, 243933, 243934, 243935, 243936, 243937, 243938, 243939, 243940, 243941, 243943, 243944, 243945, 243946, 243947, 243948, 243949, 243950, 243952, 243953, 243954, 243955, 243956, 243957, 243958, 243959, 243961, 243962, 243963, 243964, 243968, 243970, 243972, 243984, 243985, 243986, 243987, 243988, 243989, 243990, 243991, 243992, 243993, 243994, 243995, 243996, 243997, 243998, 243999, 244000, 244001, 244002, 244003, 244004, 244005, 244006, 244007, 244008, 244009, 244010, 244011, 244012, 244013, 244014, 244015, 244016, 244017, 244018, 244019, 244020, 244021, 244051, 244052, 244053, 244057, 244058, 244061, 244062, 244073, 244076, 244084, 244085, 244086, 244087, 244088, 244089, 244090, 244091, 244092, 244093, 244094, 244098, 244099, 244100, 244101, 244102, 244103, 244104, 244105, 244106, 244107, 244108, 244109, 244110, 244111, 244112, 244113, 244114, 244115, 244116, 244117, 244118, 244119, 244120, 244121, 244122, 244124, 244125, 244126, 244127, 244128, 244129, 244130, 244131, 244132, 244133, 244134, 244135, 244136, 244137, 244138, 244139, 244140, 244141, 244142, 244143, 244144, 244145, 244146, 244147, 244148, 244149, 244150, 244151, 244152, 244153, 244154, 244155, 244156, 244157, 244158, 244159, 244160, 244161, 244162, 244163, 244164, 244165, 244166, 244167, 244168, 244169, 244170, 244171, 244172, 244173, 244174, 244175, 244177, 244185, 244186, 244187, 244189, 244200, 244201, 244202, 244203, 244204, 244205, 244206, 244207, 244208, 244209, 244210, 244211, 244212, 244213, 244214, 244215, 244216, 244217, 244220, 244221, 244222, 244223, 244228, 244229, 244230, 244231, 244233, 244285, 244286, 244287, 244288, 244290, 244291, 244292, 244293, 244294, 244295, 244306, 244307, 244308, 244309, 244310, 244311, 244312, 244313, 244314, 244315, 244316, 244317, 244318, 244319, 244320, 244321, 244322, 244323, 244324, 244325, 244348, 244349, 244350, 244351, 244352, 244353, 244354, 244355, 244356, 244357, 244358, 244359, 244360, 244361, 244362, 244363) AND `eventEntry` = 26;
6 changes: 6 additions & 0 deletions data/sql/updates/db_world/2024_11_23_01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-- DB update 2024_11_23_00 -> 2024_11_23_01
--
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceGroup` = 1) AND (`SourceEntry` IN (45340, 43962));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 43962, 0, 0, 31, 0, 3, 22515, 0, 0, 0, 0, '', 'Summon Amani\'shi Hatcher target World Trigger'),
(13, 1, 45340, 0, 0, 31, 0, 3, 22515, 0, 0, 0, 0, '', 'Summon Amani\'shi Hatcher target World Trigger');
22 changes: 22 additions & 0 deletions data/sql/updates/db_world/2024_11_24_00.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
-- DB update 2024_11_23_01 -> 2024_11_24_00
--
-- not selectable
UPDATE `creature_template` SET `unit_flags` = `unit_flags` | 33554432 WHERE (`entry` = 24223);
-- root
UPDATE `creature_template_movement` SET `Rooted` = 1 WHERE (`CreatureId` = 24223);

SET @GUID:=38464;
DELETE FROM `creature` WHERE (`id1` = 24223) AND (`guid` BETWEEN (@GUID+00) AND (@GUID+11));
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID+00, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 231.7856, 1477.3315, 26.000067, 0.541052043437957763, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+01, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 227.88835, 1452.7626, 26.000414, 3.001966238021850585, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+02, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 228.48058, 1433.1262, 27.387426, 2.58308720588684082, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+03, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 227.02995, 1417.4744, 32.817062, 2.757620096206665039, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+04, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 227.65094, 1404.276, 37.13389, 2.321287870407104492, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+05, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 227.5511, 1382.4186, 44.78124, 0.174532920122146606, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+06, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 229.57564, 1361.4746, 49.162132, 5.218534469604492187, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+07, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 246.97385, 1356.4729, 49.40504, 1.2042771577835083, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+08, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 261.45508, 1402.2993, 49.40504, 2.0245819091796875, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+09, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 245.92024, 1374.8492, 49.404884, 3.40339207649230957, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+10, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 253.92784, 1429.9912, 49.40504, 2.181661605834960937, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788),
(@GUID+11, 24223, 0, 0, 568, 0, 0, 1, 1, 0, 281.30252, 1430.9957, 61.60976, 0.087266460061073303, 7200, 0, 0, 3827, 0, 0, 0, 0, 0, '', 53788);
4 changes: 4 additions & 0 deletions data/sql/updates/db_world/2024_11_24_01.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- DB update 2024_11_24_00 -> 2024_11_24_01
--
-- Adds "Disarm" immunity to Creautre (Boss) "Halazzi" - [Zul'Aman]
UPDATE `creature_template` SET `mechanic_immune_mask` = `mechanic_immune_mask` | 4 WHERE `entry` = 23577;
5 changes: 5 additions & 0 deletions data/sql/updates/db_world/2024_11_24_02.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- DB update 2024_11_24_01 -> 2024_11_24_02
--
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 23817) AND (`source_type` = 0) AND (`id` IN (1));
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
(23817, 0, 1, 0, 8, 0, 100, 0, 43144, 0, 0, 0, 0, 0, 11, 42493, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dragonhawk Egg - On Spellhit \'Hatch Eggs\' - Cast \'Summon Dragonhawk Hatchling\'');
35 changes: 35 additions & 0 deletions data/sql/updates/db_world/2024_11_24_03.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
-- DB update 2024_11_24_02 -> 2024_11_24_03
--
-- IMMUNE_TO_PC
UPDATE `creature_template` SET `unit_flags` = `unit_flags` | 256 WHERE (`entry` = 24358);

-- purge old waypoints
DELETE FROM `waypoint_data` WHERE `id`=860442;
DELETE FROM `waypoint_data` WHERE `id`=860441;
DELETE FROM `waypoint_data` WHERE `id`=860440;

-- verify model 22340
UPDATE `creature_template_model` SET `VerifiedBuild` = 53788 WHERE (`CreatureID` = 24358) AND `Idx` = 0;

-- text
-- broadcast text still says three
UPDATE `creature_text` SET `Text`='Suit yourself. At least five of you must assist me if we\'re to get inside. Follow me....' WHERE `CreatureID`=24358 AND `GroupID`=0 AND `ID`=0;

-- to gong
DELETE FROM `waypoint_data` WHERE `id` = 2435800;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`) VALUES
(2435800, 1, 123.585014, 1646.5702, 42.208447, NULL, 0, 1),
(2435800, 2, 130.58502, 1644.0702, 42.208447, NULL, 0, 1),
(2435800, 3, 131.15666, 1643.7225, 42.18348, NULL, 0, 1);

-- to door
DELETE FROM `waypoint_data` WHERE `id` = 2435801;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`) VALUES
(2435801, 1, 126.804565, 1641.6201, 42.500977),
(2435801, 2, 121.95248, 1639.0178, 42.318478),
(2435801, 3, 120.78983, 1609.0632, 43.555756);

-- stealth
DELETE FROM `waypoint_data` WHERE `id` = 2435802;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`) VALUES
(2435802, 1, 120.59397, 1587.591, 43.74926);
3 changes: 3 additions & 0 deletions data/sql/updates/db_world/2024_11_24_04.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- DB update 2024_11_24_03 -> 2024_11_24_04
--
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 3678) AND (`source_type` = 0) AND (`id` IN (26));
3 changes: 3 additions & 0 deletions data/sql/updates/db_world/2024_11_24_05.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- DB update 2024_11_24_04 -> 2024_11_24_05
--
UPDATE `spell_area` SET `gender` = 2 WHERE `spell` IN (43816, 43818, 43820, 43822);
4 changes: 4 additions & 0 deletions data/sql/updates/db_world/2024_11_24_06.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- DB update 2024_11_24_05 -> 2024_11_24_06
-- disable SmartAI for creatures and gameobjects without SmartAI entries
UPDATE `creature_template` SET `AIName` = '' WHERE (`entry` IN (100, 10042, 10158, 1020, 10296, 10337, 10338, 1039, 10639, 11018, 1128, 11327, 114, 11698, 11724, 11725, 11789, 11858, 11918, 1199, 1201, 12160, 1224, 13017, 13159, 14275, 14276, 14369, 14378, 15186, 1520, 1537, 1543, 1547, 1548, 1549, 15591, 15651, 15652, 16054, 16069, 1654, 1655, 1656, 1658, 16591, 16599, 1662, 16764, 1693, 17056, 17405, 17417, 17493, 17558, 1770, 18043, 18075, 18076, 18521, 1869, 1871, 19048, 1934, 1935, 19355, 19421, 19425, 19426, 19432, 19562, 19579, 19580, 19647, 19653, 19686, 1972, 19836, 19932, 20154, 20480, 20520, 20710, 20825, 21456, 2164, 21867, 22134, 22265, 2248, 2275, 23146, 232, 2321, 2322, 2323, 23401, 2347, 23845, 23852, 23853, 23854, 23855, 24043, 24385, 24717, 2473, 2474, 24821, 24826, 24827, 24828, 24829, 24831, 24832, 24837, 24958, 2535, 2536, 25471, 25472, 25473, 2559, 25751, 2578, 2723, 2735, 2736, 2773, 2780, 2781, 2782, 27896, 27897, 27993, 28206, 28355, 28374, 28843, 28878, 2923, 2944, 29500, 29620, 29915, 3, 30315, 30316, 30317, 30318, 30423, 30889, 31195, 31418, 32326, 32364, 32367, 32711, 3285, 3476, 36, 36508, 3722, 37782, 3812, 3814, 39371, 39372, 3988, 3999, 4130, 4388, 4390, 4419, 4620, 4661, 4687, 5061, 5192, 5246, 5253, 5260, 5292, 5293, 5300, 5435, 5461, 5477, 5602, 5622, 5850, 5853, 6020, 6068, 6093, 6233, 6352, 7032, 7067, 7287, 7307, 7369, 756, 757, 822, 8256, 8447, 862, 880, 92, 5287, 4389, 4872));
UPDATE `gameobject_template` SET `AIName` = '' WHERE (`entry` IN (164881, 164882, 164883, 164884, 173325, 173326, 174609, 174616, 174617, 174618, 174619, 174620, 174621, 174622, 174623, 174624, 174625, 174685, 174687, 174710, 174711, 179829, 186432));
32 changes: 32 additions & 0 deletions data/sql/updates/db_world/2024_11_24_07.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
-- DB update 2024_11_24_06 -> 2024_11_24_07
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 28576;

DELETE FROM `smart_scripts` WHERE (`entryorguid` = 28576) AND (`source_type` = 0) AND (`id` IN (8));
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
(28576, 0, 8, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 86, 58207, 0, 10, 128581, 28765, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Citizen of Havenshire - On Aggro - Cross Cast \'Lich King VO Blocker\'');

DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 28576 AND `SourceId` = 0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(22, 9, 28576, 0, 0, 14, 0, 12678, 0, 0, 1, 'Action invoker has finished or active quest If Chaos Drives, Let Suffering Hold The Reins (12678)');

DELETE
FROM `spell_script_names`
WHERE `spell_id` BETWEEN 58207 AND 58223;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(58207, 'spell_lich_king_vo_blocker'),
(58208, 'spell_lich_king_whisper'),
(58209, 'spell_lich_king_whisper'),
(58210, 'spell_lich_king_whisper'),
(58211, 'spell_lich_king_whisper'),
(58212, 'spell_lich_king_whisper'),
(58213, 'spell_lich_king_whisper'),
(58214, 'spell_lich_king_whisper'),
(58215, 'spell_lich_king_whisper'),
(58216, 'spell_lich_king_whisper'),
(58217, 'spell_lich_king_whisper'),
(58218, 'spell_lich_king_whisper'),
(58219, 'spell_lich_king_whisper'),
(58220, 'spell_lich_king_whisper'),
(58221, 'spell_lich_king_whisper'),
(58222, 'spell_lich_king_whisper'),
(58223, 'spell_lich_king_whisper');
Loading

0 comments on commit dc9d497

Please sign in to comment.