Skip to content

Commit

Permalink
fix(Scripts/BlackTemple): Fix Gurtogg will not use acidic wound in ph…
Browse files Browse the repository at this point in the history
…ase 2 (#21253)
  • Loading branch information
blinkysc authored Jan 25, 2025
1 parent d2500e8 commit d297030
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ enum Spells
enum Misc
{
EVENT_SPELL_BERSERK = 1,

GROUP_DELAY = 1
};

Expand Down Expand Up @@ -103,6 +102,7 @@ struct boss_gurtogg_bloodboil : public BossAI
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 1, 40.0f, true))
{
me->RemoveAurasByType(SPELL_AURA_MOD_TAUNT);
me->RemoveAurasDueToSpell(SPELL_ACIDIC_WOUND);
DoCastSelf(SPELL_FEL_RAGE_SELF, true);
DoCast(target, SPELL_FEL_RAGE_TARGET, true);
DoCast(target, SPELL_FEL_RAGE_2, true);
Expand All @@ -118,6 +118,10 @@ struct boss_gurtogg_bloodboil : public BossAI
DoCastVictim(SPELL_CHARGE);
}, 2s);

me->m_Events.AddEventAtOffset([&] {
DoCastSelf(SPELL_ACIDIC_WOUND, true);
}, 28s);

scheduler.DelayGroup(GROUP_DELAY, 30s);
}
}, 90s);
Expand All @@ -139,7 +143,7 @@ struct boss_gurtogg_bloodboil : public BossAI
return !who->IsImmunedToDamage(SPELL_SCHOOL_MASK_ALL) && !who->HasUnitState(UNIT_STATE_CONFUSED);
}

void KilledUnit(Unit* /*victim*/) override
void KilledUnit(Unit* /*victim*/) override
{
if (!_recentlySpoken)
{
Expand Down

0 comments on commit d297030

Please sign in to comment.