fix(Scripts/BlackwingLair): Razorgore should not attack units with Conflagrate. (#11272)

Fixes #11183
This commit is contained in:
UltraNix
2022-04-05 10:28:27 +02:00
committed by GitHub
parent 446546fb96
commit 5df8fd9ad7
@@ -96,7 +96,7 @@ public:
bool CanAIAttack(Unit const* target) const override bool CanAIAttack(Unit const* target) const override
{ {
return !(target->GetTypeId() == TYPEID_UNIT && !secondPhase); return !(target->GetTypeId() == TYPEID_UNIT && !secondPhase) && !target->HasAura(SPELL_CONFLAGRATION);
} }
void EnterCombat(Unit* /*victim*/) override void EnterCombat(Unit* /*victim*/) override