Merge pull request #754 from Grimfeather/MC-rune-dousing-fix

MC rune dousing fix
This commit is contained in:
Grimfeather
2025-09-20 12:42:26 +02:00
committed by GitHub

View File

@@ -321,7 +321,7 @@ public:
{
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->RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_NOT_SELECTABLE);
@@ -432,12 +432,14 @@ public:
return false;
}
if (sConfigMgr->GetOption<int>("IndividualProgression.MoltenCore.ManualRuneHandling", 1))
if (sConfigMgr->GetOption<int>("IndividualProgression.MoltenCore.ManualRuneHandling", 1) == 1)
{
return CheckFirelordRunes();
}
return true;
else
{
return true;
}
}
bool CheckFirelordRunes() const