Advertisement
gelatine87

test

Mar 10th, 2025
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 28.20 KB | None | 0 0
  1. {
  2.     ["actions"] = {
  3.         ["finish"] = {
  4.             ["custom"] = "ObjectiveTrackerFrame:Show()",
  5.             ["do_custom"] = false,
  6.             ["do_message"] = false,
  7.             ["message"] = "",
  8.             ["message_type"] = "SAY",
  9.         },
  10.         ["init"] = {
  11.             ["custom"] = "--[[\\nCode based on https://github.com/alethasis/WA-Hide-Show-Objectives by alethasis\\n\\nModified and debugging by Karma#2823 aka Pfirsichnase-Blackmoore\\n\\nThanks to:\\nfuba82 (old KalielsTracker fix)\\nJH0Ni  (latest KalielsTracker fix)\\n]]--\\n\\naura_env.hideObjectives = function()\\n    if (aura_env.config.optionkey_modules.option_questframe == true) then\\n        if aura_env.hasKalielsTracker then\\n            KalielsTracker:Toggle(false)\\n        else\\n            if (aura_env.LAST_STATE == true) then\\n                UIFrameFadeIn(aura_env.QTracker, aura_env.config.optionkey_settings.option_fade * (aura_env.QTracker:GetAlpha()), aura_env.QTracker:GetAlpha(), 0)\\n            else\\n                aura_env.QTracker:Hide()\\n            end\\n            C_Timer.After(aura_env.config.optionkey_settings.option_fade, function() aura_env.QTracker:Hide() end)\\n        end\\n        ExpansionLandingPageMinimapButton:Show()\\n    end\\n    \\n    if (aura_env.config.optionkey_modules.option_minimapframe == true) then\\n        if (aura_env.LAST_STATE == true) then\\n            UIFrameFadeIn(Minimap, aura_env.config.optionkey_settings.option_fade * (Minimap:GetAlpha()), Minimap:GetAlpha(), 0)\\n            UIFrameFadeIn(MinimapCluster, aura_env.config.optionkey_settings.option_fade * (MinimapCluster:GetAlpha()), MinimapCluster:GetAlpha(), 0)\\n        else\\n            Minimap:Hide()\\n            MinimapCluster:Hide()\\n        end\\n        C_Timer.After(aura_env.config.optionkey_settings.option_fade, function() Minimap:Hide() MinimapCluster:Hide() end)\\n        ExpansionLandingPageMinimapButton:Hide()\\n    end\\nend\\n\\naura_env.showObjectives = function()\\n    if (aura_env.config.optionkey_modules.option_questframe == true) then\\n        if aura_env.hasKalielsTracker then\\n            KalielsTracker:Toggle(true)\\n        else\\n            UIFrameFadeIn(aura_env.QTracker, aura_env.config.optionkey_settings.option_fade * (1-aura_env.QTracker:GetAlpha()), aura_env.QTracker:GetAlpha(), 1)\\n            C_Timer.After(aura_env.config.optionkey_settings.option_fade, function() aura_env.QTracker:Show() end)\\n        end\\n    end\\n    if (aura_env.config.optionkey_modules.option_minimapframe == true) then\\n        UIFrameFadeIn(Minimap, aura_env.config.optionkey_settings.option_fade * (1-Minimap:GetAlpha()), Minimap:GetAlpha(), 1)\\n        UIFrameFadeIn(MinimapCluster, aura_env.config.optionkey_settings.option_fade * (1-MinimapCluster:GetAlpha()), MinimapCluster:GetAlpha(), 1)\\n        C_Timer.After(aura_env.config.optionkey_settings.option_fade, function() Minimap:Show() MinimapCluster:Show() end)\\n    end\\n    ExpansionLandingPageMinimapButton:Show()\\nend\\n\\naura_env.handleVisibilitySetting = function(setting)\\n    if (setting == true) then\\n        aura_env.hideObjectives()\\n        aura_env.LAST_STATE = false\\n        return\\n    elseif (setting == false) then\\n        aura_env.showObjectives()\\n        aura_env.LAST_STATE = true\\n        return\\n    end\\nend\\n\\naura_env.getInstanceSettings = function(difficultyID, difficultyName, instanceType, maxPlayers)\\n    local instanceSettings = {}\\n    return instanceSettings\\nend\\n\\naura_env.INIT_UIHIDER = function()\\n    aura_env.hasKalielsTracker = C_AddOns.IsAddOnLoaded(\\\"!KalielsTracker\\\")\\n    aura_env.QTracker = ObjectiveTrackerFrame\\n    aura_env.LAST_STATE = true\\nend\\n\\naura_env.INIT_UIHIDER()",
  12.             ["do_custom"] = true,
  13.         },
  14.         ["start"] = {
  15.             ["custom"] = "ObjectiveTrackerFrame:Hide()",
  16.             ["do_custom"] = false,
  17.             ["do_message"] = false,
  18.             ["message"] = "",
  19.             ["message_type"] = "SAY",
  20.         },
  21.     },
  22.     ["anchorFrameType"] = "SCREEN",
  23.     ["anchorPoint"] = "CENTER",
  24.     ["animation"] = {
  25.         ["finish"] = {
  26.             ["duration_type"] = "seconds",
  27.             ["easeStrength"] = 3,
  28.             ["easeType"] = "none",
  29.             ["type"] = "none",
  30.         },
  31.         ["main"] = {
  32.             ["duration_type"] = "seconds",
  33.             ["easeStrength"] = 3,
  34.             ["easeType"] = "none",
  35.             ["type"] = "none",
  36.         },
  37.         ["start"] = {
  38.             ["duration_type"] = "seconds",
  39.             ["easeStrength"] = 3,
  40.             ["easeType"] = "none",
  41.             ["type"] = "none",
  42.         },
  43.     },
  44.     ["authorOptions"] = {
  45.         [1] = {
  46.             ["height"] = 1,
  47.             ["type"] = "space",
  48.             ["useHeight"] = false,
  49.             ["variableWidth"] = true,
  50.             ["width"] = 1,
  51.         },
  52.         [2] = {
  53.             ["fontSize"] = "large",
  54.             ["text"] = "Settings of hide Objective/Quest frame",
  55.             ["type"] = "description",
  56.             ["width"] = 2,
  57.         },
  58.         [3] = {
  59.             ["fontSize"] = "medium",
  60.             ["text"] = "Enable checkbox for locations you don't wanna see the objective quest frame.",
  61.             ["type"] = "description",
  62.             ["width"] = 2,
  63.         },
  64.         [4] = {
  65.             ["height"] = 4,
  66.             ["type"] = "space",
  67.             ["useHeight"] = true,
  68.             ["variableWidth"] = true,
  69.             ["width"] = 2,
  70.         },
  71.         [5] = {
  72.             ["collapse"] = false,
  73.             ["groupType"] = "simple",
  74.             ["hideReorder"] = true,
  75.             ["key"] = "optionkey_pve",
  76.             ["limitType"] = "none",
  77.             ["name"] = "PVE",
  78.             ["nameSource"] = 0,
  79.             ["noMerge"] = false,
  80.             ["size"] = 10,
  81.             ["subOptions"] = {
  82.                 [1] = {
  83.                     ["default"] = false,
  84.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame when you are in dungeon.",
  85.                     ["key"] = "option_dungeons",
  86.                     ["name"] = "Dungeon",
  87.                     ["type"] = "toggle",
  88.                     ["useDesc"] = true,
  89.                     ["width"] = 1,
  90.                 },
  91.                 [2] = {
  92.                     ["default"] = false,
  93.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame when you are in raid.",
  94.                     ["key"] = "option_raid",
  95.                     ["name"] = "Raid",
  96.                     ["type"] = "toggle",
  97.                     ["useDesc"] = true,
  98.                     ["width"] = 1,
  99.                 },
  100.                 [3] = {
  101.                     ["default"] = false,
  102.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame when you are in scenario.",
  103.                     ["key"] = "option_scenario",
  104.                     ["name"] = "Scenario",
  105.                     ["type"] = "toggle",
  106.                     ["useDesc"] = true,
  107.                     ["width"] = 1,
  108.                 },
  109.                 [4] = {
  110.                     ["default"] = false,
  111.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame when you are in Delves.",
  112.                     ["key"] = "option_delves",
  113.                     ["name"] = "Delves",
  114.                     ["type"] = "toggle",
  115.                     ["useDesc"] = true,
  116.                     ["width"] = 1,
  117.                 },
  118.                 [5] = {
  119.                     ["default"] = false,
  120.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame when you are in Torghast.",
  121.                     ["key"] = "option_torghast",
  122.                     ["name"] = "Torghast",
  123.                     ["type"] = "toggle",
  124.                     ["useDesc"] = true,
  125.                     ["width"] = 1,
  126.                 },
  127.                 [6] = {
  128.                     ["default"] = false,
  129.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame when you are in Garrison.",
  130.                     ["key"] = "option_garrison",
  131.                     ["name"] = "Garrison",
  132.                     ["type"] = "toggle",
  133.                     ["useDesc"] = true,
  134.                     ["width"] = 1,
  135.                 },
  136.             },
  137.             ["type"] = "group",
  138.             ["useCollapse"] = true,
  139.             ["useDesc"] = false,
  140.             ["width"] = 1,
  141.         },
  142.         [6] = {
  143.             ["height"] = 3,
  144.             ["type"] = "space",
  145.             ["useHeight"] = true,
  146.             ["variableWidth"] = true,
  147.             ["width"] = 2,
  148.         },
  149.         [7] = {
  150.             ["collapse"] = false,
  151.             ["groupType"] = "simple",
  152.             ["hideReorder"] = true,
  153.             ["key"] = "optionkey_pvp",
  154.             ["limitType"] = "none",
  155.             ["name"] = "PVP",
  156.             ["nameSource"] = 0,
  157.             ["noMerge"] = false,
  158.             ["size"] = 10,
  159.             ["subOptions"] = {
  160.                 [1] = {
  161.                     ["default"] = false,
  162.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame when you are in battleground.",
  163.                     ["key"] = "option_battleground",
  164.                     ["name"] = "Battleground",
  165.                     ["type"] = "toggle",
  166.                     ["useDesc"] = true,
  167.                     ["width"] = 1,
  168.                 },
  169.                 [2] = {
  170.                     ["default"] = false,
  171.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame when you are in arena.",
  172.                     ["key"] = "option_arena",
  173.                     ["name"] = "Arena",
  174.                     ["type"] = "toggle",
  175.                     ["useDesc"] = true,
  176.                     ["width"] = 1,
  177.                 },
  178.             },
  179.             ["type"] = "group",
  180.             ["useCollapse"] = true,
  181.             ["useDesc"] = false,
  182.             ["width"] = 1,
  183.         },
  184.         [8] = {
  185.             ["height"] = 3,
  186.             ["type"] = "space",
  187.             ["useHeight"] = true,
  188.             ["variableWidth"] = true,
  189.             ["width"] = 2,
  190.         },
  191.         [9] = {
  192.             ["collapse"] = false,
  193.             ["groupType"] = "simple",
  194.             ["hideReorder"] = true,
  195.             ["key"] = "optionkey_miscellaneous",
  196.             ["limitType"] = "none",
  197.             ["name"] = "Miscellaneous",
  198.             ["nameSource"] = 0,
  199.             ["noMerge"] = false,
  200.             ["size"] = 10,
  201.             ["subOptions"] = {
  202.                 [1] = {
  203.                     ["default"] = false,
  204.                     ["desc"] = "Activate the checkbox to deactivate always the objective quest frame.",
  205.                     ["key"] = "settingsEverywhereElse",
  206.                     ["name"] = "Always",
  207.                     ["type"] = "toggle",
  208.                     ["useDesc"] = true,
  209.                     ["width"] = 1,
  210.                 },
  211.                 [2] = {
  212.                     ["default"] = false,
  213.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame when you are infight.",
  214.                     ["key"] = "option_infight",
  215.                     ["name"] = "Infight",
  216.                     ["type"] = "toggle",
  217.                     ["useDesc"] = true,
  218.                     ["width"] = 1,
  219.                 },
  220.                 [3] = {
  221.                     ["default"] = false,
  222.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame on open world.",
  223.                     ["key"] = "option_openworld",
  224.                     ["name"] = "Open World",
  225.                     ["type"] = "toggle",
  226.                     ["useDesc"] = true,
  227.                     ["width"] = 1,
  228.                 },
  229.                 [4] = {
  230.                     ["default"] = false,
  231.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame when you are on a mount.",
  232.                     ["key"] = "option_mount",
  233.                     ["name"] = "Mount",
  234.                     ["type"] = "toggle",
  235.                     ["useDesc"] = true,
  236.                     ["width"] = 1,
  237.                 },
  238.             },
  239.             ["type"] = "group",
  240.             ["useCollapse"] = true,
  241.             ["useDesc"] = false,
  242.             ["width"] = 1,
  243.         },
  244.         [10] = {
  245.             ["height"] = 8,
  246.             ["type"] = "space",
  247.             ["useHeight"] = true,
  248.             ["variableWidth"] = true,
  249.             ["width"] = 2,
  250.         },
  251.         [11] = {
  252.             ["collapse"] = false,
  253.             ["groupType"] = "simple",
  254.             ["hideReorder"] = true,
  255.             ["key"] = "optionkey_modules",
  256.             ["limitType"] = "none",
  257.             ["name"] = "Modules",
  258.             ["nameSource"] = 0,
  259.             ["noMerge"] = false,
  260.             ["size"] = 10,
  261.             ["subOptions"] = {
  262.                 [1] = {
  263.                     ["default"] = false,
  264.                     ["desc"] = "Activate the checkbox to deactivate the objective quest frame under the conditions above.",
  265.                     ["key"] = "option_questframe",
  266.                     ["name"] = "Quest Frame",
  267.                     ["type"] = "toggle",
  268.                     ["useDesc"] = true,
  269.                     ["width"] = 1,
  270.                 },
  271.                 [2] = {
  272.                     ["default"] = false,
  273.                     ["desc"] = "Activate the checkbox to deactivate the minimap frame under the conditions above.",
  274.                     ["key"] = "option_minimapframe",
  275.                     ["name"] = "Minimap Frame",
  276.                     ["type"] = "toggle",
  277.                     ["useDesc"] = true,
  278.                     ["width"] = 1,
  279.                 },
  280.             },
  281.             ["type"] = "group",
  282.             ["useCollapse"] = true,
  283.             ["useDesc"] = false,
  284.             ["width"] = 1,
  285.         },
  286.         [12] = {
  287.             ["height"] = 3,
  288.             ["type"] = "space",
  289.             ["useHeight"] = true,
  290.             ["variableWidth"] = true,
  291.             ["width"] = 2,
  292.         },
  293.         [13] = {
  294.             ["collapse"] = false,
  295.             ["groupType"] = "simple",
  296.             ["hideReorder"] = true,
  297.             ["key"] = "optionkey_settings",
  298.             ["limitType"] = "none",
  299.             ["name"] = "Generel settings",
  300.             ["nameSource"] = 0,
  301.             ["noMerge"] = false,
  302.             ["size"] = 10,
  303.             ["subOptions"] = {
  304.                 [1] = {
  305.                     ["default"] = 0,
  306.                     ["desc"] = "Decide how many seconds it takes for the objective quest frame or minimap frame to disappear or appear.",
  307.                     ["key"] = "option_fade",
  308.                     ["max"] = 3,
  309.                     ["min"] = 0,
  310.                     ["name"] = "Fade In/Out",
  311.                     ["step"] = 0.05,
  312.                     ["type"] = "range",
  313.                     ["useDesc"] = true,
  314.                     ["width"] = 2,
  315.                 },
  316.             },
  317.             ["type"] = "group",
  318.             ["useCollapse"] = true,
  319.             ["useDesc"] = false,
  320.             ["width"] = 1,
  321.         },
  322.         [14] = {
  323.             ["height"] = 10,
  324.             ["type"] = "space",
  325.             ["useHeight"] = true,
  326.             ["variableWidth"] = true,
  327.             ["width"] = 2,
  328.         },
  329.         [15] = {
  330.             ["default"] = "/run local cvar=\\\"UI_HideObjectiveFrame_Always_MacroToggle\\\" SetCVar(cvar,1-GetCVar(cvar),cvar)",
  331.             ["desc"] = "",
  332.             ["key"] = "option_macro",
  333.             ["length"] = 10,
  334.             ["multiline"] = true,
  335.             ["name"] = "*Experimental* - Macro \\\"Always\\\" execution",
  336.             ["type"] = "input",
  337.             ["useDesc"] = false,
  338.             ["useLength"] = false,
  339.             ["width"] = 2,
  340.         },
  341.         [16] = {
  342.             ["fontSize"] = "medium",
  343.             ["text"] = "This script can be used for example in macros to control the \\\"Always\\\" function without visiting the Weakaura options. \\n\\nUnfortunately, the “Always” function is NOT visual updated (checkbox) in Custom options, when you use this script. \\n\\nThis script is a toggle function. Means the script dont need to be changed for On/Off.",
  344.             ["type"] = "description",
  345.             ["width"] = 2,
  346.         },
  347.     },
  348.     ["automaticWidth"] = "Auto",
  349.     ["color"] = {
  350.         [1] = 1,
  351.         [2] = 1,
  352.         [3] = 1,
  353.         [4] = 1,
  354.     },
  355.     ["conditions"] = {
  356.     },
  357.     ["config"] = {
  358.         ["option_macro"] = "/run local cvar=\\\"UI_HideObjectiveFrame_Always_MacroToggle\\\" SetCVar(cvar,1-GetCVar(cvar),cvar)",
  359.         ["optionkey_miscellaneous"] = {
  360.             ["option_infight"] = false,
  361.             ["option_mount"] = false,
  362.             ["option_openworld"] = false,
  363.             ["settingsEverywhereElse"] = false,
  364.         },
  365.         ["optionkey_modules"] = {
  366.             ["option_minimapframe"] = false,
  367.             ["option_questframe"] = true,
  368.         },
  369.         ["optionkey_pve"] = {
  370.             ["option_delves"] = false,
  371.             ["option_dungeons"] = true,
  372.             ["option_garrison"] = false,
  373.             ["option_raid"] = true,
  374.             ["option_scenario"] = false,
  375.             ["option_torghast"] = false,
  376.         },
  377.         ["optionkey_pvp"] = {
  378.             ["option_arena"] = true,
  379.             ["option_battleground"] = true,
  380.         },
  381.         ["optionkey_settings"] = {
  382.             ["option_fade"] = 0.5,
  383.         },
  384.     },
  385.     ["customTextUpdate"] = "event",
  386.     ["desc"] = "Made with <3 by Pfirsichnase - Blackmoore",
  387.     ["displayText"] = "",
  388.     ["displayText_format_p_format"] = "timed",
  389.     ["displayText_format_p_time_dynamic_threshold"] = 60,
  390.     ["displayText_format_p_time_format"] = 0,
  391.     ["displayText_format_p_time_legacy_floor"] = false,
  392.     ["displayText_format_p_time_mod_rate"] = true,
  393.     ["displayText_format_p_time_precision"] = 1,
  394.     ["fixedWidth"] = 200,
  395.     ["font"] = "Friz Quadrata TT",
  396.     ["fontSize"] = 24,
  397.     ["frameStrata"] = 1,
  398.     ["id"] = "UI_HideObjectiveFrame",
  399.     ["information"] = {
  400.         ["forceEvents"] = true,
  401.         ["ignoreOptionsEventErrors"] = true,
  402.     },
  403.     ["internalVersion"] = 83,
  404.     ["justify"] = "LEFT",
  405.     ["load"] = {
  406.         ["class"] = {
  407.             ["multi"] = {
  408.             },
  409.         },
  410.         ["class_and_spec"] = {
  411.             ["multi"] = {
  412.                 [62] = true,
  413.             },
  414.             ["single"] = 62,
  415.         },
  416.         ["difficulty"] = {
  417.             ["multi"] = {
  418.             },
  419.         },
  420.         ["instance_type"] = {
  421.             ["multi"] = {
  422.             },
  423.         },
  424.         ["size"] = {
  425.             ["multi"] = {
  426.                 ["arena"] = true,
  427.                 ["flexible"] = true,
  428.                 ["fortyman"] = true,
  429.                 ["party"] = true,
  430.                 ["pvp"] = true,
  431.                 ["ratedarena"] = true,
  432.                 ["ratedpvp"] = true,
  433.                 ["ten"] = true,
  434.                 ["twenty"] = true,
  435.                 ["twentyfive"] = true,
  436.             },
  437.         },
  438.         ["spec"] = {
  439.             ["multi"] = {
  440.             },
  441.         },
  442.         ["talent"] = {
  443.             ["multi"] = {
  444.             },
  445.         },
  446.         ["use_namerealm"] = false,
  447.         ["use_never"] = false,
  448.         ["use_zoneIds"] = false,
  449.         ["zoneIds"] = "g440, g275, g279, g245, 733, g236, g182, g443, 2194, c2198, 2579",
  450.     },
  451.     ["outline"] = "OUTLINE",
  452.     ["preferToUpdate"] = false,
  453.     ["regionType"] = "text",
  454.     ["selfPoint"] = "BOTTOMLEFT",
  455.     ["semver"] = "1.0.31",
  456.     ["shadowColor"] = {
  457.         [1] = 0,
  458.         [2] = 0,
  459.         [3] = 0,
  460.         [4] = 1,
  461.     },
  462.     ["shadowXOffset"] = 1,
  463.     ["shadowYOffset"] = -1,
  464.     ["source"] = "import",
  465.     ["subRegions"] = {
  466.         [1] = {
  467.             ["type"] = "subbackground",
  468.         },
  469.     },
  470.     ["tocversion"] = 110005,
  471.     ["triggers"] = {
  472.         [1] = {
  473.             ["trigger"] = {
  474.                 ["check"] = "update",
  475.                 ["custom"] = "function (event, glStr,value)\\n    local _, instanceType, difficultyID, difficultyName, maxPlayers = GetInstanceInfo()\\n    local settings = aura_env.getInstanceSettings(difficultyID, difficultyName, instanceType, maxPlayers)\\n    local instanceSetting = settings[difficultyID]\\n    local isChallengeMode = GetDifficultyInfo(difficultyID)\\n    \\n    -- /run local cvar=\\\"UI_HideObjectiveFrame_Always_MacroToggle\\\" SetCVar(cvar,1-GetCVar(cvar),cvar)\\n    local cvar=\\\"UI_HideObjectiveFrame_Always_MacroToggle\\\"\\n    if glStr and value and glStr==cvar then\\n        if (aura_env.config.optionkey_miscellaneous.settingsEverywhereElse == true) then\\n            aura_env.config.optionkey_miscellaneous.settingsEverywhereElse = false\\n        else\\n            aura_env.config.optionkey_miscellaneous.settingsEverywhereElse = true\\n        end\\n    elseif not glStr and not value then\\n        RegisterCVar(cvar,0)\\n    end\\n    \\n    if (aura_env.config.optionkey_miscellaneous.option_mount == true) then\\n        local _, englishClass, _ = UnitClass(\\\"player\\\")\\n        if (englishClass == \\\"DRUID\\\") then\\n            if (IsMounted() == true or GetShapeshiftForm() == 3) then\\n                local visibilitySetting = aura_env.config.optionkey_miscellaneous.option_mount\\n                return aura_env.handleVisibilitySetting(visibilitySetting)\\n            end\\n        else\\n            if (IsMounted() == true) then\\n                local visibilitySetting = aura_env.config.optionkey_miscellaneous.option_mount\\n                return aura_env.handleVisibilitySetting(visibilitySetting)\\n            end\\n        end\\n        \\n        if (event == \\\"PLAYER_MOUNT_DISPLAY_CHANGED\\\" or \\\"UPDATE_SHAPESHIFT_FORM\\\") then\\n            if (IsMounted() == false or not GetShapeshiftForm() == 3) then\\n                if (UnitAffectingCombat(\\\"player\\\") == true and aura_env.config.optionkey_miscellaneous.option_infight == true) then\\n                    local visibilitySetting = aura_env.config.optionkey_miscellaneous.option_infight\\n                    return aura_env.handleVisibilitySetting(visibilitySetting)\\n                end\\n            end\\n        end    \\n    end\\n    \\n    if (aura_env.config.optionkey_pve.option_dungeons == true) then\\n        if (instanceType == \\\"party\\\" or isChallengeMode) then\\n            if not (difficultyID == 208) then\\n                if not (instanceType == \\\"raid\\\") then\\n                    if not (instanceType == \\\"scenario\\\") then\\n                        if not (C_Garrison.IsOnGarrisonMap() or C_Garrison.IsUsingPartyGarrison()) then\\n                            local visibilitySetting = aura_env.config.optionkey_pve.option_dungeons\\n                            return aura_env.handleVisibilitySetting(visibilitySetting)\\n                        end\\n                    end\\n                end\\n            end\\n        end\\n    end\\n    \\n    if (aura_env.config.optionkey_pve.option_garrison == true) then\\n        if (C_Garrison.IsOnGarrisonMap() == true) or (C_Garrison.IsUsingPartyGarrison() == true) then\\n            local visibilitySetting = aura_env.config.optionkey_pve.option_garrison\\n            return aura_env.handleVisibilitySetting(visibilitySetting)\\n        end\\n    end\\n    \\n    if (instanceType == \\\"scenario\\\") then\\n        if not (difficultyID == 208) then\\n            if not (difficultyID == 167) then\\n                if (aura_env.config.optionkey_pve.option_scenario == true) then\\n                    local visibilitySetting = aura_env.config.optionkey_pve.option_scenario\\n                    return aura_env.handleVisibilitySetting(visibilitySetting)\\n                end\\n            end\\n        end\\n    end\\n    \\n    if (instanceType == \\\"scenario\\\") then\\n        if (difficultyID == 208) then\\n            if (aura_env.config.optionkey_pve.option_delves == true) then\\n                local visibilitySetting = aura_env.config.optionkey_pve.option_delves\\n                return aura_env.handleVisibilitySetting(visibilitySetting)\\n            end\\n        end\\n        if (difficultyID == 167) then\\n            if (aura_env.config.optionkey_pve.option_torghast == true) then\\n                local visibilitySetting = aura_env.config.optionkey_pve.option_torghast\\n                return aura_env.handleVisibilitySetting(visibilitySetting)\\n            end\\n        end\\n    end\\n    \\n    if (instanceType == \\\"raid\\\") then\\n        if (aura_env.config.optionkey_pve.option_raid == true) then\\n            local visibilitySetting = aura_env.config.optionkey_pve.option_raid\\n            return aura_env.handleVisibilitySetting(visibilitySetting)\\n        end\\n    end\\n    \\n    if (instanceType == \\\"pvp\\\") then\\n        if (aura_env.config.optionkey_pvp.option_battleground == true) then\\n            local visibilitySetting = aura_env.config.optionkey_pvp.option_battleground\\n            return aura_env.handleVisibilitySetting(visibilitySetting)\\n        end\\n    end\\n    \\n    if (instanceType == \\\"arena\\\") then\\n        if (aura_env.config.optionkey_pvp.option_arena == true) then\\n            local visibilitySetting = aura_env.config.optionkey_pvp.option_arena\\n            return aura_env.handleVisibilitySetting(visibilitySetting)\\n        end\\n    end\\n    \\n    if (instanceType == \\\"none\\\") then\\n        if (aura_env.config.optionkey_miscellaneous.option_openworld == true) then\\n            local visibilitySetting = aura_env.config.optionkey_miscellaneous.option_openworld\\n            return aura_env.handleVisibilitySetting(visibilitySetting)\\n        end\\n    end\\n    \\n    if (aura_env.config.optionkey_miscellaneous.option_infight == true) then\\n        if (event == \\\"PLAYER_REGEN_DISABLED\\\") then\\n            local visibilitySetting = aura_env.config.optionkey_miscellaneous.option_infight\\n            return aura_env.handleVisibilitySetting(visibilitySetting)\\n        end\\n        \\n        if (event == \\\"PLAYER_REGEN_ENABLED\\\") then\\n            if (aura_env.config.optionkey_miscellaneous.settingsEverywhereElse == false) then\\n                local visibilitySetting = aura_env.config.optionkey_miscellaneous.settingsEverywhereElse\\n                return aura_env.handleVisibilitySetting(visibilitySetting)\\n            end\\n        end\\n    end\\n    \\n    local visibilitySetting = instanceSetting or aura_env.config.optionkey_miscellaneous.settingsEverywhereElse\\n    return aura_env.handleVisibilitySetting(visibilitySetting)\\nend",
  476.                 ["custom_hide"] = "custom",
  477.                 ["custom_type"] = "event",
  478.                 ["debuffType"] = "HELPFUL",
  479.                 ["event"] = "Conditions",
  480.                 ["events"] = "CHALLENGE_MODE_COMPLETED, CHALLENGE_MODE_START, PLAYER_ENTERING_WORLD, WORLD_MAP_UPDATE, ZONE_CHANGED_NEW_AREA, ZONE_CHANGED, PLAYER_REGEN_DISABLED, PLAYER_REGEN_ENABLED, PLAYER_LOSES_VEHICLE_DATA, PLAYER_MOUNT_DISPLAY_CHANGED, UPDATE_SHAPESHIFT_FORM, CVAR_UPDATE",
  481.                 ["genericShowOn"] = "showOnCooldown",
  482.                 ["ingroup"] = {
  483.                 },
  484.                 ["names"] = {
  485.                 },
  486.                 ["spellIds"] = {
  487.                 },
  488.                 ["spellName"] = 0,
  489.                 ["subeventPrefix"] = "SPELL",
  490.                 ["subeventSuffix"] = "_CAST_START",
  491.                 ["type"] = "custom",
  492.                 ["unit"] = "player",
  493.                 ["use_absorbHealMode"] = true,
  494.                 ["use_absorbMode"] = true,
  495.                 ["use_alwaystrue"] = true,
  496.                 ["use_genericShowOn"] = true,
  497.                 ["use_spellName"] = true,
  498.                 ["use_track"] = true,
  499.                 ["use_unit"] = true,
  500.             },
  501.             ["untrigger"] = {
  502.                 ["custom"] = "function(event,glStr,value)\\n    local cvar=\\\"UI_HideObjectiveFrame_Always_MacroToggle\\\"\\n    if glStr and value and glStr==cvar then\\n        return tonumber(value)==0\\n    end\\nend",
  503.             },
  504.         },
  505.         ["activeTriggerMode"] = -10,
  506.         ["disjunctive"] = "all",
  507.     },
  508.     ["uid"] = "A)OujmdL)9W",
  509.     ["url"] = "https://wago.io/tKOoIqhIq/32",
  510.     ["version"] = 32,
  511.     ["wagoID"] = "tKOoIqhIq",
  512.     ["wordWrap"] = "WordWrap",
  513.     ["xOffset"] = -5000,
  514.     ["yOffset"] = 4800,
  515. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement