fix(Core/Script) - Black Temple - Gurtogg Bloodboil - Bewildering Strike mechanics doesnt work as it should (#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
This commit is contained in:
parent
729cf72f0d
commit
de93487ecd
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue