Manastorm Level 69 Tracker
Just a tracker for getting information about players that has hit lvl 69 in your raid group, to make it easier to see who to kick.
|
|
| Quick Facts |
|---|
Just a tracker for getting information about players that has hit lvl 69 in your raid group, to make it easier to see who to kick.
Contains custom functions.
Code has been reviewed and is safe to use, custom functions might affect in-game performance.
{
"m": "d",
"d": {
"iconSource": -1,
"xOffset": 0,
"customText": "function()\n return table.concat(aura_env.lvl69Names, \", \")\nend",
"yOffset": 460,
"anchorPoint": "CENTER",
"cooldownEdge": false,
"actions": {
"start": {
"message": "%c",
"custom": "function()\n for i, name in ipairs(aura_env.lvl69Names or {}) do\n local macroName = \"Kick69_\" .. i\n local macroText = \"\/kick \" .. name\n -- Try to create the macro\n local index = GetMacroIndexByName(macroName)\n if index == 0 then\n CreateMacro(macroName, \"INV_MISC_QUESTIONMARK\", macroText, true)\n else\n EditMacro(index, macroName, \"INV_MISC_QUESTIONMARK\", macroText, true)\n end\n print(\"Click macro: \/click \" .. macroName)\n end\n return\nend",
"message_type": "RAID",
"message_format_c_format": "none",
"do_message": false,
"do_custom": false,
"message_custom": "function()\n return \"Kick: \" .. table.concat(aura_env.lvl69Names, \", \") .. \" they have hit level 69!\" \nend"
},
"init": {
"do_custom": true,
"custom": "aura_env.lvl69Names = {}\n\nfunction aura_env.updateNames()\n aura_env.lvl69Names = {}\n if IsInRaid() then\n for i = 1, GetNumGroupMembers() do\n local unit = \"raid\"..i\n if UnitExists(unit) and UnitLevel(unit) == 69 then\n local name = GetUnitName(unit, true)\n table.insert(aura_env.lvl69Names, name)\n end\n end\n end\nend"
},
"finish": []
},
"triggers": {
"1": {
"trigger": {
"duration": "",
"dynamicDuration": true,
"auraspellids": [
"1004119"
],
"debuffType": "HELPFUL",
"custom_hide": "timed",
"names": [],
"useName": false,
"use_absorbMode": true,
"custom_type": "status",
"spellIds": [],
"custom": "function()\n aura_env.updateNames()\n return #aura_env.lvl69Names > 0\nend",
"event": "Health",
"type": "custom",
"unit": "player",
"useExactSpellId": true,
"events": "GROUP_ROSTER_UPDATE,PLAYER_ENTERING_WORLD, UNIT_LEVEL, ZONE_CHANGED_NEW_AREA",
"subeventSuffix": "_CAST_START",
"check": "event",
"use_unit": true,
"use_messageType": true,
"subeventPrefix": "SPELL"
},
"untrigger": {
"custom": "function()\n return #aura_env.lvl69Names == 0\nend"
}
},
"2": {
"trigger": {
"type": "custom",
"events": "GROUP_ROSTER_UPDATE,PLAYER_ENTERING_WORLD, UNIT_LEVEL, ZONE_CHANGED_NEW_AREA",
"custom_type": "event",
"unit": "player",
"debuffType": "HELPFUL",
"custom": "function()\n return #aura_env.lvl69Names == 0\nend",
"custom_hide": "timed"
},
"untrigger": []
},
"disjunctive": "custom",
"customTriggerLogic": "function(trigger)\n return trigger[1] and not trigger[2]\nend",
"activeTriggerMode": -10
},
"internalVersion": 53,
"keepAspectRatio": false,
"selfPoint": "CENTER",
"desaturate": false,
"subRegions": [
{
"type": "subbackground"
},
{
"text_text_format_c_time_precision": 1,
"text_text_format_s_format": "none",
"text_text": "%c",
"text_shadowColor": [
0,
0,
0,
1
],
"text_selfPoint": "AUTO",
"text_automaticWidth": "Auto",
"text_fixedWidth": 64,
"anchorYOffset": 0,
"text_justify": "CENTER",
"text_text_format_c_time_format": 0,
"anchorXOffset": 0,
"text_text_format_c_color": true,
"text_shadowXOffset": 0,
"type": "subtext",
"text_text_format_c_abbreviate": false,
"text_color": [
1,
1,
1,
1
],
"text_font": "Friz Quadrata TT",
"text_shadowYOffset": 0,
"text_anchorYOffset": 10,
"text_fontType": "OUTLINE",
"text_wordWrap": "WordWrap",
"text_visible": true,
"text_anchorPoint": "INNER_BOTTOM",
"text_text_format_c_realm_name": "never",
"text_text_format_c_abbreviate_max": 8,
"text_fontSize": 12,
"text_text_format_c_time_dynamic_threshold": 60,
"text_text_format_c_format": "none"
},
{
"glowFrequency": 0.25,
"type": "subglow",
"glowXOffset": 0,
"glowType": "buttonOverlay",
"glowLength": 10,
"glowYOffset": 0,
"glowColor": [
1,
1,
1,
1
],
"useGlowColor": false,
"glow": true,
"glowScale": 1,
"glowThickness": 1,
"glowLines": 8,
"glowBorder": false
},
{
"text_text_format_p_time_precision": 1,
"text_text": "Level 69s",
"text_shadowColor": [
0,
0,
0,
1
],
"text_selfPoint": "AUTO",
"text_automaticWidth": "Auto",
"text_fixedWidth": 64,
"anchorYOffset": 0,
"text_justify": "CENTER",
"type": "subtext",
"text_visible": true,
"text_color": [
1,
1,
1,
1
],
"text_font": "Friz Quadrata TT",
"anchorXOffset": 0,
"text_shadowYOffset": 0,
"text_shadowXOffset": 0,
"text_wordWrap": "WordWrap",
"text_fontType": "OUTLINE",
"text_anchorPoint": "INNER_TOP",
"text_text_format_p_format": "timed",
"text_text_format_p_time_format": 0,
"text_fontSize": 16,
"text_text_format_p_time_dynamic_threshold": 60,
"text_anchorYOffset": -10
}
],
"height": 64,
"load": {
"difficulty": [],
"ingroup": {
"single": "raid",
"multi": {
"raid": true
}
},
"use_ingroup": true,
"talent": {
"multi": []
},
"class": {
"multi": []
},
"spec": {
"multi": []
},
"faction": [],
"size": {
"multi": []
}
},
"regionType": "icon",
"frameStrata": 1,
"color": [
1,
1,
1,
1
],
"cooldown": false,
"zoom": 0,
"displayIcon": "Interface\\Icons\\Ability_Rogue_Feint",
"tocversion": 30300,
"id": "KickManastormMembers",
"authorOptions": [],
"alpha": 1,
"anchorFrameType": "SCREEN",
"animation": {
"start": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
},
"main": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
},
"finish": {
"type": "none",
"easeStrength": 3,
"duration_type": "seconds",
"easeType": "none"
}
},
"config": [],
"inverse": false,
"uid": "HmK6c)akoQq",
"width": 128,
"conditions": [],
"information": [],
"icon": true
},
"s": "4.2.5",
"v": 1421
}