fix(Scripts/BlackwingLair): Razorgore should not attack units with Conflagrate. (#11272)
Fixes #11183
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user