fix(Scripts/BlackwingLair): Chromaggus should not attack units afflic… (#11254)
…ted by Time Lapse: Bronze.
This commit is contained in:
@@ -215,6 +215,11 @@ public:
|
|||||||
events.ScheduleEvent(EVENT_FRENZY, 15000);
|
events.ScheduleEvent(EVENT_FRENZY, 15000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CanAIAttack(Unit const* victim) const override
|
||||||
|
{
|
||||||
|
return !victim->HasAura(SPELL_TIMELAPSE);
|
||||||
|
}
|
||||||
|
|
||||||
void UpdateAI(uint32 diff) override
|
void UpdateAI(uint32 diff) override
|
||||||
{
|
{
|
||||||
if (!UpdateVictim())
|
if (!UpdateVictim())
|
||||||
|
|||||||
Reference in New Issue
Block a user