mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Update instance_molten_core.cpp
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user