Skip to content

Commit

Permalink
[4898][ACID] q.12544 'The Bones of Nozronn'
Browse files Browse the repository at this point in the history
Event added
+ small update for [4897]
  • Loading branch information
Grz3s committed Sep 1, 2023
1 parent 0a2ad4f commit 0326bd8
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 39 deletions.
7 changes: 7 additions & 0 deletions ACID/acid_wotlk.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28870,6 +28870,13 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
-- Frostbitten Corpse 28220
('2822001','28220','30','0','100','0','5','28220','0','0','0','0','22','1','0','0','0','0','0','0','0','0','0','0','Frostbitten Corpse - Set Phase 1 on Receive AI Event Custom A'),
('2822002','28220','30','1','100','0','6','28218','0','0','0','0','41','0','0','0','0','0','0','0','0','0','0','0','Frostbitten Corpse - Despawn Self on Receive AI Event Custom B (Phase 1)'),
-- Nozronn's Eye 28230
('2823001','28230','11','0','100','0','0','0','0','0','0','0','11','46679','0','0','0','0','0','0','0','0','0','0','Nozronn\'s Eye - Cast Cosmetic - Low Poly Blue Fire on Spawn'),
-- Voice of Nozronn 28256
('2825601','28256','11','0','100','0','0','0','0','0','0','0','11','39983','0','0','53','20766','11','0','0','0','0','0','Voice of Nozronn - Cast Internal Shake Camera on Spawn'),
-- Sholazar Witch Light 28279
('2827901','28279','11','0','100','0','0','0','0','0','0','0','53','-20311','0','0','0','0','0','0','0','0','0','0','Sholazar Witch Light - START_RELAY_SCRIPT (Random) on Spawn'),
('2827902','28279','29','0','100','0','5000','12000','0','0','0','0','53','20771','11','0','0','0','0','0','0','0','0','0','Sholazar Witch Light - START_RELAY_SCRIPT on Generic Timer (Phase 1)'),
-- Shango 28297
('2829701','28297','0','0','100','1025','5000','9000','7000','12000','0','0','11','32019','4','32','0','0','0','0','0','0','0','0','Shango - Cast Gore'),
-- Shaman Vekjik (28315) - npc_vekjik
Expand Down
78 changes: 39 additions & 39 deletions Updates/4897_q.12645.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,44 +14,44 @@ INSERT INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`, `value3
DELETE FROM dbscripts_on_relay WHERE id BETWEEN 20763 AND 20765;
INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
-- Hemet
(20763,1,21,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'Source Active'),
(20763,2000,0,0,0,0,0,0,6,28549,0,0,0,0,0,0,0,'Say'),
(20763,2001,1,273,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20763,4000,42,0,0,0,0,0,6,2705,0,0,0,0,0,0,0,'temp equip'),
(20763,5000,1,92,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20763,7000,0,0,0,0,0,0,6,28550,0,0,0,0,0,0,0,'Say'),
(20763,7001,1,5,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20763,11000,0,0,0,0,0,0,6,28551,0,0,0,0,0,0,0,'Say'),
(20763,11001,1,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20763,12000,42,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'temp equip'),
(20763,12002,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'kill credit'),
(20763,13000,54,2,0,0,0,0,6,0,0,0,0,0,0,0,0,'set ranged'),
(20763,13001,21,0,0,0,0,0,6,0,0,0,0,0,0,0,0,'Source unactive'),
(20763,1,21,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: Source Active'),
(20763,2000,0,0,0,0,0,0,6,28549,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: Say'),
(20763,2001,1,273,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: emote'),
(20763,4000,42,0,0,0,0,0,6,2705,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: temp equip'),
(20763,5000,1,92,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: emote'),
(20763,7000,0,0,0,0,0,0,6,28550,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: Say'),
(20763,7001,1,5,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: emote'),
(20763,11000,0,0,0,0,0,0,6,28551,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: Say'),
(20763,11001,1,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: emote'),
(20763,12000,42,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: temp equip'),
(20763,12002,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: kill credit'),
(20763,13000,54,2,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: set ranged'),
(20763,13001,21,0,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hemet Nesingwary 27986 EAI: Source unactive'),
-- Hadrius
(20764,1,21,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'Source Active'),
(20764,2000,0,0,0,0,0,0,6,28554,0,0,0,0,0,0,0,'Say'),
(20764,2001,1,273,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20764,4000,42,0,0,0,0,0,6,2705,0,0,0,0,0,0,0,'temp equip'),
(20764,5000,1,92,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20764,7000,0,0,0,0,0,0,6,28556,0,0,0,0,0,0,0,'Say'),
(20764,7001,1,5,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20764,11000,15,42963,0,0,0,0,6,0,0,0,0,0,0,0,0,'Self Cast'),
(20764,13000,0,0,0,0,0,0,6,28557,0,0,0,0,0,0,0,'Say'),
(20764,13001,1,5,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20764,16000,1,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20764,17000,42,0,0,0,0,0,6,0,0,0,0,0,0,0,0,'temp equip'),
(20764,17001,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'kill credit'),
(20764,18000,21,0,0,0,0,0,6,0,0,0,0,0,0,0,0,'Source unactive'),
(20764,1,21,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: Source Active'),
(20764,2000,0,0,0,0,0,0,6,28554,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: Say'),
(20764,2001,1,273,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: emote'),
(20764,4000,42,0,0,0,0,0,6,2705,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: temp equip'),
(20764,5000,1,92,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: emote'),
(20764,7000,0,0,0,0,0,0,6,28556,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: Say'),
(20764,7001,1,5,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: emote'),
(20764,11000,15,42963,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: Self Cast'),
(20764,13000,0,0,0,0,0,0,6,28557,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: Say'),
(20764,13001,1,5,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: emote'),
(20764,16000,1,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: emote'),
(20764,17000,42,0,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: temp equip'),
(20764,17001,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: kill credit'),
(20764,18000,21,0,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Hadrius Harlowe 28047 EAI: Source unactive'),
-- Tamara Wobblesprocket
(20765,1,21,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'Source Active'),
(20765,2000,0,0,0,0,0,0,6,28546,0,0,0,0,0,0,0,'Say'),
(20765,2001,1,273,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20765,4000,42,0,0,0,0,0,6,2705,0,0,0,0,0,0,0,'temp equip'),
(20765,5000,1,92,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20765,7000,42,0,0,0,0,0,6,31824,0,0,0,0,0,0,0,'temp equip'),
(20765,7001,0,0,0,0,0,0,6,28547,0,0,0,0,0,0,0,'Say'),
(20765,8000,1,5,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20765,11000,0,0,0,0,0,0,6,28548,0,0,0,0,0,0,0,'Say'),
(20765,11001,1,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'emote'),
(20765,12001,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'kill credit'),
(20765,12000,21,0,0,0,0,0,6,0,0,0,0,0,0,0,0,'Source unactive');
(20765,1,21,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: Source Active'),
(20765,2000,0,0,0,0,0,0,6,28546,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: Say'),
(20765,2001,1,273,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: emote'),
(20765,4000,42,0,0,0,0,0,6,2705,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: temp equip'),
(20765,5000,1,92,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: emote'),
(20765,7000,42,0,0,0,0,0,6,31824,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: temp equip'),
(20765,7001,0,0,0,0,0,0,6,28547,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: Say'),
(20765,8000,1,5,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: emote'),
(20765,11000,0,0,0,0,0,0,6,28548,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: Say'),
(20765,11001,1,1,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: emote'),
(20765,12001,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: kill credit'),
(20765,12000,21,0,0,0,0,0,6,0,0,0,0,0,0,0,0,'Part of Tamara Wobblesprocket 28568 EAI: Source unactive');
76 changes: 76 additions & 0 deletions Updates/4898_q.12544.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
-- q.12544 'The Bones of Nozronn'
DELETE FROM dbscripts_on_event WHERE id = 18481;
INSERT INTO dbscripts_on_event (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
(18481,1,31,28256,50,0,0,0,0x08,0,0,0,0,0,0,0,0,'q check - terminate if alive'),
(18481,10,10,28256,35000,0,0,0,0x08,0,0,0,0,5212.603,5787.078,-70.56953,2.513274,'summon: 28256'),
(18481,11,10,28279,20000,0,0,0,0x08,1,0,0,0,5242.078,5740.667,-59.98927,4.18879,'summon: 28279'),
(18481,12,10,28279,20000,0,0,0,0x08,1,0,0,0,5232.818,5750.225,-63.93412,3.961897,'summon: 28279'),
(18481,13,10,28279,20000,0,0,0,0x08,1,0,0,0,5249.261,5765.971,-59.90696,6.178465,'summon: 28279'),
(18481,14,10,28279,20000,0,0,0,0x08,1,0,0,0,5230.022,5771.104,-56.96051,1.710423,'summon: 28279'),
(18481,15,10,28279,20000,0,0,0,0x08,1,0,0,0,5240.936,5786.487,-63.58977,1.22173,'summon: 28279'),
(18481,16,10,28279,20000,0,0,0,0x08,1,0,0,0,5206.194,5754.944,-71.6155,2.879793,'summon: 28279'),
(18481,17,10,28279,20000,0,0,0,0x08,1,0,0,0,5221.603,5749.741,-63.75953,3.543018,'summon: 28279'),
(18481,18,10,28279,20000,0,0,0,0x08,1,0,0,0,5232.51,5731.526,-68.7676,4.764749,'summon: 28279'),
(18481,19,10,28279,20000,0,0,0,0x08,1,0,0,0,5214.361,5743.659,-73.36909,4.29351,'summon: 28279'),
(18481,20,10,28279,20000,0,0,0,0x08,1,0,0,0,5206.439,5767.634,-68.19739,3.822271,'summon: 28279'),
(18481,21,10,28279,20000,0,0,0,0x08,1,0,0,0,5197.423,5776.377,-70.25041,2.094395,'summon: 28279'),
(18481,22,10,28279,20000,0,0,0,0x08,1,0,0,0,5199.837,5789.268,-62.45123,2.775074,'summon: 28279'),
(18481,23,10,28279,20000,0,0,0,0x08,1,0,0,0,5198.979,5768.557,-70.70884,0.436332,'summon: 28279'),
(18481,24,10,28279,20000,0,0,0,0x08,1,0,0,0,5204.702,5791.856,-68.11948,1.623156,'summon: 28279'),
(18481,25,10,28279,20000,0,0,0,0x08,1,0,0,0,5259.322,5767.997,-63.7346,2.75762,'summon: 28279'),
(18481,26,10,28279,20000,0,0,0,0x08,1,0,0,0,5254.312,5781.61,-67.96659,3.420845,'summon: 28279'),
(18481,27,10,28279,20000,0,0,0,0x08,1,0,0,0,5242.865,5777.236,-65.67616,2.426008,'summon: 28279'),
(18481,28,10,28279,20000,0,0,0,0x08,1,0,0,0,5232.002,5790.667,-68.25787,1.518436,'summon: 28279'),
(18481,29,10,28279,20000,0,0,0,0x08,1,0,0,0,5223.679,5794.549,-64.10463,5.951573,'summon: 28279'),
(18481,30,10,28279,20000,0,0,0,0x08,1,0,0,0,5207.38,5800.154,-67.0273,3.822271,'summon: 28279'),
(18481,31,10,28279,20000,0,0,0,0x08,1,0,0,0,5215.567,5799.322,-68.99142,3.193953,'summon: 28279'),
(18481,32,10,28230,30000,0,0,0,0x08,0,0,0,0,5215.021,5777.659,-71.13335,3.752458,'summon: 28230'),
(18481,33,10,28230,30000,0,0,0,0x08,0,0,0,0,5214.409,5784.443,-62.01576,0.5934119,'summon: 28230'),
(18481,34,10,28230,30000,0,0,0,0x08,0,0,0,0,5208.637,5778.08,-63.04353,2.565634,'summon: 28230'),
(18481,35,10,28230,30000,0,0,0,0x08,0,0,0,0,5219.113,5779.453,-71.0571,4.520403,'summon: 28230'),
(18481,36,10,28230,30000,0,0,0,0x08,0,0,0,0,5225.277,5777.674,-67.50936,5.061455,'summon: 28230'),
(18481,37,53,0,0,0,0,0,0,32538,1,0,0,0,0,0,0,'Set worldstate variable to 1'),
(18481,28000,8,28256,0,0,0,0,0,0,0,0,0,0,0,0,0,'Q Credit'),
(18481,30000,53,0,0,0,0,0,0,32538,0,0,0,0,0,0,0,'Set worldstate variable to 0');
-- Updates
UPDATE creature_template SET UnitFlags = 33554432, MovementType = 0 WHERE entry IN (28256);
UPDATE creature_template SET InhabitType = 4, MovementType = 1 WHERE entry IN (28279);
UPDATE creature_template SET InhabitType = 4, MovementType = 0 WHERE entry IN (28230);
DELETE FROM dbscripts_on_relay WHERE id BETWEEN 20766 AND 20771;
INSERT INTO dbscripts_on_relay (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
(20766,4000,0,0,0,0,0,0,2,27697,0,0,0,0,0,0,0,'Part of Voice of Nozronn 28256 EAI: Say'),
(20766,11000,0,0,0,0,0,0,2,27698,0,0,0,0,0,0,0,'Part of Voice of Nozronn 28256 EAI: Say'),
(20766,17000,0,0,0,0,0,0,2,27699,0,0,0,0,0,0,0,'Part of Voice of Nozronn 28256 EAI: Say'),
(20766,24000,0,0,0,0,0,0,2,27701,0,0,0,0,0,0,0,'Part of Voice of Nozronn 28256 EAI: Say'),
(20766,29000,0,0,0,0,0,0,2,27702,0,0,0,0,0,0,0,'Part of Voice of Nozronn 28256 EAI: Say'),
(20767,1,15,33343,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Sholazar Witch Light 28279 EAI: Self Cast'),
(20768,1,15,33344,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Sholazar Witch Light 28279 EAI: Self Cast'),
(20769,1,15,35709,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Sholazar Witch Light 28279 EAI: Self Cast'),
(20770,1,15,32566,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Part of Sholazar Witch Light 28279 EAI: Self Cast'),
(20771,1,37,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Part of Sholazar Witch Light 28279 EAI: move towards summoner');
DELETE FROM dbscript_random_templates WHERE id = 20311;
INSERT INTO dbscript_random_templates (id, `type`, target_id, chance, comments) VALUES
(20311,1,20767,0,'Sholazar Witch Light 28279 - Random Script 1'),
(20311,1,20768,0,'Sholazar Witch Light 28279 - Random Script 2'),
(20311,1,20769,0,'Sholazar Witch Light 28279 - Random Script 3'),
(20311,1,20770,0,'Sholazar Witch Light 28279 - Random Script 4');
-- moved
UPDATE creature SET position_x = 5212.669922, position_y = 5831.364746, position_z = -71.507301 WHERE guid = 521234;
-- missing OBJECT added
DELETE FROM game_event_gameobject WHERE guid = 511788;
DELETE FROM gameobject_battleground WHERE guid = 511788;
DELETE FROM gameobject WHERE guid = 511788;
INSERT INTO gameobject (guid, id, map, spawnMask, position_x, position_y, position_z, orientation, rotation0, rotation1, rotation2, rotation3, spawntimesecsmin, spawntimesecsmax) VALUES
(511788,188443,571,1,5210.079,5790.797,-71.42526,0.71558490,0,0,0.3502073,0.9366722,1,1);
DELETE FROM `spawn_group` WHERE id = 32538;
INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES
(32538, 'Sholazar Basin - o.188443 spawn with q.12544', 1, 0, 20563, 0x08);
DELETE FROM `spawn_group_spawn` WHERE id = 32538;
INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES
(32538, 511788, -1);
DELETE FROM conditions WHERE condition_entry IN (20563);
INSERT INTO conditions (condition_entry, `type`, value1, value2, value3, flags, comments) VALUES
(20563, 42, 32538, 1, 1, 0, 'Sholazar Basin - o.188443 spawn with q.12544');
DELETE FROM worldstate_name WHERE Id=32538;
INSERT INTO worldstate_name(Id, Name) VALUES
(32538,'Sholazar Basin - o.188443 spawn with q.12544');

0 comments on commit 0326bd8

Please sign in to comment.