GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); GameTooltip:SetText(this:GetValue().." %"); NecrosisBuffMenu9:Show(); NecrosisBuffMenu9:ClearAllPoints(); NecrosisBuffMenu9:SetPoint("CENTER", "UIParent", "CENTER", 0, 0); if this:GetValue() ~= NecrosisConfig.BanishScale then GameTooltip:SetText(this:GetValue().." %"); NecrosisConfig.BanishScale = this:GetValue(); NecrosisBuffMenu9:ClearAllPoints(); NecrosisBuffMenu9:SetScale(NecrosisConfig.BanishScale / 100); end GameTooltip:Hide(); Necrosis_CreateMenu(); if (this:GetChecked()) then NecrosisConfig.StonePosition[1] = true; ShowUIPanel(NecrosisFirestoneButton); else NecrosisConfig.StonePosition[1] = false; end Necrosis_UpdateButtonsScale(); if (this:GetChecked()) then NecrosisConfig.StonePosition[2] = true; ShowUIPanel(NecrosisSpellstoneButton); else NecrosisConfig.StonePosition[2] = false; end Necrosis_UpdateButtonsScale(); if (this:GetChecked()) then NecrosisConfig.StonePosition[3] = true; ShowUIPanel(NecrosisHealthstoneButton); else NecrosisConfig.StonePosition[3] = false; end Necrosis_UpdateButtonsScale(); if (this:GetChecked()) then NecrosisConfig.StonePosition[4] = true; ShowUIPanel(NecrosisSoulstoneButton); else NecrosisConfig.StonePosition[4] = false; end Necrosis_UpdateButtonsScale(); if (this:GetChecked()) then NecrosisConfig.StonePosition[5] = true; ShowUIPanel(NecrosisBuffMenuButton); else NecrosisConfig.StonePosition[5] = false; HideUIPanel(NecrosisBuffMenuButton); end Necrosis_UpdateButtonsScale(); if (this:GetChecked()) then NecrosisConfig.StonePosition[6] = true; ShowUIPanel(NecrosisMountButton); else NecrosisConfig.StonePosition[6] = false; HideUIPanel(NecrosisMountButton); end Necrosis_UpdateButtonsScale(); if (this:GetChecked()) then NecrosisConfig.StonePosition[7] = true; ShowUIPanel(NecrosisPetMenuButton); else NecrosisConfig.StonePosition[7] = false; HideUIPanel(NecrosisPetMenuButton); end Necrosis_UpdateButtonsScale(); if (this:GetChecked()) then NecrosisConfig.StonePosition[8] = true; ShowUIPanel(NecrosisCurseButton); else NecrosisConfig.StonePosition[8] = false; HideUIPanel(NecrosisCurseButton); end Necrosis_UpdateButtonsScale(); HideUIPanel(NecrosisButtonMenu);