From dc02107d0465991f00eddc95d255b517713e2c6f Mon Sep 17 00:00:00 2001 From: killerwife Date: Mon, 11 Sep 2023 12:23:30 +0200 Subject: [PATCH] Botanica: Readd back missing texts for thorngrin https://github.com/cmangos/issues/issues/3444 --- .../botanica/boss_thorngrin_the_tender.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/game/AI/ScriptDevAI/scripts/outland/tempest_keep/botanica/boss_thorngrin_the_tender.cpp b/src/game/AI/ScriptDevAI/scripts/outland/tempest_keep/botanica/boss_thorngrin_the_tender.cpp index 3cab7804b2..b5e59fbee3 100644 --- a/src/game/AI/ScriptDevAI/scripts/outland/tempest_keep/botanica/boss_thorngrin_the_tender.cpp +++ b/src/game/AI/ScriptDevAI/scripts/outland/tempest_keep/botanica/boss_thorngrin_the_tender.cpp @@ -83,6 +83,16 @@ struct boss_thorngrinAI : CombatAI DoBroadcastText(SAY_DEATH, m_creature); } + void OnSpellCast(SpellEntry const* spellInfo, Unit* target) override + { + switch (spellInfo->Id) + { + case SPELL_SACRIFICE: DoBroadcastText(SAY_SACRIFICE, m_creature); break; + case SPELL_HELLFIRE: + case SPELL_HELLFIRE_H: DoBroadcastText(urand(0, 1) ? SAY_HELLFIRE_1 : SAY_HELLFIRE_2, m_creature); break; + } + } + void ExecuteAction(uint32 action) override { switch (action)