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:
kissingers
2024-10-11 14:06:28 +08:00
committed by GitHub
parent 47169a2b05
commit 0cb6081bc7

View File

@@ -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;