Scripts/Steam Vault: Add missing text to Thespia & linked aggro (#31037)

(cherry picked from commit 4e28543882635362bd05e7fab4368f676044cbdb)
This commit is contained in:
offl
2026-06-23 22:44:09 +02:00
committed by Shauren
parent 288a9e4849
commit c7982a83ef
2 changed files with 17 additions and 1 deletions
@@ -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(50))
Talk(SAY_CLOUD);
}
void KilledUnit(Unit* who) override
{
if (who->GetTypeId() == TYPEID_PLAYER)