aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/3.3.5/2025_06_08_00_world.sql8
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp10
2 files changed, 17 insertions, 1 deletions
diff --git a/sql/updates/world/3.3.5/2025_06_08_00_world.sql b/sql/updates/world/3.3.5/2025_06_08_00_world.sql
new file mode 100644
index 00000000000..3cd17ec40b6
--- /dev/null
+++ b/sql/updates/world/3.3.5/2025_06_08_00_world.sql
@@ -0,0 +1,8 @@
+--
+UPDATE `creature_text` SET `Text` = "Enjoy the storm warm bloods!", `Sound` = 0, `BroadcastTextId` = 19456, `comment` = "thespia SAY_CLOUD" WHERE `CreatureID` = 17797 AND `GroupID` = 0 AND `ID` = 0;
+
+DELETE FROM `creature_formations` WHERE `leaderGUID` = 3453;
+INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
+(3453,3453,0,0,3,0,0),
+(3453,2090,0,0,3,0,0),
+(3453,2093,0,0,3,0,0);
diff --git a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp
index da6666a59a7..ae95a3f1a0a 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp
@@ -19,11 +19,12 @@
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
+#include "SpellInfo.h"
#include "steam_vault.h"
enum ThespiaTexts
{
- SAY_SUMMON = 0,
+ SAY_CLOUD = 0,
SAY_AGGRO = 1,
SAY_SLAY = 2,
SAY_DEATH = 3
@@ -60,6 +61,13 @@ struct boss_hydromancer_thespia : public BossAI
events.ScheduleEvent(EVENT_ENVELOPING_WINDS, 10s, 15s);
}
+ void OnSpellCast(SpellInfo const* spell) override
+ {
+ if (spell->Id == SPELL_LIGHTNING_CLOUD)
+ if (roll_chance_i(50))
+ Talk(SAY_CLOUD);
+ }
+
void KilledUnit(Unit* who) override
{
if (who->GetTypeId() == TYPEID_PLAYER)