Update instance_molten_core.cpp

This commit is contained in:
Grimfeather
2025-09-20 12:39:58 +02:00
committed by GitHub
parent e8a2a3dc48
commit e0ba56728d

View File

@@ -321,7 +321,7 @@ public:
{ {
if (GameObject* rune = instance->GetGameObject(_runesGUIDs[bossId])) if (GameObject* rune = instance->GetGameObject(_runesGUIDs[bossId]))
{ {
if (sConfigMgr->GetOption<int>("IndividualProgression.MoltenCore.ManualRuneHandling", 1)) if (sConfigMgr->GetOption<int>("IndividualProgression.MoltenCore.ManualRuneHandling", 1) == 1)
{ {
rune->SetGoState(GO_STATE_ACTIVE); rune->SetGoState(GO_STATE_ACTIVE);
rune->RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_NOT_SELECTABLE); rune->RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_NOT_SELECTABLE);
@@ -432,13 +432,15 @@ public:
return false; return false;
} }
if (sConfigMgr->GetOption<int>("IndividualProgression.MoltenCore.ManualRuneHandling", 1)) if (sConfigMgr->GetOption<int>("IndividualProgression.MoltenCore.ManualRuneHandling", 1) == 1)
{ {
return CheckFirelordRunes(); return CheckFirelordRunes();
} }
else
{
return true; return true;
} }
}
bool CheckFirelordRunes() const bool CheckFirelordRunes() const
{ {