Skip to content

Commit

Permalink
[5369][ACID] q.13082 'The Boon of A'dal'
Browse files Browse the repository at this point in the history
Scripted

Closes:
#374
  • Loading branch information
Grz3s committed Jul 22, 2024
1 parent ce93205 commit de8249f
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ACID/acid_wotlk.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28549,7 +28549,7 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
('3066901','30669','1','0','25','1','1000','6000','8000','18000','0','0','9','14556','14559','14560','9','14561','14558','-1','0','0','0','0','Vanguard Sound Dummy - (25% chance) Randomized Random Sound on OOC Timer'),
-- Crusader of Virtue 30672
('3067201','30672','14','0','100','1025','5000','40','18000','21000','0','0','11','58053','12','0','0','0','0','0','0','0','0','0','Crusader of Virtue - Cast Holy Light (Rank 13) on Friendly Missing HP'),
('3067202','30672','8','0','25','1','57682','-1','0','0','0','0','54','0','0','20359','5','66','0','0','0','0','0','0','Crusader of Virtue - (25% chance) Emote and Random Say to Player on Spell Hit'),
('3067202','30672','8','0','25','1','57682','-1','0','0','0','0','54','7','0','20359','5','66','0','0','0','0','0','0','Crusader of Virtue - (25% chance) Emote and Random Say to Player on Spell Hit'),
-- Frostbrood Destroyer 30674
('3067401','30674','1','0','100','1','1000','6000','16000','24000','0','0','9','13904','13905','-1','9','13906','13907','-1','0','0','0','0','Frostbrood Destroyer - Randomized Random Sound on OOC Timer'),
-- Argent Champion 30675
Expand All @@ -28576,13 +28576,19 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
-- Chained Abomination 30689
('3068901','30689','9','0','100','1025','8','40','12000','15000','0','0','11','50335','1','0','0','0','0','0','0','0','0','0','Chained Abomination - Cast Scourge Hook'),
('3068902','30689','9','0','100','1025','0','5','7000','11000','0','0','11','15496','1','0','0','0','0','0','0','0','0','0','Chained Abomination - Cast Cleave'),
-- M'ori 30692
('3069201','30692','1','0','100','0','0','0','0','0','0','0','41','35000','0','0','0','0','0','0','0','0','0','0','M\'ori - Despawn Self on OOC Timer'),
-- K'uri 30693
('3069301','30693','1','0','100','0','0','0','0','0','0','0','41','35000','0','0','0','0','0','0','0','0','0','0','K\'uri - Despawn Self on OOC Timer'),
-- Corpulent Horror 30696
-- Putrid Colossus 30697
-- Morbidus 30698
-- Vile Creeper 30701
-- Ebon Blade Champion 30703
-- Argent Paladin 30704
-- Crusader Olakin Sainrith 30708
-- Bridenbrad Light Bunny 30712
('3071201','30712','1','0','100','0','8000','8000','0','0','0','0','11','57772','0','0','41','28000','0','0','0','0','0','0','Gearmaster Mechazod - Cast Beam of Light and Despawn Self on OOC Timer'),
-- Crusade Engineer Spitzpatrick 30714
('3071401','30714','1','0','100','1','5000','60000','450000','700000','0','0','53','20921','0','0','0','0','0','0','0','0','0','0','Crusade Engineer Spitzpatrick - START_RELAY_SCRIPT on OOC Timer'),
-- Slumbering Mjordin 30718
Expand Down Expand Up @@ -28781,7 +28787,7 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
-- Balargarde Elite 31030
-- Crusader of Virtue 31033
('3103301','31033','14','0','100','1025','5000','40','18000','21000','0','0','11','58053','12','0','0','0','0','0','0','0','0','0','Crusader of Virtue - Cast Holy Light (Rank 13) on Friendly Missing HP'),
('3103302','31033','8','0','25','1','57682','-1','0','0','0','0','54','0','0','20359','5','66','0','0','0','0','0','0','Crusader of Virtue - (25% chance) Emote and Random Say to Player on Spell Hit'),
('3103302','31033','8','0','25','1','57682','-1','0','0','0','0','54','7','0','20359','5','66','0','0','0','0','0','0','Crusader of Virtue - (25% chance) Emote and Random Say to Player on Spell Hit'),
-- Forgotten Depths High Priest 31037
('3103701','31037','9','0','100','1025','0','20','11000','15000','0','0','11','4962','1','0','0','0','0','0','0','0','0','0','Forgotten Depths High Priest - Cast Encasing Webs'),
('3103702','31037','0','0','100','1025','4500','8500','7000','11000','0','0','11','32000','1','0','0','0','0','0','0','0','0','0','Forgotten Depths High Priest - Cast Mind Sear'),
Expand Down
59 changes: 59 additions & 0 deletions Updates/5369_q.13082.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
-- q.13082 'The Boon of A'dal'
DELETE FROM dbscripts_on_quest_start WHERE id IN (13082);
INSERT INTO dbscripts_on_quest_start (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
(13082,1,15,53141,0,0,0,0,0,0,0,0,0,0,0,0,0,'cast 53141');
DELETE FROM dbscripts_on_quest_end WHERE id IN (13082);
INSERT INTO dbscripts_on_quest_end (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
(13082,1,31,30691,0,0,0,0,0x08,0,0,0,0,0,0,0,0,'check for 30691 - terminate if alive'),
(13082,500,15,57787,0,0,0,0,0x02,0,0,0,0,0,0,0,0,'Cast 57787'), -- 22:17:15.352
(13082,501,15,57746,0,0,0,0,6,0,0,0,0,0,0,0,0,'Cast 57746'), -- 22:17:15.352
(13082,502,15,57782,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Cast 57782'), -- 22:17:15.352
(13082,503,15,57786,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Cast 57786'), -- 22:17:15.352
(13082,504,15,57773,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'Cast 57773'); -- 22:17:15.352
UPDATE quest_template SET StartScript = 13082, CompleteScript = 13082 WHERE entry IN (13082);
DELETE FROM spell_target_position WHERE Id IN(53141,57747,57746,57782,57786,57773);
INSERT INTO spell_target_position VALUES
(53141,571,5807.75,588.347,661.505,1.72201),
(57747,571,8138.4,436.835,574.636,2.3795499),
(57746,571,8152.51,407.96,596.347,1.99079),
(57782,571,8134.81,416.529,588.223,1.99079),
(57786,571,8156.95,429.846,591.186,1.99079),
(57773,571,8138.4,436.835,574.636,2.3795);
DELETE FROM dbscripts_on_spell WHERE id IN (57787);
INSERT INTO dbscripts_on_spell (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
(57787,0,15,57747,0,0,0,0,0,0,0,0,0,0,0,0,0,'Cast 57747'); -- 22:17:15.352
-- Spirit of Bridenbrad 30694
UPDATE creature_template SET MinLevel = 80, MaxLevel = 80, Expansion = 2, Faction = 1610, UnitFlags = 32776, MovementType = 2 WHERE entry = 30694;
DELETE FROM creature_template_addon WHERE entry IN (30694);
INSERT INTO creature_template_addon (entry, mount, stand_state, sheath_state, pvp_flags, emote, moveflags, auras) VALUES
(30694,0,3,0,0,0,0,NULL);
DELETE FROM creature_movement_template WHERE entry = 30694;
INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES
(30694,1,8138.4,436.835,574.7193,2.37955,12000,3069401),
(30694,2,8138.1475,437.076,594.71625,100,100,10),
(30694,3,8138.1475,437.076,594.71625,100,100,1);
DELETE FROM dbscripts_on_creature_movement WHERE id = 3069401;
INSERT INTO dbscripts_on_creature_movement (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
(3069401,1,21,1,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'active'),
(3069401,2000,28,0,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'stand'), -- 22:17:19.938
(3069401,2100,15,57771,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'cast 57771'), -- 22:17:19.938
(3069401,7000,15,57764,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'cast 57764'), -- 22:17:23.167
(3069401,7001,39,1,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'fly on');
-- Bridenbrad Light Bunny 30712
UPDATE creature_template SET MinLevel = 80, MaxLevel = 80, Expansion = 2, Faction = 1610, UnitFlags = 33554440 WHERE entry = 30712;
-- M'ori 30692
-- K'uri 30693
UPDATE creature_template SET MinLevel = 80, MaxLevel = 80, Expansion = 2, Faction = 1610, UnitFlags = 264, InhabitType = 4 WHERE entry IN (30692,30693);
-- A'dal 30691
UPDATE creature_template SET MinLevel = 80, MaxLevel = 80, Expansion = 2, Faction = 1610, UnitFlags = 264, InhabitType = 4, MovementType = 2 WHERE entry IN (30691);
DELETE FROM creature_movement_template WHERE entry = 30691;
INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES
(30691,1,8152.51,407.96,596.4303,1.99079,0,0),
(30691,2,8142.45,426.927,576.909,100,60000,3069101);
DELETE FROM dbscripts_on_creature_movement WHERE id = 3069101;
INSERT INTO dbscripts_on_creature_movement (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
(3069101,1,0,0,0,0,0,0,0,31434,0,0,0,0,0,0,0,''),
(3069101,6000,0,0,0,0,0,0,0,31435,0,0,0,0,0,0,0,''),
(3069101,14000,0,0,0,0,0,0,0,31436,0,0,0,0,0,0,0,''),
(3069101,27000,18,0,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'');
UPDATE spell_area SET quest_end = 13082 WHERE spell = 57745;

1 comment on commit de8249f

@al3xc1985
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty ty ty ty and last thing I want to say is ty :)

Please sign in to comment.