fix(Scripts/BlackwingLair): Chromaggus should not attack units afflic… (#11254)

…ted by Time Lapse: Bronze.
This commit is contained in:
UltraNix
2022-04-03 08:04:23 +02:00
committed by GitHub
parent da3748b55f
commit b58ffb4f6b

View File

@@ -215,6 +215,11 @@ public:
events.ScheduleEvent(EVENT_FRENZY, 15000);
}
bool CanAIAttack(Unit const* victim) const override
{
return !victim->HasAura(SPELL_TIMELAPSE);
}
void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())