fix(Scripts/MoltenCore): Boss' runes should not respawn after 5 min o… (#13127)
fix(Scripts/MoltenCore): Boss' runes should not respawn after 5 min of boss death. Fixes #10039
This commit is contained in:
parent
984a389d37
commit
dd4fa3893e
1 changed files with 4 additions and 4 deletions
|
|
@ -163,7 +163,7 @@ public:
|
|||
|
||||
if (GetBossState(linkedBossObjData[i].bossId) == DONE)
|
||||
{
|
||||
go->DespawnOrUnsummon();
|
||||
go->DespawnOrUnsummon(0ms, Seconds(WEEK));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -190,7 +190,7 @@ public:
|
|||
|
||||
if (GetBossState(linkedBossObjData[i].bossId) == DONE)
|
||||
{
|
||||
go->SetGoState(GO_STATE_ACTIVE);
|
||||
go->UseDoorOrButton(WEEK * IN_MILLISECONDS);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -310,13 +310,13 @@ public:
|
|||
{
|
||||
if (GameObject* circle = instance->GetGameObject(_circlesGUIDs[bossId]))
|
||||
{
|
||||
circle->DespawnOrUnsummon();
|
||||
circle->DespawnOrUnsummon(0ms, Seconds(WEEK));
|
||||
_circlesGUIDs[bossId].Clear();
|
||||
}
|
||||
|
||||
if (GameObject* rune = instance->GetGameObject(_runesGUIDs[bossId]))
|
||||
{
|
||||
rune->SetGoState(GO_STATE_ACTIVE);
|
||||
rune->UseDoorOrButton(WEEK * IN_MILLISECONDS);
|
||||
_runesGUIDs[bossId].Clear();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue