Skip to content

Commit

Permalink
Kara: Add back bct on repentance
Browse files Browse the repository at this point in the history
@miraco your commit was fine apart from this. I generally keep the spells in here and I also put the bct here so its easier to maintain the boss a little.
  • Loading branch information
killerwife committed Jan 10, 2024
1 parent 3777cb1 commit f902705
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ enum
SAY_REPENTANCE1 = 15080,
SAY_REPENTANCE2 = 13396,
SAY_DEATH = 15081,

SPELL_REPENTANCE = 29511,
SPELL_HOLYFIRE = 29522,
SPELL_HOLYWRATH = 32445,
SPELL_HOLYGROUND = 29512
};

enum MaidenOfVirtueActions
Expand Down Expand Up @@ -76,6 +81,16 @@ struct boss_maiden_of_virtueAI : public CombatAI
if (m_instance)
m_instance->SetData(TYPE_MAIDEN, FAIL);
}

void OnSpellCast(SpellEntry const* spellInfo, Unit* /*target*/) override
{
switch (spellInfo->Id)
{
case SPELL_REPENTANCE:
DoBroadcastText(urand(0, 1) ? SAY_REPENTANCE1 : SAY_REPENTANCE2, m_creature);
break;
}
}
};

void AddSC_boss_maiden_of_virtue()
Expand Down

0 comments on commit f902705

Please sign in to comment.