aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2019-05-25 04:26:58 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-08 20:36:43 +0100
commit8f1020ec788cc9eef6de8ddbda5b1696245657d7 (patch)
tree2e4abee3abfb5033184e07d060de4afddfcbfde9
parente2e18ddd1a0c3ac72dfb8d54b24fcfd1d48c229f (diff)
DB/Creature: Hydross the unstable npc triggers
Update the correct channel spell SPELL_BLUE_BEAM and spawn triggers used to cast it (cherry picked from commit 2829f5fb9ce4d61ae6e88cf65ed7302985e5cf36)
-rw-r--r--sql/updates/world/master/2021_12_08_04_world_2019_05_24_05_world.sql15
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp2
2 files changed, 16 insertions, 1 deletions
diff --git a/sql/updates/world/master/2021_12_08_04_world_2019_05_24_05_world.sql b/sql/updates/world/master/2021_12_08_04_world_2019_05_24_05_world.sql
new file mode 100644
index 00000000000..98b26a22e0f
--- /dev/null
+++ b/sql/updates/world/master/2021_12_08_04_world_2019_05_24_05_world.sql
@@ -0,0 +1,15 @@
+--
+DELETE FROM `creature` WHERE `guid` IN (106799, 106801, 106802) AND `id` IN (21933,21934);
+INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseId`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
+(106799, 21933, 548, 3607, 0, '4', 0, 0, 0, -215.7533, -375.3428, 38.40299, 5.009095, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 15595), -- 21933 (Area: 0 - Difficulty: 0)
+(106801, 21933, 548, 3607, 0, '4', 0, 0, 0, -264.1653, -357.1713, 38.80691, 2.844887, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 15595), -- 21933 (Area: 0 - Difficulty: 0)
+(106802, 21934, 548, 3607, 0, '4', 0, 0, 0, -239.7149, -366.4398, -0.7445137, 1.239184, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 15595); -- 21934 (Area: 0 - Difficulty: 0) (Auras: 37935 - 37935)
+UPDATE `creature` SET `position_x`=-239.8427, `position_y`=-366.4942, `position_z`=-0.7445897, `orientation`=1.22173 WHERE `id`=21216;
+
+DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (21933);
+INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`) VALUES
+(21933,0,0,1,0);
+
+DELETE FROM `creature_template_addon` WHERE `entry` IN (21934);
+INSERT INTO `creature_template_addon` (`entry`, `auras`, `bytes1`,`bytes2`) VALUES
+(21934, "37935", 0, 1);
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp
index 01d05abb495..89d60753ddb 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp
@@ -61,7 +61,7 @@ enum HydrossTheUnstable
SPELL_ENRAGE = 27680, //this spell need verification
SPELL_SUMMON_WATER_ELEMENT = 36459, //not in use yet(in use ever?)
SPELL_ELEMENTAL_SPAWNIN = 25035,
- SPELL_BLUE_BEAM = 40227, //channeled Hydross Beam Helper (not in use yet)
+ SPELL_BLUE_BEAM = 38015,
ENTRY_PURE_SPAWN = 22035,
ENTRY_TAINTED_SPAWN = 22036,