mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
fix(Scripts/BlackwingLair): Razorgore should not attack units with Conflagrate. (#11272)
Fixes #11183
This commit is contained in:
@@ -96,7 +96,7 @@ public:
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user