mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
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;
|
||||
}
|
||||
|
||||
void JustDied(Unit* killer) override
|
||||
{
|
||||
BossAI::JustDied(killer);
|
||||
Talk(SAY_DEATH);
|
||||
instance->SetData(DATA_NALORAKKEVENT, DONE);
|
||||
}
|
||||
|
||||
private:
|
||||
uint8 _phase;
|
||||
bool _ranIntro;
|
||||
|
||||
Reference in New Issue
Block a user