Skip to content

Instantly share code, notes, and snippets.

@rcreasey
Created July 22, 2015 00:35
Show Gist options
  • Save rcreasey/2dc11ddcccbdeb2c57cc to your computer and use it in GitHub Desktop.
Save rcreasey/2dc11ddcccbdeb2c57cc to your computer and use it in GitHub Desktop.
PitBull4DB = {
["namespaces"] = {
["Highlight"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Player"] = {
["enabled"] = false,
},
},
},
["Standard"] = {
["layouts"] = {
["Target"] = {
["enabled"] = false,
},
["Player"] = {
["enabled"] = false,
},
},
},
},
},
["LibDualSpec-1.0"] = {
["char"] = {
["Katalae - Black Dragonflight"] = {
["profile"] = "Default",
["talentGroup"] = 2,
["enabled"] = false,
},
},
},
["RangeFader"] = {
["profiles"] = {
["Standard"] = {
["global"] = {
["enabled"] = false,
},
},
["Default"] = {
["global"] = {
["enabled"] = false,
},
},
},
},
["Border"] = {
},
["PhaseIcon"] = {
["profiles"] = {
["Standard"] = {
["layouts"] = {
["Focus Target"] = {
["enabled"] = false,
["position"] = 1.00001,
},
["Player"] = {
["position"] = 1.00001,
},
},
},
},
},
["ComboPoints"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Normal"] = {
["position"] = 18,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 13,
["color"] = {
0, -- [1]
0, -- [2]
},
["location"] = "left",
["attach_to"] = "PowerBar",
["size"] = 0.55,
},
["Raid Large"] = {
["enabled"] = false,
["position"] = 13,
["color"] = {
0, -- [1]
0, -- [2]
},
["location"] = "left",
["attach_to"] = "PowerBar",
["size"] = 0.55,
},
["Party"] = {
["enabled"] = false,
["position"] = 13,
["color"] = {
0, -- [1]
0, -- [2]
},
["location"] = "left",
["attach_to"] = "PowerBar",
["size"] = 0.55,
},
["Focus"] = {
["position"] = 13,
},
["Target"] = {
["position"] = 13,
["color"] = {
0, -- [1]
0, -- [2]
},
["location"] = "left",
["attach_to"] = "PowerBar",
["size"] = 0.55,
},
["Raid"] = {
["enabled"] = false,
["position"] = 13,
["color"] = {
0, -- [1]
0, -- [2]
},
["location"] = "left",
["attach_to"] = "PowerBar",
["size"] = 0.55,
},
["Focus Target"] = {
["position"] = 13,
},
["Player"] = {
["position"] = 13,
},
},
},
["Standard"] = {
["layouts"] = {
["Normal"] = {
["position"] = 18,
},
["Party Targets"] = {
["enabled"] = false,
["color"] = {
0, -- [1]
0, -- [2]
},
["attach_to"] = "PowerBar",
["position"] = 13,
["location"] = "left",
["size"] = 0.55,
},
["Raid Large"] = {
["enabled"] = false,
["color"] = {
0, -- [1]
0, -- [2]
},
["attach_to"] = "PowerBar",
["position"] = 13,
["location"] = "left",
["size"] = 0.55,
},
["Party"] = {
["enabled"] = false,
["color"] = {
0, -- [1]
0, -- [2]
},
["attach_to"] = "PowerBar",
["position"] = 13,
["location"] = "left",
["size"] = 0.55,
},
["Focus"] = {
["position"] = 13,
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 13,
},
["Target"] = {
["attach_to"] = "PowerBar",
["vertical"] = true,
["position"] = 13,
["location"] = "top",
},
["Raid"] = {
["enabled"] = false,
["color"] = {
0, -- [1]
0, -- [2]
},
["attach_to"] = "PowerBar",
["position"] = 13,
["location"] = "left",
["size"] = 0.55,
},
["Player"] = {
["attach_to"] = "PowerBar",
["vertical"] = true,
["position"] = 13,
["location"] = "top",
},
["Target's Target"] = {
["enabled"] = false,
["color"] = {
0, -- [1]
0, -- [2]
},
["attach_to"] = "PowerBar",
["position"] = 13,
["location"] = "left",
["size"] = 0.55,
},
},
},
},
},
["RoleIcon"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Normal"] = {
["location"] = "edge_bottom_right",
["position"] = 20,
},
},
},
["Standard"] = {
["layouts"] = {
["Normal"] = {
["position"] = 20,
["location"] = "edge_right",
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["location"] = "edge_bottom_right",
},
["Party"] = {
["location"] = "bottom_right",
["attach_to"] = "Portrait",
},
["Focus Target"] = {
["enabled"] = false,
},
["Raid"] = {
["location"] = "edge_right",
["size"] = 0.75,
},
["Focus"] = {
["enabled"] = false,
},
["Target's Target"] = {
["enabled"] = false,
},
},
},
},
},
["Aggro"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Raid Large"] = {
["enabled"] = false,
},
["Party"] = {
["kind"] = "Border",
},
["Player"] = {
["enabled"] = false,
},
["Target"] = {
["enabled"] = false,
},
["Raid"] = {
["enabled"] = false,
},
["Pet"] = {
["kind"] = "Border",
},
["Party Targets"] = {
["enabled"] = false,
},
},
},
["Standard"] = {
["layouts"] = {
["Raid Large"] = {
["enabled"] = false,
},
["Party"] = {
["kind"] = "Border",
},
["Target"] = {
["enabled"] = false,
},
["Player"] = {
["enabled"] = false,
},
["Party Targets"] = {
["enabled"] = false,
},
["Raid"] = {
["enabled"] = false,
},
["Pet"] = {
["kind"] = "Border",
},
["Target's Target"] = {
["enabled"] = false,
},
},
},
},
},
["HostilityFader"] = {
},
["MasterLooterIcon"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Normal"] = {
["position"] = 21,
},
["Party Targets"] = {
["enabled"] = false,
["location"] = "edge_top_right",
["position"] = 22,
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["location"] = "edge_top_right",
["position"] = 22,
["size"] = 0.5,
},
["Player"] = {
["location"] = "in_top_right",
["position"] = 22,
},
["Focus"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 22,
},
["Target"] = {
["location"] = "in_top_right",
["position"] = 22,
},
["Raid"] = {
["location"] = "edge_top_right",
["position"] = 22,
["size"] = 0.5,
},
["Party"] = {
["location"] = "edge_top_right",
["position"] = 22,
["size"] = 0.75,
},
["Focus Target"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 22,
},
},
},
["Standard"] = {
["layouts"] = {
["Normal"] = {
["position"] = 21,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 22,
["location"] = "edge_top_right",
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["position"] = 22,
["location"] = "edge_top_right",
["size"] = 0.5,
},
["Player"] = {
["position"] = 22,
["location"] = "bottom_left",
["attach_to"] = "Portrait",
},
["Focus"] = {
["enabled"] = false,
["position"] = 22,
["location"] = "in_top_right",
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 22,
["location"] = "in_top_right",
},
["Target"] = {
["enabled"] = false,
["position"] = 22,
["location"] = "in_top_right",
},
["Raid"] = {
["position"] = 22,
["location"] = "edge_top_right",
["size"] = 0.5,
},
["Party"] = {
["position"] = 22,
["location"] = "edge_top_right",
["size"] = 0.75,
},
["Target's Target"] = {
["enabled"] = false,
["position"] = 22,
["location"] = "in_top_right",
},
},
},
},
},
["CombatText"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Normal"] = {
["position"] = 15,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Raid Large"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Party"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Focus"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Target"] = {
["position"] = 12,
["size"] = 1,
},
["Raid"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Player"] = {
["position"] = 12,
["size"] = 1,
},
},
},
["Standard"] = {
["layouts"] = {
["Normal"] = {
["position"] = 15,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Party"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Focus"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Target"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Raid"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Player"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
["Target's Target"] = {
["enabled"] = false,
["position"] = 12,
["size"] = 1,
},
},
},
},
},
["ReadyCheckIcon"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Normal"] = {
["position"] = 19,
},
["Party Targets"] = {
["enabled"] = false,
["location"] = "bottom_right",
["attach_to"] = "Portrait",
["position"] = 21,
},
["Pet"] = {
["enabled"] = false,
["position"] = 1.00001,
},
["Raid Large"] = {
["location"] = "edge_right",
["position"] = 21,
},
["Player"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 21,
},
["Focus"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 21,
},
["Target"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 21,
},
["Raid"] = {
["location"] = "left",
["attach_to"] = "Portrait",
["position"] = 21,
},
["Party"] = {
["location"] = "bottom_right",
["attach_to"] = "Portrait",
["position"] = 21,
},
["Focus Target"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 21,
},
},
},
["Standard"] = {
["layouts"] = {
["Normal"] = {
["position"] = 19,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 21,
["location"] = "bottom_right",
["attach_to"] = "Portrait",
},
["Pet"] = {
["enabled"] = false,
["position"] = 1.00001,
},
["Raid Large"] = {
["position"] = 21,
["location"] = "in_center",
},
["Player"] = {
["enabled"] = false,
["position"] = 21,
["location"] = "in_top_right",
},
["Focus"] = {
["enabled"] = false,
["position"] = 21,
["location"] = "in_top_right",
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 21,
["location"] = "in_top_right",
},
["Target"] = {
["enabled"] = false,
["position"] = 21,
["location"] = "in_top_right",
},
["Raid"] = {
["position"] = 21,
["location"] = "left",
["attach_to"] = "Portrait",
},
["Party"] = {
["position"] = 21,
["location"] = "bottom_right",
["attach_to"] = "Portrait",
},
["Target's Target"] = {
["enabled"] = false,
["position"] = 21,
["location"] = "in_top_right",
},
},
},
},
},
["Totems"] = {
["profiles"] = {
["Standard"] = {
["global"] = {
["enabled"] = false,
},
},
},
},
["Portrait"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Party Targets"] = {
["bar_size"] = 12,
},
["Pet"] = {
["enabled"] = true,
},
["Raid Large"] = {
["fallback_style"] = "class",
["bar_size"] = 12,
},
["Party"] = {
["enabled"] = true,
["fallback_style"] = "class",
["bar_size"] = 12,
},
["Focus"] = {
["enabled"] = true,
["bar_size"] = 12,
},
["Target"] = {
["enabled"] = true,
["side"] = "center",
["bar_size"] = 12,
},
["Raid"] = {
["enabled"] = true,
["fallback_style"] = "class",
["bar_size"] = 12,
},
["Focus Target"] = {
["enabled"] = true,
["side"] = "right",
["bar_size"] = 12,
},
["Player"] = {
["enabled"] = true,
["side"] = "center",
["bar_size"] = 12,
},
},
},
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["bar_size"] = 12,
},
["Pet"] = {
["enabled"] = true,
["side"] = "center",
},
["Raid Large"] = {
["fallback_style"] = "class",
["bar_size"] = 12,
},
["Party"] = {
["enabled"] = true,
["fallback_style"] = "class",
["bar_size"] = 12,
},
["Focus"] = {
["bar_size"] = 12,
},
["Focus Target"] = {
["bar_size"] = 12,
},
["Target"] = {
["enabled"] = true,
["side"] = "center",
["bar_size"] = 10,
},
["Raid"] = {
["enabled"] = true,
["fallback_style"] = "hide",
["bar_size"] = 12,
},
["Player"] = {
["enabled"] = true,
["side"] = "center",
["bar_size"] = 10,
},
["Target's Target"] = {
["enabled"] = true,
["side"] = "center",
["bar_size"] = 12,
},
},
},
},
},
["ExperienceBar"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Party Targets"] = {
["enabled"] = false,
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["enabled"] = false,
},
["Player"] = {
["enabled"] = false,
},
["Focus"] = {
["enabled"] = false,
},
["Target"] = {
["enabled"] = false,
},
["Raid"] = {
["enabled"] = false,
},
["Party"] = {
["enabled"] = false,
},
["Focus Target"] = {
["enabled"] = false,
},
},
},
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["enabled"] = false,
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["enabled"] = false,
},
["Party"] = {
["enabled"] = false,
},
["Focus"] = {
["enabled"] = false,
},
["Focus Target"] = {
["enabled"] = false,
},
["Target"] = {
["enabled"] = false,
["position"] = 5,
},
["Raid"] = {
["enabled"] = false,
},
["Player"] = {
["enabled"] = false,
},
["Target's Target"] = {
["enabled"] = false,
},
},
},
},
},
["RaidTargetIcon"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Party Targets"] = {
["location"] = "edge_right",
},
["Pet"] = {
["location"] = "edge_right",
["size"] = 1.25,
},
["Raid Large"] = {
["location"] = "edge_right",
},
["Player"] = {
["location"] = "bottom_right",
["attach_to"] = "Portrait",
["position"] = 1.00001,
},
["Focus"] = {
["location"] = "top_right",
["attach_to"] = "Portrait",
["size"] = 0.8,
},
["Target"] = {
["location"] = "bottom_right",
["attach_to"] = "Portrait",
},
["Raid"] = {
["location"] = "edge_right",
},
["Party"] = {
["location"] = "edge_right",
},
["Focus Target"] = {
["enabled"] = false,
["location"] = "edge_right",
},
},
},
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["location"] = "edge_right",
},
["Pet"] = {
["enabled"] = false,
["location"] = "top_left",
["attach_to"] = "Portrait",
["size"] = 1.25,
},
["Raid Large"] = {
["location"] = "left",
["attach_to"] = "PowerBar",
},
["Party"] = {
["location"] = "edge_right",
},
["Focus"] = {
["enabled"] = false,
["location"] = "top_right",
["attach_to"] = "Portrait",
["size"] = 0.8,
},
["Focus Target"] = {
["enabled"] = false,
["location"] = "top_right",
["attach_to"] = "Portrait",
["size"] = 0.8,
},
["Target"] = {
["location"] = "bottom_right",
["attach_to"] = "Portrait",
},
["Raid"] = {
["location"] = "left",
["attach_to"] = "PowerBar",
},
["Player"] = {
["location"] = "bottom_right",
["attach_to"] = "Portrait",
},
["Target's Target"] = {
["location"] = "bottom_right",
["attach_to"] = "Portrait",
},
},
},
},
},
["Eclipse"] = {
},
["Chi"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Player"] = {
["location"] = "bottom_right",
["attach_to"] = "Portrait",
["background_color"] = {
nil, -- [1]
nil, -- [2]
nil, -- [3]
0, -- [4]
},
},
},
},
},
},
["LeaderIcon"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Normal"] = {
["position"] = 17,
},
["Party Targets"] = {
["enabled"] = false,
["location"] = "edge_top_right",
["position"] = 18,
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["location"] = "edge_top_right",
["position"] = 18,
["size"] = 0.5,
},
["Player"] = {
["location"] = "in_top_right",
["position"] = 18,
},
["Focus"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 18,
},
["Target"] = {
["location"] = "in_top_right",
["position"] = 18,
},
["Raid"] = {
["location"] = "edge_top_right",
["position"] = 18,
["size"] = 0.5,
},
["Party"] = {
["location"] = "edge_top_right",
["position"] = 18,
["size"] = 0.65,
},
["Focus Target"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 18,
},
},
},
["Standard"] = {
["layouts"] = {
["Normal"] = {
["position"] = 17,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 18,
["location"] = "edge_top_right",
},
["Pet"] = {
["enabled"] = false,
["position"] = 1.00001,
},
["Raid Large"] = {
["position"] = 18,
["location"] = "edge_top_right",
["size"] = 0.5,
},
["Player"] = {
["position"] = 18,
["location"] = "bottom_left",
["attach_to"] = "Portrait",
},
["Focus"] = {
["enabled"] = false,
["position"] = 18,
["location"] = "in_top_right",
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 18,
["location"] = "in_top_right",
},
["Target"] = {
["enabled"] = false,
["position"] = 18,
["location"] = "in_top_right",
},
["Raid"] = {
["position"] = 18,
["location"] = "bottom_right",
["attach_to"] = "Portrait",
["size"] = 0.5,
},
["Party"] = {
["position"] = 18,
["location"] = "edge_top_right",
["size"] = 0.65,
},
["Target's Target"] = {
["enabled"] = false,
["position"] = 18,
["location"] = "in_top_right",
},
},
},
},
},
["CastBar"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Party Targets"] = {
["enabled"] = false,
["show_icon"] = false,
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["enabled"] = false,
["show_icon"] = false,
},
["Player"] = {
["enabled"] = false,
},
["Focus"] = {
["show_icon"] = false,
["size"] = 2,
},
["Target"] = {
["enabled"] = false,
},
["Raid"] = {
["enabled"] = false,
["show_icon"] = false,
},
["Party"] = {
["show_icon"] = false,
},
["Focus Target"] = {
["enabled"] = false,
["show_icon"] = false,
["size"] = 2,
},
},
},
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["show_icon"] = false,
["enabled"] = false,
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["show_icon"] = false,
["enabled"] = false,
},
["Party"] = {
["show_icon"] = false,
},
["Focus"] = {
["show_icon"] = false,
["size"] = 2,
},
["Focus Target"] = {
["show_icon"] = false,
["size"] = 2,
},
["Target"] = {
["show_icon"] = false,
["side"] = "right",
["position"] = 3,
},
["Raid"] = {
["show_icon"] = false,
["enabled"] = false,
},
["Player"] = {
["enabled"] = false,
},
["Target's Target"] = {
["enabled"] = false,
},
},
},
},
},
["Sounds"] = {
},
["DruidManaBar"] = {
},
["Aura"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Party Targets"] = {
["enabled"] = false,
["layout"] = {
["buff"] = {
["size"] = 15,
},
},
["max_debuffs"] = 12,
["max_buffs"] = 12,
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["enabled"] = false,
["layout"] = {
["buff"] = {
["size"] = 15,
},
},
["max_debuffs"] = 12,
["max_buffs"] = 12,
},
["Player"] = {
["enabled"] = false,
},
["Focus Target"] = {
["cooldown_text"] = {
["my_buffs"] = true,
},
["max_debuffs"] = 12,
["max_buffs"] = 1,
["layout"] = {
["debuff"] = {
["width_percent"] = 1,
["my_size"] = 20,
["size"] = 20,
},
},
["enabled_buffs"] = false,
["texts"] = {
["my_buffs"] = {
["cooldown_text"] = {
["anchor"] = "CENTER",
},
},
},
},
["Target"] = {
["layout"] = {
["buff"] = {
["size"] = 15,
},
},
["max_debuffs"] = 12,
["max_buffs"] = 12,
},
["Raid"] = {
["enabled"] = false,
["layout"] = {
["buff"] = {
["size"] = 15,
},
},
["max_debuffs"] = 12,
["max_buffs"] = 12,
},
["Party"] = {
["enabled"] = false,
["layout"] = {
["buff"] = {
["size"] = 15,
},
},
["max_debuffs"] = 12,
["max_buffs"] = 12,
},
["Focus"] = {
["cooldown_text"] = {
["my_buffs"] = true,
},
["max_debuffs"] = 18,
["max_buffs"] = 1,
["layout"] = {
["buff"] = {
["filter"] = "!C",
},
["debuff"] = {
["anchor"] = "BOTTOMLEFT",
["my_size"] = 32,
["growth"] = "right_down",
["filter"] = "!E",
},
},
["enabled_buffs"] = false,
["texts"] = {
["my_buffs"] = {
["cooldown_text"] = {
["anchor"] = "BOTTOM",
["size"] = 2,
},
},
},
},
},
},
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["max_debuffs"] = 12,
["enabled"] = false,
["layout"] = {
["buff"] = {
["size"] = 15,
},
},
["max_buffs"] = 12,
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["max_debuffs"] = 12,
["enabled"] = false,
["layout"] = {
["buff"] = {
["size"] = 15,
},
},
["max_buffs"] = 12,
},
["Party"] = {
["max_debuffs"] = 12,
["enabled"] = false,
["layout"] = {
["buff"] = {
["size"] = 15,
},
},
["max_buffs"] = 12,
},
["Focus"] = {
["cooldown_text"] = {
["weapon_buffs"] = true,
["my_buffs"] = true,
["other_buffs"] = true,
["my_debuffs"] = true,
},
["max_debuffs"] = 18,
["layout"] = {
["buff"] = {
["my_size"] = 32,
["filter"] = "!C",
},
["debuff"] = {
["my_size"] = 32,
},
},
["max_buffs"] = 17,
["texts"] = {
["other_debuffs"] = {
["count"] = {
["size"] = 2,
},
},
["my_debuffs"] = {
["count"] = {
["size"] = 2,
},
},
["other_buffs"] = {
["count"] = {
["size"] = 2,
},
},
["my_buffs"] = {
["count"] = {
["size"] = 2,
},
["cooldown_text"] = {
["size"] = 3,
},
},
},
},
["Focus Target"] = {
["cooldown_text"] = {
["weapon_buffs"] = true,
["my_buffs"] = true,
["other_buffs"] = true,
["my_debuffs"] = true,
},
["enabled_weapons"] = false,
["max_debuffs"] = 18,
["max_buffs"] = 5,
["zoom_aura"] = true,
["layout"] = {
["debuff"] = {
["width_percent"] = 1,
["size_to_fit"] = false,
["my_size"] = 42,
["size"] = 42,
["width"] = 200,
["new_row_size"] = true,
["width_type"] = "fixed",
},
["buff"] = {
["my_size"] = 32,
["filter"] = "!C",
},
},
["enabled_buffs"] = false,
["cooldown"] = {
["weapon_buffs"] = false,
},
["texts"] = {
["other_debuffs"] = {
["count"] = {
["size"] = 2,
},
},
["my_debuffs"] = {
["count"] = {
["size"] = 2,
},
},
["other_buffs"] = {
["count"] = {
["size"] = 2,
},
["cooldown_text"] = {
["size"] = 2,
},
},
["my_buffs"] = {
["count"] = {
["size"] = 2,
},
["cooldown_text"] = {
["size"] = 3,
},
},
},
},
["Target"] = {
["layout"] = {
["debuff"] = {
["offset_y"] = -160,
["anchor"] = "TOPRIGHT",
["side"] = "RIGHT",
["growth"] = "right_up",
},
["buff"] = {
["anchor"] = "TOPRIGHT",
["side"] = "RIGHT",
},
},
},
["Raid"] = {
["max_debuffs"] = 12,
["enabled"] = false,
["layout"] = {
["buff"] = {
["size"] = 15,
},
},
["max_buffs"] = 12,
},
["Player"] = {
["enabled"] = false,
},
["Target's Target"] = {
["max_debuffs"] = 12,
["enabled"] = false,
["layout"] = {
["debuff"] = {
["offset_y"] = -50,
["anchor"] = "TOPRIGHT",
["side"] = "RIGHT",
["growth"] = "right_down",
["offset_x"] = 5,
},
["buff"] = {
["anchor"] = "TOPRIGHT",
["size"] = 15,
["side"] = "RIGHT",
["offset_x"] = 5,
},
},
["max_buffs"] = 12,
},
},
},
},
},
["ReputationBar"] = {
["profiles"] = {
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["enabled"] = false,
},
["Raid Large"] = {
["enabled"] = false,
},
["Party"] = {
["enabled"] = false,
},
["Focus Target"] = {
["enabled"] = false,
},
["Focus"] = {
["enabled"] = false,
},
["Target"] = {
["enabled"] = false,
},
["Raid"] = {
["enabled"] = false,
},
["Player"] = {
["enabled"] = false,
},
["Target's Target"] = {
["enabled"] = false,
},
},
["global"] = {
["enabled"] = false,
},
},
["Default"] = {
["layouts"] = {
["Raid Large"] = {
["enabled"] = false,
},
["Player"] = {
["enabled"] = false,
},
["Party Targets"] = {
["enabled"] = false,
},
["Focus"] = {
["enabled"] = false,
},
["Target"] = {
["enabled"] = false,
},
["Raid"] = {
["enabled"] = false,
},
["Party"] = {
["enabled"] = false,
},
["Focus Target"] = {
["enabled"] = false,
},
},
["global"] = {
["enabled"] = false,
},
},
},
},
["PvPIcon"] = {
["profiles"] = {
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["enabled"] = false,
["position"] = 15,
},
["Raid Large"] = {
["enabled"] = false,
["position"] = 15,
},
["Party"] = {
["enabled"] = false,
["position"] = 15,
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 15,
},
["Focus"] = {
["enabled"] = false,
["position"] = 15,
},
["Target"] = {
["enabled"] = false,
["position"] = 15,
},
["Raid"] = {
["enabled"] = false,
["position"] = 15,
},
["Player"] = {
["enabled"] = false,
["position"] = 15,
},
["Target's Target"] = {
["enabled"] = false,
["position"] = 15,
},
},
["global"] = {
["enabled"] = false,
},
},
["Default"] = {
["layouts"] = {
["Raid Large"] = {
["enabled"] = false,
["position"] = 15,
},
["Player"] = {
["enabled"] = false,
["position"] = 15,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 15,
},
["Focus"] = {
["enabled"] = false,
["position"] = 15,
},
["Target"] = {
["enabled"] = false,
["position"] = 15,
},
["Raid"] = {
["enabled"] = false,
["position"] = 15,
},
["Party"] = {
["enabled"] = false,
["position"] = 15,
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 15,
},
},
["global"] = {
["enabled"] = false,
},
},
},
},
["PowerBar"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Target"] = {
["size"] = 3,
},
["Focus Target"] = {
["size"] = 1,
},
["Focus"] = {
["size"] = 1,
},
},
},
["Standard"] = {
["layouts"] = {
["Player"] = {
["size"] = 1,
["side"] = "right",
["animated"] = true,
},
["Focus"] = {
["size"] = 1,
},
["Target"] = {
["size"] = 1,
["side"] = "left",
["animated"] = true,
["position"] = 4,
},
["Focus Target"] = {
["size"] = 1,
},
["Pet"] = {
["size"] = 1,
["side"] = "right",
},
["Target's Target"] = {
["size"] = 1,
["side"] = "right",
},
},
},
},
},
["HideBlizzard"] = {
},
["Runes"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Raid Large"] = {
["position"] = 14,
},
["Player"] = {
["position"] = 14,
},
["Party Targets"] = {
["position"] = 14,
},
["Focus"] = {
["position"] = 14,
},
["Target"] = {
["position"] = 14,
},
["Raid"] = {
["position"] = 14,
},
["Party"] = {
["position"] = 14,
},
["Focus Target"] = {
["position"] = 14,
},
},
["global"] = {
["enabled"] = false,
},
},
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["position"] = 14,
},
["Raid Large"] = {
["position"] = 14,
},
["Party"] = {
["position"] = 14,
},
["Focus Target"] = {
["position"] = 14,
},
["Focus"] = {
["position"] = 14,
},
["Target"] = {
["position"] = 14,
},
["Raid"] = {
["position"] = 14,
},
["Player"] = {
["position"] = 14,
},
["Target's Target"] = {
["position"] = 14,
},
},
["global"] = {
["enabled"] = false,
},
},
},
},
["CombatIcon"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Normal"] = {
["position"] = 14,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 17,
},
["Pet"] = {
["location"] = "in_bottom_left",
["position"] = 1.00001,
},
["Raid Large"] = {
["enabled"] = false,
["position"] = 17,
},
["Player"] = {
["location"] = "bottom_right",
["attach_to"] = "Portrait",
["position"] = 17,
},
["Focus"] = {
["enabled"] = false,
["position"] = 17,
},
["Target"] = {
["enabled"] = false,
["position"] = 17,
},
["Raid"] = {
["enabled"] = false,
["position"] = 17,
},
["Party"] = {
["enabled"] = false,
["position"] = 17,
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 17,
},
},
},
["Standard"] = {
["layouts"] = {
["Normal"] = {
["position"] = 14,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 17,
},
["Pet"] = {
["position"] = 1.00001,
["location"] = "top_left",
["attach_to"] = "Portrait",
},
["Raid Large"] = {
["enabled"] = false,
["position"] = 17,
},
["Player"] = {
["position"] = 17,
["location"] = "bottom_left",
["attach_to"] = "Portrait",
},
["Focus"] = {
["enabled"] = false,
["position"] = 17,
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 17,
},
["Target"] = {
["enabled"] = false,
["position"] = 17,
["location"] = "top_left",
["attach_to"] = "Portrait",
},
["Raid"] = {
["enabled"] = false,
["position"] = 17,
},
["Party"] = {
["enabled"] = false,
["position"] = 17,
},
["Target's Target"] = {
["enabled"] = false,
["position"] = 17,
},
},
},
},
},
["HealthBar"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Party Targets"] = {
["size"] = 4,
["position"] = 1.00001,
},
["Pet"] = {
["size"] = 5,
},
["Raid Large"] = {
["size"] = 7,
["position"] = 1.00001,
},
["Player"] = {
["size"] = 4,
["position"] = 1.00001,
},
["Focus"] = {
["size"] = 4,
["position"] = 1.00001,
},
["Target"] = {
["size"] = 4,
["position"] = 1.00001,
},
["Raid"] = {
["size"] = 7,
["position"] = 1.00001,
},
["Party"] = {
["size"] = 4,
["position"] = 1.00001,
},
["Focus Target"] = {
["size"] = 4,
["position"] = 1.00001,
},
},
},
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["size"] = 4,
["position"] = 1.00001,
},
["Pet"] = {
["animated"] = true,
["position"] = 1.00001,
},
["Raid Large"] = {
["size"] = 7,
["position"] = 1.00001,
},
["Party"] = {
["size"] = 4,
["position"] = 1.00001,
},
["Focus"] = {
["size"] = 4,
["position"] = 1.00001,
},
["Focus Target"] = {
["size"] = 4,
["position"] = 1.00001,
},
["Target"] = {
["animated"] = true,
["position"] = 2,
},
["Raid"] = {
["size"] = 7,
["position"] = 1.00001,
},
["Player"] = {
["animated"] = true,
["position"] = 1.00001,
},
["Target's Target"] = {
["size"] = 4,
["position"] = 1.00001,
},
},
},
},
},
["QuestIcon"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Normal"] = {
["position"] = 16,
},
["Player"] = {
["location"] = "bottom_left",
["attach_to"] = "Portrait",
},
},
},
["Standard"] = {
["layouts"] = {
["Normal"] = {
["position"] = 16,
},
["Pet"] = {
["enabled"] = false,
},
["Raid Large"] = {
["enabled"] = false,
},
["Player"] = {
["enabled"] = false,
["position"] = 1.00001,
["location"] = "bottom_left",
["attach_to"] = "Portrait",
},
["Focus"] = {
["enabled"] = false,
},
["Target"] = {
["enabled"] = false,
["position"] = 1.00001,
["location"] = "bottom_left",
["attach_to"] = "Portrait",
},
["Raid"] = {
["enabled"] = false,
},
["Focus Target"] = {
["enabled"] = false,
},
["Target's Target"] = {
["enabled"] = false,
},
},
},
},
},
["ManaSpark"] = {
},
["VoiceIcon"] = {
["profiles"] = {
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["enabled"] = false,
["position"] = 20,
},
["Raid Large"] = {
["enabled"] = false,
["position"] = 20,
},
["Party"] = {
["enabled"] = false,
["position"] = 20,
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 20,
},
["Focus"] = {
["enabled"] = false,
["position"] = 20,
},
["Target"] = {
["enabled"] = false,
["position"] = 20,
},
["Raid"] = {
["enabled"] = false,
["position"] = 20,
},
["Player"] = {
["enabled"] = false,
["position"] = 20,
},
["Target's Target"] = {
["enabled"] = false,
["position"] = 20,
},
},
["global"] = {
["enabled"] = false,
},
},
["Default"] = {
["layouts"] = {
["Raid Large"] = {
["enabled"] = false,
["position"] = 20,
},
["Player"] = {
["enabled"] = false,
["position"] = 20,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 20,
},
["Focus"] = {
["enabled"] = false,
["position"] = 20,
},
["Target"] = {
["enabled"] = false,
["position"] = 20,
},
["Raid"] = {
["enabled"] = false,
["position"] = 20,
},
["Party"] = {
["enabled"] = false,
["position"] = 20,
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 20,
},
},
["global"] = {
["enabled"] = false,
},
},
},
},
["VisualHeal"] = {
["profiles"] = {
["Default"] = {
["global"] = {
["enabled"] = false,
},
},
["Standard"] = {
["global"] = {
["enabled"] = false,
},
},
},
},
["CastBarLatency"] = {
},
["CombatFader"] = {
},
["BattlePet"] = {
["profiles"] = {
["Standard"] = {
["layouts"] = {
["Raid"] = {
["position"] = 1.00001,
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 1.00001,
},
},
},
},
},
["AltPowerBar"] = {
},
["BlankSpace"] = {
["profiles"] = {
["Standard"] = {
["layouts"] = {
["Normal"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
},
["Party Targets"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
},
["Pet"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
},
["Raid Large"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
},
["Player"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
},
["Focus"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
},
["Focus Target"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
},
["Target"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
["position"] = 6,
},
},
},
["Raid"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
},
["Party"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
},
["Target's Target"] = {
["first"] = false,
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
},
},
},
["Black Dragonflight"] = {
["layouts"] = {
["Normal"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
},
},
["Default"] = {
["layouts"] = {
["Normal"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
["Party Targets"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
["Pet"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
["Raid Large"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
["Player"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
["Focus"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
["Target"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
["Raid"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
["Party"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
["Focus Target"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
},
},
["Katalae - Black Dragonflight"] = {
["layouts"] = {
["Normal"] = {
["elements"] = {
["Default"] = {
["exists"] = true,
},
},
["first"] = false,
},
},
},
},
},
["ThreatBar"] = {
["profiles"] = {
["Standard"] = {
["layouts"] = {
["Party Targets"] = {
["enabled"] = false,
},
["Raid Large"] = {
["enabled"] = false,
},
["Party"] = {
["enabled"] = false,
},
["Focus Target"] = {
["enabled"] = false,
},
["Focus"] = {
["enabled"] = false,
},
["Target"] = {
["enabled"] = false,
},
["Raid"] = {
["enabled"] = false,
},
["Player"] = {
["enabled"] = false,
},
["Target's Target"] = {
["enabled"] = false,
},
},
["global"] = {
["enabled"] = false,
},
},
["Default"] = {
["layouts"] = {
["Raid Large"] = {
["enabled"] = false,
},
["Player"] = {
["enabled"] = false,
},
["Party Targets"] = {
["enabled"] = false,
},
["Focus"] = {
["enabled"] = false,
},
["Target"] = {
["enabled"] = false,
},
["Raid"] = {
["enabled"] = false,
},
["Party"] = {
["enabled"] = false,
},
["Focus Target"] = {
["enabled"] = false,
},
},
["global"] = {
["enabled"] = false,
},
},
},
},
["RestIcon"] = {
["profiles"] = {
["Default"] = {
["layouts"] = {
["Normal"] = {
["position"] = 13,
},
["Party Targets"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 19,
},
["Pet"] = {
["enabled"] = false,
["position"] = 1.00001,
},
["Raid Large"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 19,
},
["Player"] = {
["location"] = "in_top_right",
["position"] = 19,
},
["Focus"] = {
["location"] = "in_top_right",
["position"] = 19,
},
["Target"] = {
["location"] = "in_top_right",
["position"] = 19,
},
["Raid"] = {
["enabled"] = false,
["location"] = "in_top_right",
["position"] = 19,
},
["Party"] = {
["location"] = "in_top_right",
["position"] = 19,
},
["Focus Target"] = {
["location"] = "in_top_right",
["position"] = 19,
},
},
},
["Standard"] = {
["layouts"] = {
["Normal"] = {
["position"] = 13,
},
["Party Targets"] = {
["enabled"] = false,
["position"] = 19,
["location"] = "in_top_right",
},
["Pet"] = {
["enabled"] = false,
["position"] = 1.00001,
},
["Raid Large"] = {
["enabled"] = false,
["position"] = 19,
["location"] = "in_top_right",
},
["Player"] = {
["position"] = 19,
["location"] = "bottom_left",
["attach_to"] = "Portrait",
},
["Focus"] = {
["position"] = 19,
["location"] = "in_top_right",
},
["Focus Target"] = {
["enabled"] = false,
["position"] = 19,
["location"] = "in_top_right",
},
["Target"] = {
["position"] = 19,
["location"] = "in_top_right",
},
["Raid"] = {
["enabled"] = false,
["position"] = 19,
["location"] = "in_top_right",
},
["Party"] = {
["position"] = 19,
["location"] = "in_top_right",
},
["Target's Target"] = {
["enabled"] = false,
["position"] = 19,
["location"] = "in_top_right",
},
},
},
},
},
["Background"] = {
},
["LuaTexts"] = {
["profiles"] = {
["Standard"] = {
["layouts"] = {
["Normal"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["position"] = 11,
["location"] = "center",
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["position"] = 5,
["location"] = "left",
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["attach_to"] = "HealthBar",
},
["Lua:Threat"] = {
["exists"] = true,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["position"] = 4,
["location"] = "center",
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "ThreatBar",
},
["Lua:Experience"] = {
["exists"] = true,
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["position"] = 3,
["location"] = "center",
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["attach_to"] = "ExperienceBar",
},
["Lua:Druid mana"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
["position"] = 2,
["location"] = "center",
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["attach_to"] = "DruidManaBar",
},
["Lua:Cast time"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["position"] = 6,
["location"] = "right",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["position"] = 8,
["location"] = "right",
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nlocal cur, max = HP(unit), MaxHP(unit)\n\nreturn \"%s/%s || %s%%\",Short(cur,true),Short(max,true),Percent(cur,max)",
["attach_to"] = "HealthBar",
},
["Lua:PVPTimer"] = {
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 7,
["location"] = "out_right_top",
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["exists"] = true,
["events"] = {
["UNIT_LEVEL"] = true,
["UNIT_CLASSIFICATION_CHANGED"] = true,
["UNIT_AURA"] = true,
},
["position"] = 9,
["location"] = "left",
["code"] = "\nlocal dr,dg,db = DifficultyColor(unit)\n\nlocal form = DruidForm(unit)\n\nlocal classification = Classification(unit)\n\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n\n local cr,cg,cb = ClassColor(unit)\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),SmartRace(unit) or ''\n\n end\n\nelse\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),SmartRace(unit) or ''\n\n end\n\nend",
["attach_to"] = "PowerBar",
},
["Lua:Cast"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
["position"] = 10,
["location"] = "left",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Power"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_ENERGY"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["position"] = 12,
["location"] = "right",
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["attach_to"] = "PowerBar",
},
},
},
["Party Targets"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["position"] = 5,
["location"] = "center",
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["position"] = 4,
["location"] = "left",
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["attach_to"] = "HealthBar",
},
["Lua:Threat"] = {
["exists"] = true,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["position"] = 3,
["location"] = "center",
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "ThreatBar",
},
["Lua:Experience"] = {
["exists"] = true,
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["position"] = 16,
["location"] = "center",
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["attach_to"] = "ExperienceBar",
},
["Lua:Druid mana"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
["position"] = 11,
["location"] = "center",
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["attach_to"] = "DruidManaBar",
},
["Lua:Cast time"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["position"] = 8,
["location"] = "right",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_HEALTH"] = true,
["UNIT_MAXHEALTH"] = true,
},
["position"] = 7,
["location"] = "right",
["code"] = "\nreturn VeryShort(HP(unit))",
["attach_to"] = "HealthBar",
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
["location"] = "out_right_top",
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["enabled"] = false,
["position"] = 9,
["exists"] = true,
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["location"] = "out_top_right",
["size"] = 0.9,
},
["Lua:Cast"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
["position"] = 6,
["location"] = "left",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Power"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_ENERGY"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["position"] = 2,
["location"] = "right",
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["attach_to"] = "PowerBar",
},
},
},
["Pet"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["position"] = 1.00002,
["location"] = "top_left",
["code"] = "\nlocal r,g,b = ClassColor(unit)\n\nreturn '|cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))",
["attach_to"] = "Portrait",
},
["Lua:Threat"] = {
["exists"] = true,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["attach_to"] = "ThreatBar",
},
["Lua:Power"] = {
["exists"] = true,
["code"] = "return \"%s\",Power(unit)",
["location"] = "bottom",
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["attach_to"] = "PowerBar",
["size"] = 0.65,
},
["Lua:Cast"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["attach_to"] = "CastBar",
},
["Lua:Cast time"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["position"] = 1.00001,
["location"] = "left",
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nreturn \"%s/%s\",Short(HP(unit),true),Short(MaxHP(unit),true)",
["attach_to"] = "HealthBar",
["size"] = 0.7,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
},
["Lua:Class"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_LEVEL"] = true,
["UNIT_CLASSIFICATION_CHANGED"] = true,
["UNIT_AURA"] = true,
},
["code"] = "\nlocal dr,dg,db = DifficultyColor(unit)\n\nlocal form = DruidForm(unit)\n\nlocal classification = Classification(unit)\n\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n\n local cr,cg,cb = ClassColor(unit)\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),SmartRace(unit) or ''\n\n end\n\nelse\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),SmartRace(unit) or ''\n\n end\n\nend",
["location"] = "left",
["attach_to"] = "PowerBar",
},
["Lua:Druid mana"] = {
["exists"] = true,
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["attach_to"] = "DruidManaBar",
},
["Lua:Experience"] = {
["exists"] = true,
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["attach_to"] = "ExperienceBar",
},
},
},
["Raid Large"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["position"] = 5,
["location"] = "center",
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["position"] = 4,
["location"] = "left",
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["attach_to"] = "HealthBar",
},
["Lua:Threat"] = {
["exists"] = true,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["position"] = 3,
["location"] = "center",
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "ThreatBar",
},
["Lua:Experience"] = {
["exists"] = true,
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["position"] = 16,
["location"] = "center",
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["attach_to"] = "ExperienceBar",
},
["Lua:Druid mana"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
["position"] = 11,
["location"] = "center",
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["attach_to"] = "DruidManaBar",
},
["Lua:Cast"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
["position"] = 6,
["location"] = "left",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_HEALTH"] = true,
["UNIT_MAXHEALTH"] = true,
},
["position"] = 7,
["location"] = "right",
["code"] = "\nreturn VeryShort(HP(unit))",
["attach_to"] = "HealthBar",
["size"] = 0.8,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
["location"] = "out_right_top",
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["enabled"] = false,
["position"] = 9,
["exists"] = true,
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["location"] = "out_top_right",
["size"] = 0.9,
},
["Lua:Cast time"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["position"] = 8,
["location"] = "right",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Power"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["position"] = 2,
["location"] = "right",
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return VeryShort(Power(unit))\n\nend",
["attach_to"] = "PowerBar",
},
},
},
["Player"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["position"] = 5,
["location"] = "center",
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["code"] = "\nlocal r,g,b = ClassColor(unit)\n\nreturn '|cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(DND(unit))",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["position"] = 4,
["location"] = "top_left",
["exists"] = true,
["attach_to"] = "Portrait",
["size"] = 1.25,
},
["Lua:Threat"] = {
["exists"] = true,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["position"] = 3,
["location"] = "center",
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "ThreatBar",
},
["Lua:Experience"] = {
["exists"] = true,
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["position"] = 16,
["location"] = "center",
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["attach_to"] = "ExperienceBar",
},
["Lua:Druid mana"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
["position"] = 11,
["location"] = "center",
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["attach_to"] = "DruidManaBar",
},
["Lua:Cast"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
["position"] = 6,
["location"] = "left",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_HEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_MAXHEALTH"] = true,
},
["position"] = 7,
["location"] = "left",
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nreturn \"%s/%s\",Short(HP(unit),true),Short(MaxHP(unit),true)",
["attach_to"] = "HealthBar",
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
["location"] = "out_right_top",
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["enabled"] = false,
["exists"] = true,
["position"] = 9,
["location"] = "bottom_left",
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["attach_to"] = "Portrait",
["size"] = 0.9,
},
["Lua:Cast time"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["position"] = 8,
["location"] = "right",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Power"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_ENERGY"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["position"] = 2,
["location"] = "bottom",
["code"] = "return \"%s\",Power(unit)\n",
["attach_to"] = "PowerBar",
},
},
},
["Focus"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["position"] = 5,
["location"] = "center",
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["position"] = 4,
["location"] = "in_top_right",
["code"] = "\nlocal r,g,b = ClassColor(unit)\n\nreturn ' |cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))",
["size"] = 1.25,
},
["Lua:Threat"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["position"] = 3,
["location"] = "left",
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "PowerBar",
},
["Lua:Experience"] = {
["exists"] = true,
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["position"] = 16,
["location"] = "center",
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["attach_to"] = "ExperienceBar",
},
["Lua:Druid mana"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
["position"] = 11,
["location"] = "center",
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["attach_to"] = "DruidManaBar",
},
["Lua:Cast"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
["position"] = 6,
["location"] = "left",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["position"] = 7,
["location"] = "left",
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nlocal cur, max = HP(unit), MaxHP(unit)\n\nreturn \"%s (%s%%)\",Short(cur,true),Percent(cur,max)",
["attach_to"] = "HealthBar",
["size"] = 1.25,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
["location"] = "out_right_top",
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["enabled"] = false,
["position"] = 9,
["exists"] = true,
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["location"] = "out_left",
["size"] = 0.9,
},
["Lua:Cast time"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["position"] = 8,
["location"] = "right",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Power"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_ENERGY"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["position"] = 2,
["location"] = "right",
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["attach_to"] = "PowerBar",
["size"] = 0.9,
},
},
},
["Focus Target"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["position"] = 5,
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["exists"] = true,
["position"] = 4,
["location"] = "in_top_right",
["code"] = "\nlocal r,g,b = ClassColor(unit)\n\nreturn ' |cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))",
["size"] = 1.25,
},
["Lua:Threat"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["position"] = 3,
["attach_to"] = "PowerBar",
},
["Lua:Power"] = {
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["exists"] = true,
["position"] = 2,
["location"] = "right",
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["attach_to"] = "PowerBar",
["size"] = 0.9,
},
["Lua:Cast time"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["position"] = 8,
["attach_to"] = "CastBar",
},
["Lua:Cast"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["position"] = 6,
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["exists"] = true,
["position"] = 7,
["location"] = "left",
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nlocal cur, max = HP(unit), MaxHP(unit)\n\nreturn \"%s (%s%%)\",Short(cur,true),Percent(cur,max)",
["attach_to"] = "HealthBar",
["size"] = 1.25,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
["position"] = 10,
},
["Lua:Class"] = {
["enabled"] = false,
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["exists"] = true,
["position"] = 9,
["location"] = "out_left",
["size"] = 0.9,
},
["Lua:Druid mana"] = {
["exists"] = true,
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["position"] = 11,
["attach_to"] = "DruidManaBar",
},
["Lua:Experience"] = {
["exists"] = true,
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["position"] = 16,
["attach_to"] = "ExperienceBar",
},
},
},
["Target"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["exists"] = true,
["position"] = 5,
["location"] = "center",
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["position"] = 4,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["code"] = "\nlocal r,g,b = ClassColor(unit)\n\nreturn '|cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "top_left",
["exists"] = true,
["attach_to"] = "Portrait",
},
["Lua:Threat"] = {
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["exists"] = true,
["position"] = 3,
["location"] = "center",
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "ThreatBar",
},
["Lua:Power"] = {
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["exists"] = true,
["position"] = 2,
["location"] = "bottom",
["code"] = "return \"%s\",Power(unit)\n",
["attach_to"] = "PowerBar",
},
["Lua:Cast time"] = {
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["exists"] = true,
["position"] = 8,
["location"] = "center",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Cast"] = {
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["exists"] = true,
["position"] = 6,
["location"] = "center",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_HEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_MAXHEALTH"] = true,
},
["code"] = "local s = Status(unit)\nif s then\n return s\nend\nlocal cur, max = HP(unit), MaxHP(unit)\nreturn \"%s (%s%%)\",Short(cur,true),Percent(cur,max)",
["location"] = "left",
["position"] = 7,
["attach_to"] = "HealthBar",
["size"] = 0.75,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["exists"] = true,
["position"] = 10,
["location"] = "out_right_top",
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["enabled"] = false,
["exists"] = true,
["position"] = 9,
["location"] = "bottom_left",
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["attach_to"] = "Portrait",
["size"] = 0.9,
},
["Lua:Druid mana"] = {
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["exists"] = true,
["position"] = 11,
["location"] = "center",
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["attach_to"] = "DruidManaBar",
},
["Lua:Experience"] = {
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["exists"] = true,
["position"] = 16,
["location"] = "center",
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["attach_to"] = "ExperienceBar",
},
},
},
["Raid"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["position"] = 5,
["location"] = "center",
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["position"] = 4,
["location"] = "left",
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["attach_to"] = "HealthBar",
},
["Lua:Threat"] = {
["exists"] = true,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["position"] = 3,
["location"] = "center",
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "ThreatBar",
},
["Lua:Power"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_ENERGY"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["position"] = 2,
["location"] = "right",
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return VeryShort(Power(unit))\n\nend",
["attach_to"] = "PowerBar",
},
["Lua:Cast"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["position"] = 6,
["location"] = "left",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Cast time"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["position"] = 8,
["location"] = "right",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_HEALTH"] = true,
},
["position"] = 7,
["location"] = "right",
["code"] = "\nreturn VeryShort(HP(unit))",
["attach_to"] = "HealthBar",
["size"] = 0.8,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
["location"] = "out_right_top",
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["enabled"] = false,
["position"] = 9,
["exists"] = true,
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["location"] = "out_top_right",
["size"] = 0.9,
},
["Lua:Druid mana"] = {
["exists"] = true,
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["position"] = 11,
["location"] = "center",
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["attach_to"] = "DruidManaBar",
},
["Lua:Experience"] = {
["exists"] = true,
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["position"] = 16,
["location"] = "center",
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["attach_to"] = "ExperienceBar",
},
},
},
["Party"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["position"] = 5,
["location"] = "center",
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["position"] = 4,
["location"] = "left",
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["attach_to"] = "HealthBar",
["size"] = 1.2,
},
["Lua:Threat"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["position"] = 3,
["location"] = "center",
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "ThreatBar",
},
["Lua:Power"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_ENERGY"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["position"] = 2,
["location"] = "right",
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return VeryShort(Power(unit))\n\nend",
["attach_to"] = "PowerBar",
},
["Lua:Cast time"] = {
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["position"] = 8,
["location"] = "right",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Cast"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["position"] = 6,
["location"] = "left",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_HEALTH"] = true,
["UNIT_MAXHEALTH"] = true,
},
["position"] = 7,
["location"] = "right",
["code"] = "\nreturn VeryShort(HP(unit))",
["attach_to"] = "HealthBar",
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
["location"] = "out_right_top",
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["enabled"] = false,
["position"] = 9,
["exists"] = true,
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["location"] = "out_top_right",
["size"] = 0.9,
},
["Lua:Druid mana"] = {
["exists"] = true,
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["position"] = 11,
["location"] = "center",
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["attach_to"] = "DruidManaBar",
},
["Lua:Experience"] = {
["exists"] = true,
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["position"] = 16,
["location"] = "center",
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["attach_to"] = "ExperienceBar",
},
},
},
["Target's Target"] = {
["first"] = false,
["elements"] = {
["Lua:Reputation"] = {
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["exists"] = true,
["position"] = 5,
["location"] = "center",
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["attach_to"] = "ReputationBar",
},
["Lua:Name"] = {
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["exists"] = true,
["position"] = 4,
["location"] = "in_top_left",
["code"] = "\nlocal r,g,b = ClassColor(unit)\n\nreturn '|cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))",
["size"] = 1.25,
},
["Lua:Threat"] = {
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["exists"] = true,
["position"] = 3,
["location"] = "center",
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "ThreatBar",
},
["Lua:Power"] = {
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["exists"] = true,
["position"] = 2,
["location"] = "bottom",
["code"] = "return \"%s\",Power(unit)",
["attach_to"] = "PowerBar",
},
["Lua:Cast time"] = {
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["exists"] = true,
["position"] = 8,
["location"] = "right",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Cast"] = {
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["exists"] = true,
["position"] = 6,
["location"] = "left",
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["attach_to"] = "CastBar",
},
["Lua:Health"] = {
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["exists"] = true,
["position"] = 7,
["location"] = "right",
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nreturn \"%s/%s\",Short(HP(unit),true),Short(MaxHP(unit),true)",
["attach_to"] = "HealthBar",
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["exists"] = true,
["position"] = 10,
["location"] = "out_right_top",
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["enabled"] = false,
["events"] = {
["UNIT_LEVEL"] = true,
["UNIT_CLASSIFICATION_CHANGED"] = true,
["UNIT_AURA"] = true,
},
["exists"] = true,
["position"] = 9,
["location"] = "bottom_left",
["code"] = "\nlocal dr,dg,db = DifficultyColor(unit)\n\nlocal form = DruidForm(unit)\n\nlocal classification = Classification(unit)\n\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n\n local cr,cg,cb = ClassColor(unit)\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),SmartRace(unit) or ''\n\n end\n\nelse\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),SmartRace(unit) or ''\n\n end\n\nend",
["attach_to"] = "Portrait",
["size"] = 0.9,
},
["Lua:Druid mana"] = {
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["exists"] = true,
["position"] = 11,
["location"] = "center",
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["attach_to"] = "DruidManaBar",
},
["Lua:Experience"] = {
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["exists"] = true,
["position"] = 16,
["location"] = "center",
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["attach_to"] = "ExperienceBar",
},
},
},
},
},
["Black Dragonflight"] = {
["layouts"] = {
["Normal"] = {
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["attach_to"] = "ReputationBar",
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
},
["Lua:Name"] = {
["exists"] = true,
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "left",
["attach_to"] = "HealthBar",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
},
["Lua:Threat"] = {
["exists"] = true,
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["attach_to"] = "ThreatBar",
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
},
["Lua:Experience"] = {
["exists"] = true,
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["attach_to"] = "ExperienceBar",
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
},
["Lua:Druid mana"] = {
["exists"] = true,
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["attach_to"] = "DruidManaBar",
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
},
["Lua:Cast"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["attach_to"] = "CastBar",
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
},
["Lua:Health"] = {
["exists"] = true,
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nlocal cur, max = HP(unit), MaxHP(unit)\n\nreturn \"%s/%s || %s%%\",Short(cur,true),Short(max,true),Percent(cur,max)",
["location"] = "right",
["attach_to"] = "HealthBar",
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
},
["Lua:PVPTimer"] = {
["location"] = "out_right_top",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["exists"] = true,
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["exists"] = true,
["code"] = "\nlocal dr,dg,db = DifficultyColor(unit)\n\nlocal form = DruidForm(unit)\n\nlocal classification = Classification(unit)\n\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n\n local cr,cg,cb = ClassColor(unit)\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),SmartRace(unit) or ''\n\n end\n\nelse\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),SmartRace(unit) or ''\n\n end\n\nend",
["location"] = "left",
["attach_to"] = "PowerBar",
["events"] = {
["UNIT_LEVEL"] = true,
["UNIT_CLASSIFICATION_CHANGED"] = true,
["UNIT_AURA"] = true,
},
},
["Lua:Cast time"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["attach_to"] = "CastBar",
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
},
["Lua:Power"] = {
["exists"] = true,
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["location"] = "right",
["attach_to"] = "PowerBar",
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
},
},
["first"] = false,
},
},
},
["Default"] = {
["layouts"] = {
["Normal"] = {
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["attach_to"] = "ReputationBar",
["position"] = 11,
},
["Lua:Name"] = {
["exists"] = true,
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "left",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["attach_to"] = "HealthBar",
["position"] = 5,
},
["Lua:Threat"] = {
["exists"] = true,
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["attach_to"] = "ThreatBar",
["position"] = 4,
},
["Lua:Power"] = {
["exists"] = true,
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["location"] = "right",
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["attach_to"] = "PowerBar",
["position"] = 12,
},
["Lua:Cast time"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 6,
},
["Lua:Cast"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 10,
},
["Lua:Health"] = {
["exists"] = true,
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nlocal cur, max = HP(unit), MaxHP(unit)\n\nreturn \"%s/%s || %s%%\",Short(cur,true),Short(max,true),Percent(cur,max)",
["location"] = "right",
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["attach_to"] = "HealthBar",
["position"] = 8,
},
["Lua:PVPTimer"] = {
["exists"] = true,
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 7,
},
["Lua:Class"] = {
["exists"] = true,
["code"] = "\nlocal dr,dg,db = DifficultyColor(unit)\n\nlocal form = DruidForm(unit)\n\nlocal classification = Classification(unit)\n\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n\n local cr,cg,cb = ClassColor(unit)\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),SmartRace(unit) or ''\n\n end\n\nelse\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),SmartRace(unit) or ''\n\n end\n\nend",
["location"] = "left",
["events"] = {
["UNIT_LEVEL"] = true,
["UNIT_CLASSIFICATION_CHANGED"] = true,
["UNIT_AURA"] = true,
},
["attach_to"] = "PowerBar",
["position"] = 9,
},
["Lua:Druid mana"] = {
["exists"] = true,
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["attach_to"] = "DruidManaBar",
["position"] = 2,
},
["Lua:Experience"] = {
["exists"] = true,
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["attach_to"] = "ExperienceBar",
["position"] = 3,
},
},
["first"] = false,
},
["Party Targets"] = {
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["attach_to"] = "ReputationBar",
["position"] = 5,
},
["Lua:Name"] = {
["exists"] = true,
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "left",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["attach_to"] = "HealthBar",
["position"] = 4,
},
["Lua:Threat"] = {
["exists"] = true,
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["attach_to"] = "ThreatBar",
["position"] = 3,
},
["Lua:Power"] = {
["exists"] = true,
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["location"] = "right",
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["attach_to"] = "PowerBar",
["position"] = 2,
},
["Lua:Cast time"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 8,
},
["Lua:Cast"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 6,
},
["Lua:Health"] = {
["exists"] = true,
["code"] = "\nreturn VeryShort(HP(unit))",
["location"] = "right",
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_HEALTH"] = true,
},
["attach_to"] = "HealthBar",
["position"] = 7,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
},
["Lua:Class"] = {
["enabled"] = false,
["exists"] = true,
["position"] = 9,
["location"] = "out_top_right",
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["size"] = 0.9,
},
["Lua:Druid mana"] = {
["exists"] = true,
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["attach_to"] = "DruidManaBar",
["position"] = 11,
},
["Lua:Experience"] = {
["exists"] = true,
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["attach_to"] = "ExperienceBar",
["position"] = 16,
},
},
["first"] = false,
},
["Pet"] = {
["elements"] = {
["Lua:Reputation"] = {
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["attach_to"] = "ReputationBar",
["exists"] = true,
},
["Lua:Name"] = {
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["exists"] = true,
["position"] = 1.00001,
["location"] = "left",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["attach_to"] = "HealthBar",
["size"] = 0.75,
},
["Lua:Threat"] = {
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["attach_to"] = "ThreatBar",
["exists"] = true,
},
["Lua:Experience"] = {
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["attach_to"] = "ExperienceBar",
["exists"] = true,
},
["Lua:Druid mana"] = {
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["attach_to"] = "DruidManaBar",
["exists"] = true,
},
["Lua:Cast time"] = {
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["attach_to"] = "CastBar",
["exists"] = true,
},
["Lua:Health"] = {
["exists"] = true,
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nreturn \"%s/%s\",Short(HP(unit),true),Short(MaxHP(unit),true)",
["location"] = "in_top_right",
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["position"] = 1.00001,
["size"] = 0.7,
},
["Lua:PVPTimer"] = {
["location"] = "out_right_top",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["exists"] = true,
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["enabled"] = false,
["events"] = {
["UNIT_LEVEL"] = true,
["UNIT_CLASSIFICATION_CHANGED"] = true,
["UNIT_AURA"] = true,
},
["code"] = "\nlocal dr,dg,db = DifficultyColor(unit)\n\nlocal form = DruidForm(unit)\n\nlocal classification = Classification(unit)\n\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n\n local cr,cg,cb = ClassColor(unit)\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),SmartRace(unit) or ''\n\n end\n\nelse\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),SmartRace(unit) or ''\n\n end\n\nend",
["location"] = "left",
["attach_to"] = "PowerBar",
["exists"] = true,
},
["Lua:Cast"] = {
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["attach_to"] = "CastBar",
["exists"] = true,
},
["Lua:Power"] = {
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_ENERGY"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["location"] = "right",
["exists"] = true,
["attach_to"] = "PowerBar",
["size"] = 0.65,
},
},
["first"] = false,
},
["Raid Large"] = {
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["attach_to"] = "ReputationBar",
["position"] = 5,
},
["Lua:Name"] = {
["exists"] = true,
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "left",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["attach_to"] = "HealthBar",
["position"] = 4,
},
["Lua:Threat"] = {
["exists"] = true,
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["attach_to"] = "ThreatBar",
["position"] = 3,
},
["Lua:Power"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return VeryShort(Power(unit))\n\nend",
["location"] = "right",
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_ENERGY"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["attach_to"] = "PowerBar",
["position"] = 2,
},
["Lua:Cast"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 6,
},
["Lua:Cast time"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 8,
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_HEALTH"] = true,
},
["code"] = "\nreturn VeryShort(HP(unit))",
["location"] = "right",
["position"] = 7,
["attach_to"] = "HealthBar",
["size"] = 0.8,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
},
["Lua:Class"] = {
["enabled"] = false,
["exists"] = true,
["position"] = 9,
["location"] = "out_top_right",
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["size"] = 0.9,
},
["Lua:Druid mana"] = {
["exists"] = true,
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["attach_to"] = "DruidManaBar",
["position"] = 11,
},
["Lua:Experience"] = {
["exists"] = true,
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["attach_to"] = "ExperienceBar",
["position"] = 16,
},
},
["first"] = false,
},
["Player"] = {
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["attach_to"] = "ReputationBar",
["position"] = 5,
},
["Lua:Name"] = {
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["code"] = "\nlocal r,g,b = ClassColor(unit)\n\nreturn '|cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "top_left",
["position"] = 4,
["attach_to"] = "Portrait",
["size"] = 1.5,
},
["Lua:Threat"] = {
["exists"] = true,
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["attach_to"] = "ThreatBar",
["position"] = 3,
},
["Lua:Power"] = {
["exists"] = true,
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["location"] = "right",
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["attach_to"] = "PowerBar",
["position"] = 2,
},
["Lua:Cast"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 6,
},
["Lua:Cast time"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 8,
},
["Lua:Health"] = {
["exists"] = true,
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nreturn \"%s/%s\",Short(HP(unit),true),Short(MaxHP(unit),true)",
["location"] = "right",
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["attach_to"] = "HealthBar",
["position"] = 7,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
},
["Lua:Class"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["location"] = "bottom_left",
["position"] = 9,
["attach_to"] = "Portrait",
["size"] = 0.9,
},
["Lua:Druid mana"] = {
["exists"] = true,
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["attach_to"] = "DruidManaBar",
["position"] = 11,
},
["Lua:Experience"] = {
["exists"] = true,
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["attach_to"] = "ExperienceBar",
["position"] = 16,
},
},
["first"] = false,
},
["Focus"] = {
["elements"] = {
["Lua:Reputation"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["attach_to"] = "ReputationBar",
["position"] = 5,
},
["Lua:Name"] = {
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["code"] = "\nlocal r,g,b = ClassColor(unit)\n\nreturn ' |cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "out_top_left",
["exists"] = true,
["position"] = 4,
["size"] = 1.75,
},
["Lua:Threat"] = {
["exists"] = true,
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["attach_to"] = "PowerBar",
["position"] = 3,
},
["Lua:Power"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["location"] = "right",
["position"] = 2,
["attach_to"] = "PowerBar",
["size"] = 0.9,
},
["Lua:Cast"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 6,
},
["Lua:Cast time"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 8,
},
["Lua:Health"] = {
["exists"] = true,
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nlocal cur, max = HP(unit), MaxHP(unit)\n\nreturn \"%s (%s%%)\",Short(cur,true),Percent(cur,max)",
["location"] = "left",
["position"] = 7,
["attach_to"] = "HealthBar",
["size"] = 1.25,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
},
["Lua:Class"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["location"] = "out_left",
["position"] = 9,
["size"] = 0.9,
},
["Lua:Druid mana"] = {
["exists"] = true,
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["attach_to"] = "DruidManaBar",
["position"] = 11,
},
["Lua:Experience"] = {
["exists"] = true,
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["attach_to"] = "ExperienceBar",
["position"] = 16,
},
},
["first"] = false,
},
["Target"] = {
["elements"] = {
["Lua:Reputation"] = {
["exists"] = true,
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["attach_to"] = "ReputationBar",
["position"] = 5,
},
["Lua:Name"] = {
["exists"] = true,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["code"] = "\nlocal r,g,b = ClassColor(unit)\n\nreturn '|cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "top_left",
["position"] = 4,
["attach_to"] = "Portrait",
["size"] = 1.25,
},
["Lua:Threat"] = {
["exists"] = true,
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["attach_to"] = "ThreatBar",
["position"] = 3,
},
["Lua:Power"] = {
["exists"] = true,
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["location"] = "right",
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["attach_to"] = "PowerBar",
["position"] = 2,
},
["Lua:Cast"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 6,
},
["Lua:Cast time"] = {
["exists"] = true,
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["attach_to"] = "CastBar",
["position"] = 8,
},
["Lua:Health"] = {
["exists"] = true,
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nreturn \"%s/%s\",Short(HP(unit),true),Short(MaxHP(unit),true)",
["location"] = "right",
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["attach_to"] = "HealthBar",
["position"] = 7,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["position"] = 10,
},
["Lua:Class"] = {
["exists"] = true,
["events"] = {
["UNIT_LEVEL"] = true,
["UNIT_CLASSIFICATION_CHANGED"] = true,
["UNIT_AURA"] = true,
},
["code"] = "\nlocal dr,dg,db = DifficultyColor(unit)\n\nlocal form = DruidForm(unit)\n\nlocal classification = Classification(unit)\n\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n\n local cr,cg,cb = ClassColor(unit)\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),SmartRace(unit) or ''\n\n end\n\nelse\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),SmartRace(unit) or ''\n\n end\n\nend",
["location"] = "bottom_left",
["position"] = 9,
["attach_to"] = "Portrait",
["size"] = 0.9,
},
["Lua:Druid mana"] = {
["exists"] = true,
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_MANA"] = true,
["UNIT_MAXMANA"] = true,
},
["attach_to"] = "DruidManaBar",
["position"] = 11,
},
["Lua:Experience"] = {
["exists"] = true,
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["attach_to"] = "ExperienceBar",
["position"] = 16,
},
},
["first"] = false,
},
["Raid"] = {
["elements"] = {
["Lua:Reputation"] = {
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["exists"] = true,
["attach_to"] = "ReputationBar",
["position"] = 5,
},
["Lua:Name"] = {
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "left",
["exists"] = true,
["attach_to"] = "HealthBar",
["position"] = 4,
},
["Lua:Threat"] = {
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["exists"] = true,
["attach_to"] = "ThreatBar",
["position"] = 3,
},
["Lua:Experience"] = {
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["exists"] = true,
["attach_to"] = "ExperienceBar",
["position"] = 16,
},
["Lua:Druid mana"] = {
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["exists"] = true,
["attach_to"] = "DruidManaBar",
["position"] = 11,
},
["Lua:Cast time"] = {
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["exists"] = true,
["attach_to"] = "CastBar",
["position"] = 8,
},
["Lua:Health"] = {
["events"] = {
["UNIT_HEALTH"] = true,
["UNIT_MAXHEALTH"] = true,
},
["exists"] = true,
["code"] = "\nreturn VeryShort(HP(unit))",
["location"] = "right",
["position"] = 7,
["attach_to"] = "HealthBar",
["size"] = 0.8,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
["exists"] = true,
["position"] = 10,
},
["Lua:Class"] = {
["enabled"] = false,
["exists"] = true,
["position"] = 9,
["location"] = "out_top_right",
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["size"] = 0.9,
},
["Lua:Cast"] = {
["enabled"] = false,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["exists"] = true,
["attach_to"] = "CastBar",
["position"] = 6,
},
["Lua:Power"] = {
["enabled"] = false,
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return VeryShort(Power(unit))\n\nend",
["location"] = "right",
["exists"] = true,
["attach_to"] = "PowerBar",
["position"] = 2,
},
},
["first"] = false,
},
["Party"] = {
["elements"] = {
["Lua:Reputation"] = {
["enabled"] = false,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["exists"] = true,
["attach_to"] = "ReputationBar",
["position"] = 5,
},
["Lua:Name"] = {
["position"] = 4,
["exists"] = true,
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "left",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["attach_to"] = "HealthBar",
["size"] = 1.2,
},
["Lua:Threat"] = {
["enabled"] = false,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["exists"] = true,
["attach_to"] = "ThreatBar",
["position"] = 3,
},
["Lua:Experience"] = {
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["exists"] = true,
["attach_to"] = "ExperienceBar",
["position"] = 16,
},
["Lua:Druid mana"] = {
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["exists"] = true,
["attach_to"] = "DruidManaBar",
["position"] = 11,
},
["Lua:Cast"] = {
["enabled"] = false,
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["exists"] = true,
["attach_to"] = "CastBar",
["position"] = 6,
},
["Lua:Health"] = {
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_HEALTH"] = true,
},
["code"] = "\nreturn VeryShort(HP(unit))",
["location"] = "right",
["exists"] = true,
["attach_to"] = "HealthBar",
["position"] = 7,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
["exists"] = true,
["position"] = 10,
},
["Lua:Class"] = {
["enabled"] = false,
["exists"] = true,
["position"] = 9,
["location"] = "out_top_right",
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["size"] = 0.9,
},
["Lua:Cast time"] = {
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["exists"] = true,
["attach_to"] = "CastBar",
["position"] = 8,
},
["Lua:Power"] = {
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return VeryShort(Power(unit))\n\nend",
["location"] = "right",
["exists"] = true,
["attach_to"] = "PowerBar",
["position"] = 2,
},
},
["first"] = false,
},
["Focus Target"] = {
["elements"] = {
["Lua:Reputation"] = {
["enabled"] = false,
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["exists"] = true,
["attach_to"] = "ReputationBar",
["position"] = 5,
},
["Lua:Name"] = {
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["code"] = "\nlocal r,g,b = ClassColor(unit)\n\nreturn '|cff%02x%02x%02x%s|r %s%s%s',r,g,b,Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "out_top_right",
["exists"] = true,
["position"] = 4,
["size"] = 1.75,
},
["Lua:Threat"] = {
["enabled"] = false,
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["exists"] = true,
["attach_to"] = "PowerBar",
["position"] = 3,
},
["Lua:Experience"] = {
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["exists"] = true,
["attach_to"] = "ExperienceBar",
["position"] = 16,
},
["Lua:Druid mana"] = {
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["exists"] = true,
["attach_to"] = "DruidManaBar",
["position"] = 11,
},
["Lua:Cast"] = {
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["exists"] = true,
["attach_to"] = "CastBar",
["position"] = 6,
},
["Lua:Health"] = {
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["exists"] = true,
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nreturn \"%s/%s\",Short(HP(unit),true),Short(MaxHP(unit),true)",
["location"] = "right",
["position"] = 7,
["attach_to"] = "HealthBar",
["size"] = 1.25,
},
["Lua:PVPTimer"] = {
["enabled"] = false,
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
["location"] = "out_right_top",
["exists"] = true,
["position"] = 10,
},
["Lua:Class"] = {
["enabled"] = false,
["exists"] = true,
["code"] = "\nif UnitIsPlayer(unit) then\n\n local cr,cg,cb = ClassColor(unit)\n\n return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Class(unit)\n\nend",
["location"] = "bottom_left",
["position"] = 9,
["attach_to"] = "Portrait",
["size"] = 0.9,
},
["Lua:Cast time"] = {
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["exists"] = true,
["attach_to"] = "CastBar",
["position"] = 8,
},
["Lua:Power"] = {
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_ENERGY"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["location"] = "right",
["exists"] = true,
["attach_to"] = "PowerBar",
["position"] = 2,
},
},
["first"] = false,
},
},
},
["Katalae - Black Dragonflight"] = {
["layouts"] = {
["Normal"] = {
["elements"] = {
["Lua:Reputation"] = {
["events"] = {
["UNIT_FACTION"] = true,
["UPDATE_FACTION"] = true,
},
["code"] = "\nlocal name,_,min,max,value = GetWatchedFactionInfo()\n\nif IsMouseOver() then\n\n return name or ConfigMode() \n\nelse\n\n local bar_cur,bar_max = value-min,max-min\n\n return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\n\nend",
["location"] = "center",
["attach_to"] = "ReputationBar",
["exists"] = true,
},
["Lua:Name"] = {
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
["UNIT_NAME_UPDATE"] = true,
},
["code"] = "\nreturn '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
["location"] = "left",
["attach_to"] = "HealthBar",
["exists"] = true,
},
["Lua:Threat"] = {
["events"] = {
["UNIT_THREAT_LIST_UPDATE"] = true,
["UNIT_THREAT_SITUATION_UPDATE"] = true,
},
["code"] = "\nlocal unit_a,unit_b = ThreatPair(unit)\n\nif unit_a and unit_b then\n\n local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n\n if percent and percent ~= 0 then\n\n return \"%s%%\",Round(percent,1)\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "center",
["attach_to"] = "ThreatBar",
["exists"] = true,
},
["Lua:Experience"] = {
["events"] = {
["UNIT_PET_EXPERIENCE"] = true,
["PLAYER_XP_UPDATE"] = true,
},
["code"] = "\nlocal cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\n\nif rest then\n\n return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\n\nelse\n\n return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\n\nend",
["location"] = "center",
["attach_to"] = "ExperienceBar",
["exists"] = true,
},
["Lua:Druid mana"] = {
["events"] = {
["UNIT_MAXMANA"] = true,
["UNIT_MANA"] = true,
},
["code"] = "\nif UnitPowerType(unit) ~= 0 then\n\n return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\n\nend",
["location"] = "center",
["attach_to"] = "DruidManaBar",
["exists"] = true,
},
["Lua:Cast"] = {
["events"] = {
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n\n local stop_time,stop_duration = cast_data.stop_time\n\n if stop_time then\n\n stop_duration = GetTime() - stop_time\n\n end\n\n Alpha(-(stop_duration or 0) + 1)\n\n if stop_message then\n\n return stop_message\n\n elseif target then\n\n return \"%s (%s)\",spell,target\n\n else\n\n return spell \n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "left",
["attach_to"] = "CastBar",
["exists"] = true,
},
["Lua:Health"] = {
["events"] = {
["UNIT_MAXHEALTH"] = true,
["UNIT_AURA"] = true,
["UNIT_HEALTH"] = true,
},
["code"] = "\nlocal s = Status(unit)\n\nif s then\n\n return s\n\nend\n\nlocal cur, max = HP(unit), MaxHP(unit)\n\nreturn \"%s/%s || %s%%\",Short(cur,true),Short(max,true),Percent(cur,max)",
["location"] = "right",
["attach_to"] = "HealthBar",
["exists"] = true,
},
["Lua:PVPTimer"] = {
["location"] = "out_right_top",
["events"] = {
["PLAYER_FLAGS_CHANGED"] = true,
},
["exists"] = true,
["code"] = "\nif unit == \"player\" then\n\n local pvp = PVPDuration()\n\n if pvp then\n\n return \"|cffff0000%s|r\",FormatDuration(pvp)\n\n end\n\nend",
},
["Lua:Class"] = {
["events"] = {
["UNIT_LEVEL"] = true,
["UNIT_CLASSIFICATION_CHANGED"] = true,
["UNIT_AURA"] = true,
},
["code"] = "\nlocal dr,dg,db = DifficultyColor(unit)\n\nlocal form = DruidForm(unit)\n\nlocal classification = Classification(unit)\n\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n\n local cr,cg,cb = ClassColor(unit)\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r |cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),cr,cg,cb,Class(unit),SmartRace(unit) or ''\n\n end\n\nelse\n\n if form then\n\n return \"%s%s|cff%02x%02x%02x%s|r (%s) %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),form,SmartRace(unit) or ''\n\n else\n\n return \"%s%s|cff%02x%02x%02x%s|r %s\",classification or '',classification and ' ' or '',dr,dg,db,Level(unit),SmartRace(unit) or ''\n\n end\n\nend",
["location"] = "left",
["attach_to"] = "PowerBar",
["exists"] = true,
},
["Lua:Cast time"] = {
["events"] = {
["UNIT_SPELLCAST_SUCCEEDED"] = true,
["UNIT_SPELLCAST_START"] = true,
["UNIT_SPELLCAST_CHANNEL_START"] = true,
["UNIT_SPELLCAST_DELAYED"] = true,
["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
["UNIT_SPELLCAST_STOP"] = true,
["UNIT_SPELLCAST_INTERRUPTED"] = true,
["UNIT_SPELLCAST_FAILED"] = true,
},
["code"] = "\nlocal cast_data = CastData(unit)\n\nif cast_data then\n\n if not cast_data.stop_time then\n\n local delay,end_time = cast_data.delay, cast_data.end_time\n\n local duration\n\n if end_time then\n\n duration = end_time - GetTime()\n\n end\n\n if delay and delay ~= 0 then\n\n local delay_sign = '+'\n\n if delay < 0 then\n\n delay_sign = ''\n\n end\n\n if duration and duration >= 0 then\n\n return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n\n else\n\n return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n\n end\n\n elseif duration and duration >= 0 then\n\n return \"%.1f\",duration\n\n end\n\n end\n\nend\n\nreturn ConfigMode()",
["location"] = "right",
["attach_to"] = "CastBar",
["exists"] = true,
},
["Lua:Power"] = {
["events"] = {
["UNIT_MAXENERGY"] = true,
["UNIT_MANA"] = true,
["UNIT_RAGE"] = true,
["UNIT_DISPLAYPOWER"] = true,
["UNIT_MAXFOCUS"] = true,
["UNIT_FOCUS"] = true,
["UNIT_MAXMANA"] = true,
["UNIT_ENERGY"] = true,
["UNIT_RUNIC_POWER"] = true,
["UNIT_MAXRAGE"] = true,
["UNIT_MAXRUNIC_POWER"] = true,
},
["code"] = "\nlocal max = MaxPower(unit)\n\nif max > 0 then\n\n return \"%s/%s\",Power(unit),max\n\nend",
["location"] = "right",
["attach_to"] = "PowerBar",
["exists"] = true,
},
},
["first"] = false,
},
},
},
},
},
},
["global"] = {
["config_version"] = 2,
},
["profileKeys"] = {
["Calumiscool - Tichondrius"] = "Default",
["Tarei - Frostmane"] = "Default",
["Wyjb - Black Dragonflight"] = "Default",
["Katalae - Black Dragonflight"] = "Standard",
["Dämien - Lightbringer"] = "Default",
["Allia - Moon Guard"] = "Default",
["Jiando - Black Dragonflight"] = "Default",
["Raenai - Black Dragonflight"] = "Default",
},
["profiles"] = {
["Standard"] = {
["class_order"] = {
"WARRIOR", -- [1]
"DEATHKNIGHT", -- [2]
"PALADIN", -- [3]
"PRIEST", -- [4]
"SHAMAN", -- [5]
"DRUID", -- [6]
"ROGUE", -- [7]
"MAGE", -- [8]
"WARLOCK", -- [9]
"HUNTER", -- [10]
"MONK", -- [11]
},
["layouts"] = {
["Normal"] = {
["strata"] = "BACKGROUND",
["font"] = "Liberation Sans",
["exists"] = true,
["bar_texture"] = "Minimalist",
},
["Party Targets"] = {
["size_x"] = 95,
["size_y"] = 25,
["font_size"] = 0.6,
["font"] = "Liberation Sans",
["exists"] = true,
["scale"] = 1.2,
["bar_texture"] = "Minimalist",
},
["Pet"] = {
["size_y"] = 100,
["font"] = "Collegiate",
["exists"] = true,
["size_x"] = 100,
["scale"] = 1.2,
["bar_texture"] = "Minimalist",
},
["Raid Large"] = {
["size_x"] = 75,
["size_y"] = 25,
["font_size"] = 0.6,
["font"] = "Collegiate",
["exists"] = true,
["bar_texture"] = "Minimalist",
},
["Party"] = {
["size_x"] = 150,
["font_size"] = 0.65,
["font"] = "Liberation Sans",
["exists"] = true,
["scale"] = 1.2,
["bar_texture"] = "Minimalist",
},
["Focus Target"] = {
["size_y"] = 55,
["font_size"] = 0.7,
["font"] = "Liberation Sans",
["exists"] = true,
["scale"] = 1.1,
["bar_texture"] = "Minimalist",
},
["Focus"] = {
["size_y"] = 55,
["font_size"] = 0.7,
["font"] = "Liberation Sans",
["exists"] = true,
["scale"] = 1.1,
["bar_texture"] = "Minimalist",
},
["Target"] = {
["size_y"] = 100,
["font"] = "Collegiate",
["exists"] = true,
["size_x"] = 100,
["scale"] = 1.2,
["bar_texture"] = "Minimalist",
},
["Raid"] = {
["strata"] = "BACKGROUND",
["size_x"] = 105,
["size_y"] = 25,
["font_size"] = 0.6,
["font"] = "Liberation Sans",
["exists"] = true,
["scale"] = 1.5,
["bar_texture"] = "Minimalist",
},
["Player"] = {
["size_x"] = 100,
["size_y"] = 100,
["font_size"] = 0.75,
["font"] = "Collegiate",
["exists"] = true,
["scale"] = 1.20000004768372,
["bar_texture"] = "Minimalist",
},
["Target's Target"] = {
["size_x"] = 100,
["size_y"] = 75,
["font_size"] = 0.6,
["font"] = "Collegiate",
["exists"] = true,
["scale"] = 1.2,
["bar_texture"] = "Minimalist",
},
},
["made_groups"] = true,
["units"] = {
["targettargettarget"] = {
["enabled"] = false,
["position_x"] = -31.7582093435949,
["position_y"] = -192.957864282626,
["layout"] = "Party Targets",
},
["focustarget"] = {
["position_x"] = 136.683508560528,
["position_y"] = -147.241422997438,
["layout"] = "Focus Target",
},
["targettarget"] = {
["position_x"] = 188.683348648107,
["position_y"] = -297.623599011437,
["layout"] = "Target's Target",
},
["player"] = {
["position_x"] = -294.142562866211,
["scale"] = 1.25,
["layout"] = "Player",
["position_y"] = -233.997749328613,
["size_y"] = 1.5,
},
["focus"] = {
["position_x"] = -109.142594234892,
["position_y"] = -148.630421434044,
["layout"] = "Focus",
},
["target"] = {
["position_x"] = 322.683523706458,
["size_y"] = 1.85000002384186,
["position_y"] = -231.395154572623,
["font_multiplier"] = 1.20000004768372,
["size_x"] = 1.25,
["layout"] = "Target",
},
["pettarget"] = {
["enabled"] = false,
["position_x"] = -32.6292576022959,
["position_y"] = -33.930719725402,
["layout"] = "Party Targets",
},
["focustargettarget"] = {
["enabled"] = false,
["position_x"] = -61.3345514822432,
["position_y"] = -93.9307363135199,
["layout"] = "Party Targets",
},
["pet"] = {
["position_x"] = -159.142711954522,
["size_y"] = 0.7,
["position_y"] = -304.398245217843,
["layout"] = "Pet",
},
},
["groups"] = {
["Raid 10"] = {
["vertical_spacing"] = 2,
["position_x"] = -871.197118759155,
["units_per_column"] = 10,
["sort_method"] = "NAME",
["enabled"] = true,
["horizontal_spacing"] = 5,
["layout"] = "Raid",
["unit_group"] = "raid",
["exists"] = true,
["position_y"] = 572.117370605469,
["show_when"] = {
["raid10"] = true,
["raid"] = true,
},
},
["Party pets"] = {
["vertical_spacing"] = 0,
["position_x"] = -891.518604441439,
["enabled"] = true,
["horizontal_spacing"] = 0,
["layout"] = "Party Targets",
["unit_group"] = "partypet",
["exists"] = true,
["position_y"] = 279.767617643614,
},
["Raid 20"] = {
["vertical_spacing"] = 2,
["position_x"] = -871.529277801514,
["units_per_column"] = 10,
["sort_method"] = "NAME",
["enabled"] = true,
["horizontal_spacing"] = 5,
["layout"] = "Raid",
["unit_group"] = "raid",
["exists"] = true,
["position_y"] = 566.017395019531,
["show_when"] = {
["raid20"] = true,
["raid15"] = true,
},
},
["Party Targets"] = {
["vertical_spacing"] = 35,
["position_x"] = -710.50270221552,
["sort_method"] = "NAME",
["enabled"] = true,
["horizontal_spacing"] = 0,
["layout"] = "Party Targets",
["unit_group"] = "partytarget",
["exists"] = true,
["position_y"] = 572.253710707953,
},
["Raid 40"] = {
["vertical_spacing"] = 0,
["position_x"] = -860.579276875205,
["scale"] = 0.95,
["units_per_column"] = 10,
["enabled"] = true,
["horizontal_spacing"] = 5,
["layout"] = "Raid",
["unit_group"] = "raid",
["exists"] = true,
["position_y"] = 582.187594737529,
["group_by"] = "GROUP",
["show_when"] = {
["raid40"] = true,
["raid25"] = true,
},
},
["Party"] = {
["vertical_spacing"] = 0,
["position_x"] = -857.502706779001,
["units_per_column"] = 10,
["sort_method"] = "NAME",
["enabled"] = true,
["horizontal_spacing"] = 0,
["layout"] = "Party",
["exists"] = true,
["position_y"] = 549.254491243963,
},
},
["lock_movement"] = true,
["colors"] = {
["power"] = {
["ENERGY"] = {
0.172549019607843, -- [1]
0.666666666666667, -- [2]
1, -- [3]
},
["MANA"] = {
0.290196078431373, -- [1]
0.215686274509804, -- [2]
},
["RAGE"] = {
0.650980392156863, -- [1]
0.0509803921568627, -- [2]
0.0196078431372549, -- [3]
},
},
},
},
["Black Dragonflight"] = {
["layouts"] = {
["Normal"] = {
["exists"] = true,
},
},
["made_groups"] = true,
["groups"] = {
["Party pets"] = {
["enabled"] = true,
["exists"] = true,
["unit_group"] = "partypet",
},
["Party"] = {
["enabled"] = true,
["exists"] = true,
},
},
["units"] = {
["player"] = {
},
["targettargettarget"] = {
},
["focus"] = {
},
["target"] = {
},
["focustarget"] = {
},
["pet"] = {
},
},
},
["Default"] = {
["groups"] = {
["Party"] = {
["vertical_spacing"] = 0,
["horizontal_spacing"] = 0,
["position_x"] = -878.131248474121,
["position_y"] = 326.647644042969,
["exists"] = true,
["layout"] = "Party",
["enabled"] = true,
["sort_method"] = "NAME",
},
["Party pets"] = {
["vertical_spacing"] = 0,
["horizontal_spacing"] = 0,
["position_x"] = -902.228881835938,
["position_y"] = 90.6878051757813,
["exists"] = true,
["layout"] = "Party Targets",
["enabled"] = true,
["unit_group"] = "partypet",
},
["Raid 20"] = {
["vertical_spacing"] = 2,
["horizontal_spacing"] = 5,
["position_x"] = -759.464917360597,
["layout"] = "Raid",
["unit_group"] = "raid",
["exists"] = true,
["units_per_column"] = 10,
["sort_method"] = "NAME",
["enabled"] = true,
["position_y"] = 324.037869548651,
["show_when"] = {
["raid20"] = true,
["raid15"] = true,
},
},
["Raid 10"] = {
["vertical_spacing"] = 2,
["horizontal_spacing"] = 5,
["position_x"] = -762.323354854073,
["layout"] = "Raid",
["unit_group"] = "raid",
["exists"] = true,
["units_per_column"] = 5,
["sort_method"] = "NAME",
["enabled"] = true,
["position_y"] = 324.037869548651,
["show_when"] = {
["raid10"] = true,
["raid"] = true,
},
},
["Raid 40"] = {
["vertical_spacing"] = 2,
["horizontal_spacing"] = 5,
["position_x"] = -777.323359001103,
["layout"] = "Raid Large",
["unit_group"] = "raid",
["exists"] = true,
["units_per_column"] = 13,
["enabled"] = true,
["position_y"] = 324.037869548651,
["group_by"] = "GROUP",
["show_when"] = {
["raid40"] = true,
["raid25"] = true,
},
},
["Party Targets"] = {
["vertical_spacing"] = 35,
["horizontal_spacing"] = 0,
["position_x"] = -755.631225585938,
["layout"] = "Party Targets",
["unit_group"] = "partytarget",
["exists"] = true,
["position_y"] = 319.370788574219,
["enabled"] = true,
["sort_method"] = "NAME",
},
},
["colors"] = {
["power"] = {
["MANA"] = {
0.290196078431373, -- [1]
0.215686274509804, -- [2]
},
["ENERGY"] = {
0.172549019607843, -- [1]
0.666666666666667, -- [2]
1, -- [3]
},
["RAGE"] = {
0.650980392156863, -- [1]
0.0509803921568627, -- [2]
0.0196078431372549, -- [3]
},
},
},
["class_order"] = {
"WARRIOR", -- [1]
"DEATHKNIGHT", -- [2]
"PALADIN", -- [3]
"PRIEST", -- [4]
"SHAMAN", -- [5]
"DRUID", -- [6]
"ROGUE", -- [7]
"MAGE", -- [8]
"WARLOCK", -- [9]
"HUNTER", -- [10]
"MONK", -- [11]
},
["layouts"] = {
["Normal"] = {
["exists"] = true,
},
["Party Targets"] = {
["font_size"] = 0.6,
["font"] = "Calibri V1",
["size_x"] = 95,
["size_y"] = 25,
["exists"] = true,
["bar_texture"] = "Minimalist",
},
["Pet"] = {
["exists"] = true,
["font"] = "Calibri V1",
["size_x"] = 250,
["bar_texture"] = "Minimalist",
},
["Raid Large"] = {
["font_size"] = 0.6,
["font"] = "Calibri V1",
["size_x"] = 75,
["size_y"] = 25,
["exists"] = true,
["bar_texture"] = "Minimalist",
},
["Player"] = {
["font_size"] = 0.6,
["font"] = "Calibri V1",
["size_x"] = 205,
["size_y"] = 65,
["exists"] = true,
["bar_texture"] = "Minimalist",
},
["Focus Target"] = {
["font_size"] = 0.6,
["font"] = "Calibri V1",
["exists"] = true,
["size_y"] = 55,
["bar_texture"] = "Minimalist",
},
["Target"] = {
["font_size"] = 0.6,
["font"] = "Calibri V1",
["exists"] = true,
["scale"] = 1.25,
["size_y"] = 75,
["bar_texture"] = "Minimalist",
},
["Raid"] = {
["font_size"] = 0.6,
["font"] = "Calibri V1",
["size_x"] = 105,
["size_y"] = 25,
["exists"] = true,
["bar_texture"] = "Minimalist",
},
["Party"] = {
["font_size"] = 0.65,
["font"] = "Calibri V1",
["size_x"] = 150,
["exists"] = true,
["bar_texture"] = "Minimalist",
},
["Focus"] = {
["font_size"] = 0.6,
["font"] = "Calibri V1",
["exists"] = true,
["size_y"] = 55,
["bar_texture"] = "Minimalist",
},
},
["lock_movement"] = true,
["made_groups"] = true,
["units"] = {
["targettargettarget"] = {
["enabled"] = false,
["layout"] = "Party Targets",
["position_x"] = -31.7582093435949,
["position_y"] = -192.957864282626,
},
["focustarget"] = {
["layout"] = "Focus Target",
["position_x"] = 123.76334744284,
["position_y"] = -161.980607787236,
},
["targettarget"] = {
["scale"] = 0.85,
["layout"] = "Target",
["position_x"] = -303.210450518122,
["position_y"] = 519.864080999621,
},
["player"] = {
["position_x"] = -825.446748023977,
["position_y"] = 499.049885815009,
["scale"] = 1.25,
["layout"] = "Player",
["size_y"] = 1.5,
},
["focus"] = {
["layout"] = "Focus",
["position_x"] = -96.2770316912479,
["position_y"] = -162.435835226851,
},
["target"] = {
["layout"] = "Target",
["position_x"] = -551.284713712162,
["position_y"] = 512.59846929466,
},
["pet"] = {
["size_y"] = 0.7,
["layout"] = "Pet",
["position_x"] = -828.557479858399,
["position_y"] = 394.239868164063,
},
["focustargettarget"] = {
["enabled"] = false,
["layout"] = "Party Targets",
["position_x"] = -61.3345514822432,
["position_y"] = -93.9307363135199,
},
["pettarget"] = {
["enabled"] = false,
["layout"] = "Party Targets",
["position_x"] = -32.6292576022959,
["position_y"] = -33.930719725402,
},
},
},
["Katalae - Black Dragonflight"] = {
["layouts"] = {
["Normal"] = {
["exists"] = true,
},
},
["made_groups"] = true,
["groups"] = {
["Party pets"] = {
["enabled"] = true,
["exists"] = true,
["unit_group"] = "partypet",
},
["Party"] = {
["enabled"] = true,
["exists"] = true,
},
},
["units"] = {
["player"] = {
},
["targettargettarget"] = {
},
["focus"] = {
},
["target"] = {
},
["focustarget"] = {
},
["pet"] = {
},
},
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment