addon.group:RegisterBar("Testing"..i, "Testing NaturCombat Bar #"..i, 10, nil, "Interface\\Icons\\Spell_Holy_HolyProtection", 0, 1, 0); |
end |
end); |
local sound = self:CreateCheckBox("Killing Blow Sounds", p, "Turn on/off sounds when you get a killing blow."); |
sound:SetScript("OnShow", function(self) |
self:SetChecked(NaturDB.Sounds); |
end); |
sound:SetScript("OnClick", function(self) |
if (self:GetChecked()) then |
NaturDB.Sounds = true; |
else |
NaturDB.Sounds = false; |
end |
end); |
sound:SetPoint("TOPLEFT", dr, "BOTTOMLEFT", 0, 0); |
return p; |
end |
---------------------------------------------------------------------------------------------------- |