forked from Vae2009/ConRO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Bindings.xml
63 lines (61 loc) · 2.16 KB
/
Bindings.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<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_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
</Binding>
<Binding name="CONROBOSSTOGGLE">
if ConRO_BurstButton:IsVisible() then
ConRO_BurstButton:Hide();
ConRO_PvPButton:Show();
ConROCharacter.ConRO_Settings_Burst = false;
ConROCharacter.ConRO_Settings_PvP = true;
elseif ConRO_FullButton:IsVisible() then
ConRO_FullButton:Hide();
ConRO_BurstButton:Show();
ConROCharacter.ConRO_Settings_Full = false;
ConROCharacter.ConRO_Settings_Burst = true;
elseif ConRO_PvPButton:IsVisible() then
ConRO_PvPButton:Hide();
ConRO_FullButton:Show();
ConROCharacter.ConRO_Settings_PvP = false;
ConROCharacter.ConRO_Settings_Full = true;
end
</Binding>
</Bindings>