Skip to content

Commit

Permalink
fix(Core/Script) - Black Temple - Gurtogg Bloodboil - Bewildering Str…
Browse files Browse the repository at this point in the history
…ike mechanics doesnt work as it should (azerothcore#20074)

* spell_gurtogg_bloodboil_bewildering_strike_aura class added

* Create spell_gurtogg_bloodboil_bewildering_strike_aura

* extension sql added

* CanAIAttack condition added

* Delete data/sql/updates/pending_db_world/spell_gurtogg_bloodboil_bewildering_strike_aura.sql
  • Loading branch information
Carriola-wotlk authored Sep 28, 2024
1 parent 729cf72 commit de93487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/scripts/Outland/BlackTemple/boss_bloodboil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ struct boss_gurtogg_bloodboil : public BossAI

bool CanAIAttack(Unit const* who) const override
{
return !who->IsImmunedToDamage(SPELL_SCHOOL_MASK_ALL);
return !who->IsImmunedToDamage(SPELL_SCHOOL_MASK_ALL) && !who->HasUnitState(UNIT_STATE_CONFUSED);
}

void KilledUnit(Unit* /*victim*/) override
Expand Down

0 comments on commit de93487

Please sign in to comment.