Skip to content

Commit

Permalink
Botanica: Readd back missing texts for thorngrin
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Sep 11, 2023
1 parent 46d21e6 commit dc02107
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dc02107

Please sign in to comment.