fix(Scripts/ZulAman): Nalorakk can't able to trigger instance events when death (#19895)
* ignore .vs path * Fix Nalorakk not able to trigger instance events when death * Revert "ignore .vs path" This reverts commit 81e949727645d0356eb8bb9490152971dbb9b09b. * Remove instance null check * Remove instance null check * Revert "Remove instance null check" This reverts commit b97b45284edb3166bc3c253adf1773b031bb1507.
This commit is contained in:
@@ -346,6 +346,14 @@ struct boss_nalorakk : public BossAI
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void JustDied(Unit* killer) override
|
||||||
|
{
|
||||||
|
BossAI::JustDied(killer);
|
||||||
|
Talk(SAY_DEATH);
|
||||||
|
instance->SetData(DATA_NALORAKKEVENT, DONE);
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint8 _phase;
|
uint8 _phase;
|
||||||
bool _ranIntro;
|
bool _ranIntro;
|
||||||
|
|||||||
Reference in New Issue
Block a user