You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.5 KiB
71 lines
2.5 KiB
<Bindings>
|
|
<Binding name="CONROUNLOCK" header="ConRO">
|
|
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
|
|
</Binding>
|
|
<Binding name="CONROTOGGLE">
|
|
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
|
|
</Binding>
|
|
<Binding name="CONROBOSSTOGGLE">
|
|
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
|
|
</Binding>
|
|
</Bindings>
|