diff --git a/Updates/5269_c.33118.sql b/Updates/5269_c.33118.sql new file mode 100644 index 0000000000..aa53133b05 --- /dev/null +++ b/Updates/5269_c.33118.sql @@ -0,0 +1,42 @@ +-- Ulduar +-- Ignis the Furnace Master 33118 +-- spell lists +DELETE FROM `creature_spell_list` WHERE `Id` IN (3311800, 3319000); +INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `Comments`) VALUES +(3311800, 0, 62680, 20000, 20000, 20000, 30000, 0, -1, 0, 29100, 100, 1, 'Ignis 10 - Flame Jets'), +(3311800, 1, 62707, 25000, 25000, 15000, 30000, 0, 105, 101, 29101, 100, 1, 'Ignis 10 - Grab'), +(3311800, 2, 62546, 15000, 15000, 20000, 25000, 0, -1, 0, 0, 100, 1, 'Ignis 10 - Scorch'), +(3311800, 3, 62488, 10000, 10000, 30000, 40000, 0, -1, 0, 29103, 100, 1, 'Ignis 10 - Activate Construct'), +(3311800, 4, 26662, 600000, 600000, 6000000, 6000000, 0, -1, 0, 29105, 100, 1, 'Ignis 10 - Berserk'), +(3319000, 0, 63472, 20000, 20000, 20000, 30000, 0, -1, 0, 29100, 100, 1, 'Ignis 25 - Flame Jets'), +(3319000, 1, 62707, 25000, 25000, 15000, 30000, 0, 105, 101, 29101, 100, 1, 'Ignis 25 - Grab'), +(3319000, 2, 63474, 15000, 15000, 20000, 25000, 0, -1, 0, 0, 100, 1, 'Ignis 25 - Scorch'), +(3319000, 3, 62488, 10000, 10000, 30000, 40000, 0, -1, 0, 29103, 100, 1, 'Ignis 25 - Activate Construct'), +(3319000, 4, 26662, 600000, 600000, 6000000, 6000000, 0, -1, 0, 29105, 100, 1, 'Ignis 25 - Berserk'); + +DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (3311800, 3319000); +INSERT INTO `creature_spell_list_entry` VALUES +(3311800, 'Ulduar - Ignis the Furnace Master (10)', 100, 100), +(3319000, 'Ulduar - Ignis the Furnace Master (25)', 100, 100); + +UPDATE `creature_template` SET `SpellList`=3311800 WHERE `entry`=33118; +UPDATE `creature_template` SET `SpellList`=3319000 WHERE `entry`=33190; + +UPDATE broadcast_text SET ChatTypeID=1,SoundEntriesID1=15564 WHERE Id=34306; +UPDATE broadcast_text SET ChatTypeID=1,SoundEntriesID1=15566 WHERE Id=34308; +UPDATE broadcast_text SET ChatTypeID=1,SoundEntriesID1=15567 WHERE Id=34309; +UPDATE broadcast_text SET ChatTypeID=1,SoundEntriesID1=15568 WHERE Id=34310; +UPDATE broadcast_text SET ChatTypeID=1,SoundEntriesID1=15565 WHERE Id=34307; +UPDATE broadcast_text SET ChatTypeID=1,SoundEntriesID1=15569 WHERE Id=34311; +UPDATE broadcast_text SET ChatTypeID=1,SoundEntriesID1=15570 WHERE Id=34312; +UPDATE broadcast_text SET ChatTypeID=1,SoundEntriesID1=15571 WHERE Id=33871; +UPDATE broadcast_text SET ChatTypeID=1,SoundEntriesID1=15572 WHERE Id=34313; +UPDATE broadcast_text SET ChatTypeID=3 WHERE Id=33465; +UPDATE broadcast_text SET ChatTypeID=2 WHERE Id=34471; + +DELETE FROM `string_id` WHERE `Id`=6030101; +INSERT INTO `string_id` (`Id`, `Name`) VALUES +(6030101,'ULDUAR_IGNIS_ADDS'); + +UPDATE `creature_template` SET `StringId1`=6030101 WHERE `entry`=33121; +UPDATE `creature_template` SET `Leash`=230 WHERE `entry`=33118; diff --git a/Updates/Instances/603_ulduar.sql b/Updates/Instances/603_ulduar.sql index fd20658cc9..bfddf7545b 100644 --- a/Updates/Instances/603_ulduar.sql +++ b/Updates/Instances/603_ulduar.sql @@ -7,8 +7,7 @@ EndDBScriptData */ SET @CGUID := 6030000; -- creatures SET @OGUID := 6030000; -- gameobjects -SET @PGUID := 53500; -- pools - +SET @SGGUID := 6030000; -- spawn groups -- ========= @@ -2746,16 +2745,44 @@ INSERT INTO `gameobject_addon` (`guid`, `animprogress`, `state`, `path_rotation0 -- INSERT INTO `game_event_creature` (`guid`, `event`) VALUES -- INSERT INTO `game_event_creature_data` (`guid`, `entry_id`, `modelid`, `equipment_id`, `spell_start`, `spell_end`, `event`) VALUES --- ======= --- POOLING --- ======= +-- ============ +-- SPAWN GROUPS +-- ============ + +INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `WorldStateExpression`, `Flags`, `StringId`) VALUES +(@SGGUID+0, 'Ulduar - Ignis Encounter - Ignis and Iron Constructs', 0, 0, 31501, 0, 2, 0); + +INSERT INTO `spawn_group_spawn` (`Id`, `Guid`) VALUES +(@SGGUID+0, @CGUID+270), +(@SGGUID+0, @CGUID+271), +(@SGGUID+0, @CGUID+272), +(@SGGUID+0, @CGUID+273), +(@SGGUID+0, @CGUID+274), +(@SGGUID+0, @CGUID+275), +(@SGGUID+0, @CGUID+276), +(@SGGUID+0, @CGUID+277), +(@SGGUID+0, @CGUID+278), +(@SGGUID+0, @CGUID+279), +(@SGGUID+0, @CGUID+280), +(@SGGUID+0, @CGUID+281), +(@SGGUID+0, @CGUID+282), +(@SGGUID+0, @CGUID+283), +(@SGGUID+0, @CGUID+284), +(@SGGUID+0, @CGUID+285), +(@SGGUID+0, @CGUID+286), +(@SGGUID+0, @CGUID+287), +(@SGGUID+0, @CGUID+288), +(@SGGUID+0, @CGUID+289), +(@SGGUID+0, @CGUID+269); + +DELETE FROM `worldstate_name` WHERE `Id` IN (31500, 31501); +INSERT INTO `worldstate_name` (`Id`, `Name`) VALUES +(31501, 'Ulduar - Respawn Ignis together with adds'); + +DELETE FROM `conditions` WHERE `condition_entry` IN (31500, 31501); +INSERT INTO `conditions` (`condition_entry`, `type`, `value1`, `value2`, `value3`, `value4`, `flags`, `comments`) VALUES +(31501, 42, 4834, 1, 0, 0, 0, 'Worldstate: Ignis not Dead'); --- INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES --- INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES --- INSERT INTO `pool_pool` (`entry`, `max_limit`, `description`) VALUES --- INSERT INTO `pool_creature_template` (`id`, `pool_entry`, `chance`, `description`) VALUES --- INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES --- INSERT INTO `pool_gameobject_template` (`id`, `pool_entry`, `chance`, `description`) VALUES -- ========= -- DBSCRIPTS @@ -2831,6 +2858,13 @@ INSERT INTO creature_spawn_data (guid, Id) VALUES -- Razorscale 33186 (@CGUID+323, 1); +INSERT INTO `dbscripts_on_relay` (`id`, `command`, `dataint`, `comments`) VALUES +(29100, 0, 34308, 'Ignis - Say Flame Jets'), +(29100, 0, 33465, 'Ignis - Emote Flame Jets'), +(29101, 0, 34310, 'Ignis - Say Slagpot'), +(29103, 0, 34307, 'Ignis - Say Constructs'), +(29105, 0, 33871, 'Ignis - Say Berserk'); + -- 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