fix(Scripts/ZulGurub): Prevent Arlokk from being summoned twice (#10932)
This commit is contained in:
parent
dccc2909cd
commit
33635cbb3c
1 changed files with 1 additions and 1 deletions
|
|
@ -426,7 +426,7 @@ public:
|
|||
|
||||
bool OnGossipHello(Player* /*player*/, GameObject* go) override
|
||||
{
|
||||
if (go->GetInstanceScript())
|
||||
if (go->GetInstanceScript() && !go->FindNearestCreature(NPC_ARLOKK, 25.0f))
|
||||
{
|
||||
go->SetFlag(GAMEOBJECT_FLAGS, GO_FLAG_NOT_SELECTABLE);
|
||||
go->SendCustomAnim(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue