if not ConRO.db.profile._Unlock_ConRO then ConRO.db.profile._Unlock_ConRO = true; else ConRO.db.profile._Unlock_ConRO = false; end ConROWindow:EnableMouse(ConRO.db.profile._Unlock_ConRO); ConRODefenseWindow:EnableMouse(ConRO.db.profile._Unlock_ConRO); ConROInterruptWindow:EnableMouse(ConRO.db.profile._Unlock_ConRO); ConROPurgeWindow:EnableMouse(ConRO.db.profile._Unlock_ConRO); ConROInterruptWindow:SetMovable(ConRO.db.profile._Unlock_ConRO); ConROPurgeWindow:SetMovable(ConRO.db.profile._Unlock_ConRO); if ConRO.db.profile._Unlock_ConRO and ConRO.db.profile.enableInterruptWindow == true then ConROInterruptWindow:Show(); else ConROInterruptWindow:Hide(); end if ConRO.db.profile._Unlock_ConRO and ConRO.db.profile.enablePurgeWindow == true then ConROPurgeWindow:Show(); else ConROPurgeWindow:Hide(); end if ConRO:MeleeSpec() then if ConRO_AutoButton:IsVisible() then ConRO_AutoButton:Hide(); ConRO_SingleButton:Show(); ConROCharacter.ConRO_Settings_Auto = false; ConROCharacter.ConRO_Settings_Single = true; elseif ConRO_SingleButton:IsVisible() then ConRO_SingleButton:Hide(); ConRO_AoEButton:Show(); ConROCharacter.ConRO_Settings_Single = false; ConROCharacter.ConRO_Settings_AoE = true; elseif ConRO_AoEButton:IsVisible() then ConRO_AoEButton:Hide(); ConRO_AutoButton:Show(); ConROCharacter.ConRO_Settings_AoE = false; ConROCharacter.ConRO_Settings_Auto = true; end else if ConRO_SingleButton:IsVisible() then ConRO_SingleButton:Hide(); ConRO_AoEButton:Show(); ConROCharacter.ConRO_Settings_Single = false; ConROCharacter.ConRO_Settings_AoE = true; elseif ConRO_AoEButton:IsVisible() then ConRO_AoEButton:Hide(); ConRO_SingleButton:Show(); ConROCharacter.ConRO_Settings_AoE = false; ConROCharacter.ConRO_Settings_Single = true; end end if ConRO_BurstButton:IsVisible() then ConRO_BurstButton:Hide(); ConRO_FullButton:Show(); ConROCharacter.ConRO_Settings_Burst = false; ConROCharacter.ConRO_Settings_Full = true; elseif ConRO_FullButton:IsVisible() then ConRO_FullButton:Hide(); ConRO_BurstButton:Show(); ConROCharacter.ConRO_Settings_Full = false; ConROCharacter.ConRO_Settings_Burst = true; end