LivestockSettings.mountinstealth = 1 - LivestockSettings.mountinstealth |
LivestockComboButton:SetAttribute("mountinstealth", LivestockSettings.mountinstealth) |
LivestockComboButton:SetAttribute("state-smartmap",LivestockComboButton:GetAttribute("state-smartmap")) end) |
if class ~= "MAGE" and class ~= "ROGUE" and class ~= "DRUID" and race ~= "NightElf" then sb3:Disable() end |
if class ~= "MAGE" and class ~= "ROGUE" and class ~= "DRUID" and class ~= "HUNTER" and race ~= "NightElf" then sb3:Disable() end |
|
local sb4 = Recompense.CreateButtonAndText("LivestockSmartPreferencesFrameToggleCombatForms", smartprefs, 5, -64, "LivestockSmartPreferencesFrameToggleCombatFormsText") |
sb4:SetScript("OnClick", function() |