fix(Scripts/BlackwingLair): Chromaggus should not attack units afflic… (#11254)
…ted by Time Lapse: Bronze.
This commit is contained in:
parent
da3748b55f
commit
b58ffb4f6b
1 changed files with 5 additions and 0 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue