Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hodir Spell Scripts and changes #1325

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ACID/acid_wotlk.sql
Original file line number Diff line number Diff line change
Expand Up @@ -43769,6 +43769,8 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
('3317001','33170','11','0','100','6','0','0','0','0','0','0','11','62216','0','0','0','0','0','0','0','0','0','0','Sun Beam - Cast Unstable Sun Beam on Spawn'),
('3317002','33170','1','0','100','2','1000','1000','0','0','0','0','11','62451','0','0','0','0','0','0','0','0','0','0','Sun Beam (Normal) - Cast Unstable Energy'),
('3317003','33170','1','0','100','4','1000','1000','0','0','0','0','11','62865','0','0','0','0','0','0','0','0','0','0','Sun Beam (Heroic) - Cast Unstable Energy'),
-- Icicle 33169
('3316901', '33169', '29', '0', '100', '1024', '3500', '3500', '0', '0', '0', '0', '11', '62453', '15', '0', '11', '62236', '15', '2', '0', '0', '0', '0', 'Time = 4 seconds - Self: Cast Icicle (62453) on none, Self: Cast Icicle (62236) on none with flags TRIGGERED,'),
-- Snowpacked Icicle 33173
('3317301','33173','1','0','100','6','4000','4000','0','0','0','0','11','62460','0','2','11','62453','0','0','0','0','0','0','Snowpacked Icicle - Cast Icicle and Icicle (dummy) on OOC Timer'),
-- Snowpacked Icicle Target 33174
Expand Down
41 changes: 41 additions & 0 deletions Updates/5430_Ulduar_Hodir.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
-- Ulduar: Boss encounter Hodir
DELETE FROM `creature_spell_list` WHERE `Id` IN (3284500, 3284600);
INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Flags`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `Comments`) VALUES
(3284500, 0, 61968, 50000, 50000, 40000, 40000, 2, 0, 0, 100, 1, 'Hodir 10 - Flash Freeze'),
(3284500, 1, 62478, 70000, 70000, 60000, 60000, 0, 0, 29281, 100, 1, 'Hodir 10 - Frozen Blows'),
(3284500, 2, 62469, 25000, 30000, 15000, 15000, 2, 100, 0, 100, 1, 'Hodir 10 - Freeze'),
(3284600, 0, 61968, 50000, 50000, 40000, 40000, 2, 0, 0, 100, 1, 'Hodir 25 - Flash Freeze'),
(3284600, 1, 63512, 70000, 70000, 60000, 60000, 0, 0, 29281, 100, 1, 'Hodir 25 - Frozen Blows'),
(3284600, 2, 62469, 25000, 30000, 15000, 15000, 2, 100, 0, 100, 1, 'Hodir 25 - Freeze');

DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (3284500, 3284600);
INSERT INTO `creature_spell_list_entry` VALUES
(3284500, 'Ulduar - Hodir (10)', 100, 100),
(3284600, 'Ulduar - Hodir (25)', 100, 100);

DELETE FROM `string_id` WHERE `Name`='ULDUAR_HODIR_HELPERS';
INSERT INTO `string_id` VALUES
(6030701,'ULDUAR_HODIR_HELPERS');

DELETE FROM `string_id` WHERE `Name`='ULDUAR_HODIR_FIRES';
INSERT INTO `string_id` VALUES
(6030702,'ULDUAR_HODIR_FIRES');

-- Hodir
UPDATE `creature_template` SET `SpellList`=3284500 WHERE `entry`=32845; -- Hodir (10)
UPDATE `creature_template` SET `SpellList`=3284600 WHERE `entry`=32846; -- Hodir (25)
-- Snowpacked Icicle Target
UPDATE `creature_template` SET `StaticFlags1`=`StaticFlags1`|0x00000100|0x02000000 WHERE `entry`=33174;
-- Hodir's Helper NPCs
Copy link
Member

Choose a reason for hiding this comment

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

if there was scriptname - look above

UPDATE `creature_template` SET `StringId1`=6030701 WHERE `entry` IN (32941, 33333, 32950, 33332, 32946, 33331, 32948, 33330, 32901, 33325, 32900, 33328, 32893, 33327, 32897, 33326, 33342);
-- Toasty Fire
UPDATE `creature_template` SET `StringId2`=6030702 WHERE `entry`=33342;

UPDATE `broadcast_text` SET `ChatTypeID`=3 WHERE `Id`=33314;
UPDATE `broadcast_text` SET `ChatTypeID`=3 WHERE `Id`=33313;
UPDATE `broadcast_text` SET `ChatTypeID`=1,`SoundEntriesID1`=15552 WHERE `Id`=34336;
UPDATE `broadcast_text` SET `ChatTypeID`=1,`SoundEntriesID1`=15553 WHERE `Id`=34337;
UPDATE `broadcast_text` SET `ChatTypeID`=1,`SoundEntriesID1`=15554 WHERE `Id`=34338;
UPDATE `broadcast_text` SET `ChatTypeID`=1,`SoundEntriesID1`=15555 WHERE `Id`=34339;
UPDATE `broadcast_text` SET `ChatTypeID`=1,`SoundEntriesID1`=15557 WHERE `Id`=33484;
UPDATE `broadcast_text` SET `ChatTypeID`=1,`SoundEntriesID1`=15558 WHERE `Id`=34340;
4 changes: 4 additions & 0 deletions Updates/Instances/603_ulduar.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2865,6 +2865,10 @@ INSERT INTO `dbscripts_on_relay` (`id`, `command`, `dataint`, `comments`) VALUES
(29103, 0, 34307, 'Ignis - Say Constructs'),
(29105, 0, 33871, 'Ignis - Say Berserk');

INSERT INTO `dbscripts_on_relay` (`id`, `command`, `dataint`, `datalong`, `datalong2`, `comments`) VALUES
(29281, 0, 33313, 0, 0, 'Hodir - Emote Frozen Blows'),
(29281, 16, 0, 15556, 0, 'Hodir - Play Sound Frozen Blows');

-- INSERT INTO `dbscripts_on_creature_death` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `buddy_entry`, `search_radius`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `comments`) VALUES
-- INSERT INTO `dbscripts_on_go_use` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `buddy_entry`, `search_radius`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `comments`) VALUES
-- INSERT INTO `dbscripts_on_go_template_use` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `buddy_entry`, `search_radius`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `comments`) VALUES
Expand Down