Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- ["outline"] = "OUTLINE",
- ["glow"] = false,
- ["text1FontSize"] = 38,
- ["cooldownTextEnabled"] = true,
- ["displayText"] = "%c",
- ["customText"] = "function()\n return aura_env.orbs\nend\n\n\n\n",
- ["yOffset"] = 204.77774047852,
- ["anchorPoint"] = "CENTER",
- ["activeTriggerMode"] = -10,
- ["customTextUpdate"] = "update",
- ["url"] = "https://wago.io/NyIGCeCnf",
- ["actions"] = {
- ["start"] = {
- ["do_sound"] = false,
- },
- ["init"] = {
- ["custom"] = "local enableGlow = true -- glow\nlocal enableIcon = true -- show icon\nlocal enableMarks = false -- assign marks \n\n---------------------------------------\naura_env.nameplates = {}\naura_env.glow = function(unit,show)\n local nameplate = C_NamePlate.GetNamePlateForUnit(unit)\n if not nameplate then return end\n if enableGlow and show then\n if nameplate.UnitFrame and nameplate.UnitFrame.HealthBar then\n -- elvui\n ActionButton_ShowOverlayGlow(nameplate.UnitFrame.HealthBar)\n nameplate = nameplate.UnitFrame.HealthBar\n elseif nameplate.kui then\n -- kui\n ActionButton_ShowOverlayGlow(nameplate.kui.HealthBar)\n nameplate = nameplate.kui.HealthBar\n elseif nameplate.extended then\n -- tidyplates\n ActionButton_ShowOverlayGlow(nameplate.extended.visual.healthbar)\n nameplate = nameplate.extended.visual.healthbar\n elseif nameplate.UnitFrame then \n -- default\n ActionButton_ShowOverlayGlow(nameplate.UnitFrame.healthBar)\n nameplate = nameplate.UnitFrame.healthBar\n end\n aura_env.nameplates[unit] = nameplate\n else\n if nameplate.UnitFrame and nameplate.UnitFrame.HealthBar then\n -- elvui\n ActionButton_HideOverlayGlow(nameplate.UnitFrame.HealthBar)\n nameplate = nameplate.UnitFrame.HealthBar\n elseif nameplate.kui then\n -- kui\n ActionButton_HideOverlayGlow(nameplate.kui.HealthBar)\n nameplate = nameplate.kui.HealthBar\n elseif nameplate.extended then\n -- tidyplates\n ActionButton_HideOverlayGlow(nameplate.extended.visual.healthbar)\n nameplate = nameplate.extended.visual.healthbar\n elseif nameplate.UnitFrame then\n -- default\n ActionButton_HideOverlayGlow(nameplate.UnitFrame.healthBar)\n nameplate = nameplate.UnitFrame.healthBar\n end\n aura_env.nameplates[unit] = nil\n end \nend\n\naura_env.orbs = 0\naura_env.icon = enableIcon\naura_env.marks = enableMarks\naura_env.npcID = { -- possible to add more \n [120651] = true, -- fel explosives\n -- [92168] = true, -- testingdummies\n -- [92166] = true, -- testingdummies\n}\naura_env.marksBlocked = false",
- ["do_custom"] = true,
- },
- ["finish"] = {
- ["custom"] = "for i,v in pairs(aura_env.nameplates) do\n --print(i,v)\n ActionButton_HideOverlayGlow(v)\nend",
- ["do_custom"] = true,
- },
- },
- ["text1Enabled"] = true,
- ["selfPoint"] = "BOTTOM",
- ["trigger"] = {
- ["type"] = "custom",
- ["subeventSuffix"] = "_CAST_START",
- ["event"] = "Health",
- ["unit"] = "player",
- ["subeventPrefix"] = "SPELL",
- ["spellIds"] = {
- },
- ["names"] = {
- },
- ["check"] = "update",
- ["custom_type"] = "status",
- ["custom"] = "function()\n local orbsUp = 0\n local markIndex = 1\n for i=1,40 do\n local unit = \"nameplate\"..i \n -- print(unit)\n if UnitExists(unit) then\n local guid = UnitGUID(unit)\n local type, zero, server_id, instance_id, zone_uid, npc_id, spawn_uid = strsplit(\"-\",guid)\n -- print(npc_id)\n if aura_env.npcID[tonumber(npc_id)] then\n -- print('a')\n orbsUp = orbsUp + 1\n aura_env.glow(unit,true)\n if aura_env.marks and not GetRaidTargetIndex(unit) and not aura_env.marksBlocked then \n SetRaidTarget(unit,markIndex)\n if not GetRaidTargetIndex(unit) then\n aura_env.marksBlocked = true\n C_Timer.After(0.1,function() WeakAuras.ScanEvents('WA_RETRYMARKS') end)\n end\n end\n markIndex = markIndex<=8 and markIndex+1 or 1\n else\n aura_env.glow(unit,false)\n end\n end\n end\n aura_env.orbs = orbsUp\n return aura_env.icon and orbsUp > 0\nend",
- ["debuffType"] = "HELPFUL",
- },
- ["desaturate"] = false,
- ["text1Point"] = "CENTER",
- ["text2FontFlags"] = "OUTLINE",
- ["height"] = 70,
- ["load"] = {
- ["use_size"] = true,
- ["use_never"] = false,
- ["talent"] = {
- ["multi"] = {
- },
- },
- ["class"] = {
- ["multi"] = {
- },
- },
- ["use_encounterid"] = false,
- ["difficulty"] = {
- ["multi"] = {
- },
- },
- ["role"] = {
- ["multi"] = {
- },
- },
- ["spec"] = {
- ["multi"] = {
- },
- },
- ["faction"] = {
- ["multi"] = {
- },
- },
- ["talent2"] = {
- ["multi"] = {
- },
- },
- ["pvptalent"] = {
- ["multi"] = {
- },
- },
- ["race"] = {
- ["multi"] = {
- },
- },
- ["size"] = {
- ["single"] = "party",
- ["multi"] = {
- ["party"] = true,
- },
- },
- },
- ["untrigger"] = {
- ["custom"] = "function()\n return true\nend\n\n\n\n\n\n\n\n",
- },
- ["animation"] = {
- ["start"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["main"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- ["finish"] = {
- ["duration_type"] = "seconds",
- ["type"] = "none",
- },
- },
- ["conditions"] = {
- },
- ["text2Containment"] = "INSIDE",
- ["icon"] = true,
- ["text1Font"] = "Expressway",
- ["stickyDuration"] = false,
- ["inverse"] = false,
- ["text2Color"] = {
- [1] = 1,
- [2] = 1,
- [3] = 1,
- [4] = 1,
- },
- ["regionType"] = "icon",
- ["text2Font"] = "Friz Quadrata TT",
- ["text1Color"] = {
- [1] = 1,
- [2] = 1,
- [3] = 1,
- [4] = 1,
- },
- ["text2FontSize"] = 24,
- ["anchorFrameType"] = "SCREEN",
- ["frameStrata"] = 1,
- ["text1"] = "%c",
- ["zoom"] = 0,
- ["additional_triggers"] = {
- [1] = {
- ["trigger"] = {
- ["custom_hide"] = "timed",
- ["type"] = "custom",
- ["events"] = "WA_RETRYMARKS",
- ["custom_type"] = "event",
- ["subeventSuffix"] = "_CAST_START",
- ["custom"] = "function(e,unit)\n aura_env.marksBlocked = false\n return false\nend\n\n\n\n",
- ["event"] = "Health",
- ["subeventPrefix"] = "SPELL",
- },
- ["untrigger"] = {
- },
- },
- },
- ["text2"] = "%p",
- ["auto"] = true,
- ["text1FontFlags"] = "OUTLINE",
- ["id"] = "Explosive Orbs ",
- ["justify"] = "LEFT",
- ["text2Enabled"] = false,
- ["width"] = 70,
- ["text1Containment"] = "INSIDE",
- ["disjunctive"] = "any",
- ["numTriggers"] = 2,
- ["xOffset"] = -332.66552734375,
- ["init_started"] = 1,
- ["displayIcon"] = 135799,
- ["color"] = {
- [1] = 1,
- [2] = 1,
- [3] = 1,
- [4] = 1,
- },
- ["text2Point"] = "CENTER",
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement