Guest User

PitBull

a guest
Oct 2nd, 2015
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 128.64 KB | None | 0 0
  1.  
  2. PitBull4DB = {
  3.     ["namespaces"] = {
  4.         ["LeaderIcon"] = {
  5.             ["profiles"] = {
  6.                 ["Active"] = {
  7.                     ["layouts"] = {
  8.                         ["Boss"] = {
  9.                             ["position"] = 5,
  10.                         },
  11.                         ["Pet_Target"] = {
  12.                             ["enabled"] = false,
  13.                         },
  14.                         ["Target"] = {
  15.                             ["enabled"] = false,
  16.                         },
  17.                         ["BossParty"] = {
  18.                             ["enabled"] = false,
  19.                         },
  20.                         ["Pet"] = {
  21.                             ["enabled"] = false,
  22.                         },
  23.                     },
  24.                 },
  25.             },
  26.         },
  27.         ["LibDualSpec-1.0"] = {
  28.         },
  29.         ["RangeFader"] = {
  30.             ["profiles"] = {
  31.                 ["Active"] = {
  32.                     ["layouts"] = {
  33.                         ["Boss"] = {
  34.                             ["enabled"] = true,
  35.                             ["out_of_range_opacity"] = 0.75,
  36.                             ["custom_spell"] = "Gift of the Naaru",
  37.                         },
  38.                         ["Focus"] = {
  39.                             ["enabled"] = true,
  40.                             ["out_of_range_opacity"] = 0.65,
  41.                         },
  42.                         ["BossParty"] = {
  43.                             ["enabled"] = true,
  44.                         },
  45.                     },
  46.                 },
  47.             },
  48.         },
  49.         ["Border"] = {
  50.             ["profiles"] = {
  51.                 ["Active"] = {
  52.                     ["layouts"] = {
  53.                         ["Boss"] = {
  54.                             ["rare_texture"] = "Blizzard Dialog",
  55.                         },
  56.                         ["Pet_Target"] = {
  57.                             ["enabled"] = false,
  58.                         },
  59.                         ["Focus"] = {
  60.                             ["enabled"] = false,
  61.                         },
  62.                         ["Target"] = {
  63.                             ["enabled"] = false,
  64.                         },
  65.                         ["BossParty"] = {
  66.                             ["boss_texture"] = "None",
  67.                             ["rare_texture"] = "None",
  68.                             ["elite_texture"] = "None",
  69.                             ["enabled"] = false,
  70.                         },
  71.                         ["Player"] = {
  72.                             ["enabled"] = false,
  73.                         },
  74.                     },
  75.                 },
  76.             },
  77.         },
  78.         ["PhaseIcon"] = {
  79.             ["profiles"] = {
  80.                 ["Active"] = {
  81.                     ["layouts"] = {
  82.                         ["Player"] = {
  83.                             ["position"] = 19,
  84.                         },
  85.                         ["Pet_Target"] = {
  86.                             ["enabled"] = false,
  87.                             ["position"] = 1.00001,
  88.                         },
  89.                         ["Focus"] = {
  90.                             ["position"] = 1.00001,
  91.                         },
  92.                         ["Target"] = {
  93.                             ["enabled"] = false,
  94.                             ["position"] = 1.00001,
  95.                         },
  96.                         ["Boss"] = {
  97.                             ["position"] = 17,
  98.                         },
  99.                         ["BossParty"] = {
  100.                             ["enabled"] = false,
  101.                             ["position"] = 1.00001,
  102.                         },
  103.                         ["Pet"] = {
  104.                             ["enabled"] = false,
  105.                             ["position"] = 19,
  106.                         },
  107.                     },
  108.                 },
  109.             },
  110.         },
  111.         ["CombatIcon"] = {
  112.             ["profiles"] = {
  113.                 ["Active"] = {
  114.                     ["layouts"] = {
  115.                         ["Player"] = {
  116.                             ["position"] = 18,
  117.                         },
  118.                         ["Pet_Target"] = {
  119.                             ["enabled"] = false,
  120.                             ["location"] = "edge_right",
  121.                         },
  122.                         ["Target"] = {
  123.                             ["location"] = "edge_bottom_right",
  124.                         },
  125.                         ["Pet"] = {
  126.                             ["position"] = 18,
  127.                             ["location"] = "edge_left",
  128.                         },
  129.                         ["BossParty"] = {
  130.                             ["enabled"] = false,
  131.                             ["location"] = "edge_left",
  132.                         },
  133.                         ["Boss"] = {
  134.                             ["position"] = 26,
  135.                         },
  136.                     },
  137.                 },
  138.             },
  139.         },
  140.         ["RoleIcon"] = {
  141.             ["profiles"] = {
  142.                 ["Active"] = {
  143.                     ["layouts"] = {
  144.                         ["Player"] = {
  145.                             ["position"] = 16,
  146.                         },
  147.                         ["Pet_Target"] = {
  148.                             ["enabled"] = false,
  149.                             ["position"] = 1.00002,
  150.                         },
  151.                         ["Focus"] = {
  152.                             ["position"] = 1.00002,
  153.                         },
  154.                         ["Target"] = {
  155.                             ["enabled"] = false,
  156.                             ["position"] = 1.00002,
  157.                         },
  158.                         ["Boss"] = {
  159.                             ["position"] = 16,
  160.                         },
  161.                         ["BossParty"] = {
  162.                             ["enabled"] = false,
  163.                             ["position"] = 1.00002,
  164.                         },
  165.                         ["Pet"] = {
  166.                             ["enabled"] = false,
  167.                             ["position"] = 16,
  168.                         },
  169.                     },
  170.                 },
  171.             },
  172.         },
  173.         ["LuaTexts"] = {
  174.             ["profiles"] = {
  175.                 ["Lolet - Garrosh"] = {
  176.                     ["layouts"] = {
  177.                         ["Normal"] = {
  178.                             ["elements"] = {
  179.                                 ["Lua:Eclipse"] = {
  180.                                     ["exists"] = true,
  181.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  182.                                     ["location"] = "center",
  183.                                     ["attach_to"] = "Eclipse",
  184.                                     ["events"] = {
  185.                                         ["UNIT_MAXPOWER"] = true,
  186.                                         ["UNIT_POWER_FREQUENT"] = true,
  187.                                     },
  188.                                 },
  189.                                 ["Lua:Power"] = {
  190.                                     ["exists"] = true,
  191.                                     ["code"] = "local max = MaxPower(unit)\nif max > 0 then\n  return \"%s/%s\",Power(unit),max\nend",
  192.                                     ["location"] = "right",
  193.                                     ["attach_to"] = "PowerBar",
  194.                                     ["events"] = {
  195.                                         ["UNIT_MAXPOWER"] = true,
  196.                                         ["UNIT_POWER_FREQUENT"] = true,
  197.                                     },
  198.                                 },
  199.                                 ["Lua:Reputation"] = {
  200.                                     ["exists"] = true,
  201.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  202.                                     ["location"] = "center",
  203.                                     ["attach_to"] = "ReputationBar",
  204.                                     ["events"] = {
  205.                                         ["UNIT_FACTION"] = true,
  206.                                         ["UPDATE_FACTION"] = true,
  207.                                     },
  208.                                 },
  209.                                 ["Lua:Name"] = {
  210.                                     ["exists"] = true,
  211.                                     ["code"] = "return '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
  212.                                     ["location"] = "left",
  213.                                     ["attach_to"] = "HealthBar",
  214.                                     ["events"] = {
  215.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  216.                                         ["UNIT_NAME_UPDATE"] = true,
  217.                                     },
  218.                                 },
  219.                                 ["Lua:Threat"] = {
  220.                                     ["exists"] = true,
  221.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  222.                                     ["location"] = "center",
  223.                                     ["attach_to"] = "ThreatBar",
  224.                                     ["events"] = {
  225.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  226.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  227.                                     },
  228.                                 },
  229.                                 ["Lua:Experience"] = {
  230.                                     ["exists"] = true,
  231.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  232.                                     ["location"] = "center",
  233.                                     ["attach_to"] = "ExperienceBar",
  234.                                     ["events"] = {
  235.                                         ["UNIT_PET_EXPERIENCE"] = true,
  236.                                         ["PLAYER_XP_UPDATE"] = true,
  237.                                     },
  238.                                 },
  239.                                 ["Lua:Cast"] = {
  240.                                     ["exists"] = true,
  241.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  242.                                     ["location"] = "left",
  243.                                     ["attach_to"] = "CastBar",
  244.                                     ["events"] = {
  245.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  246.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  247.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  248.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  249.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  250.                                         ["UNIT_SPELLCAST_STOP"] = true,
  251.                                         ["UNIT_SPELLCAST_START"] = true,
  252.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  253.                                     },
  254.                                 },
  255.                                 ["Lua:Alternate power"] = {
  256.                                     ["exists"] = true,
  257.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s%%\",Percent(Power(unit,ALTERNATE_POWER_INDEX),max)\nend\nreturn ConfigMode()",
  258.                                     ["location"] = "right",
  259.                                     ["attach_to"] = "AltPowerBar",
  260.                                     ["events"] = {
  261.                                         ["UNIT_MAXPOWER"] = true,
  262.                                         ["UNIT_POWER_FREQUENT"] = true,
  263.                                     },
  264.                                 },
  265.                                 ["Lua:Cast time"] = {
  266.                                     ["exists"] = true,
  267.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  268.                                     ["location"] = "right",
  269.                                     ["attach_to"] = "CastBar",
  270.                                     ["events"] = {
  271.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  272.                                         ["UNIT_SPELLCAST_START"] = true,
  273.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  274.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  275.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  276.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  277.                                         ["UNIT_SPELLCAST_STOP"] = true,
  278.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  279.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  280.                                     },
  281.                                 },
  282.                                 ["Lua:Health"] = {
  283.                                     ["exists"] = true,
  284.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nlocal cur, max = HP(unit), MaxHP(unit)\nreturn \"%s/%s || %s%%\",Short(cur,true),Short(max,true),Percent(cur,max)",
  285.                                     ["location"] = "right",
  286.                                     ["attach_to"] = "HealthBar",
  287.                                     ["events"] = {
  288.                                         ["UNIT_HEALTH"] = true,
  289.                                         ["UNIT_AURA"] = true,
  290.                                         ["UNIT_MAXHEALTH"] = true,
  291.                                     },
  292.                                 },
  293.                                 ["Lua:PVPTimer"] = {
  294.                                     ["location"] = "out_right_top",
  295.                                     ["events"] = {
  296.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  297.                                     },
  298.                                     ["exists"] = true,
  299.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  300.                                 },
  301.                                 ["Lua:Class"] = {
  302.                                     ["exists"] = true,
  303.                                     ["code"] = "local dr,dg,db = DifficultyColor(unit)\nlocal form = DruidForm(unit)\nlocal classification = Classification(unit)\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n  local cr,cg,cb = ClassColor(unit)\n  if form then\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  else\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  end\nelse\n  if form then\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  else\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  end\nend",
  304.                                     ["location"] = "left",
  305.                                     ["attach_to"] = "PowerBar",
  306.                                     ["events"] = {
  307.                                         ["UNIT_LEVEL"] = true,
  308.                                         ["UNIT_CLASSIFICATION_CHANGED"] = true,
  309.                                         ["UNIT_AURA"] = true,
  310.                                     },
  311.                                 },
  312.                                 ["Lua:Druid mana"] = {
  313.                                     ["exists"] = true,
  314.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\nend",
  315.                                     ["location"] = "center",
  316.                                     ["attach_to"] = "DruidManaBar",
  317.                                     ["events"] = {
  318.                                         ["UNIT_DISPLAYPOWER"] = true,
  319.                                         ["UNIT_MAXPOWER"] = true,
  320.                                         ["UNIT_POWER_FREQUENT"] = true,
  321.                                     },
  322.                                 },
  323.                                 ["Lua:Demonic fury"] = {
  324.                                     ["exists"] = true,
  325.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  326.                                     ["location"] = "center",
  327.                                     ["attach_to"] = "DemonicFury",
  328.                                     ["events"] = {
  329.                                         ["UNIT_MAXPOWER"] = true,
  330.                                         ["UNIT_POWER_FREQUENT"] = true,
  331.                                     },
  332.                                 },
  333.                             },
  334.                             ["first"] = false,
  335.                         },
  336.                     },
  337.                 },
  338.                 ["Active"] = {
  339.                     ["layouts"] = {
  340.                         ["Normal"] = {
  341.                             ["first"] = false,
  342.                             ["elements"] = {
  343.                                 ["Lua:Eclipse"] = {
  344.                                     ["exists"] = true,
  345.                                     ["events"] = {
  346.                                         ["UNIT_POWER_FREQUENT"] = true,
  347.                                         ["UNIT_MAXPOWER"] = true,
  348.                                     },
  349.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  350.                                     ["location"] = "center",
  351.                                     ["attach_to"] = "Eclipse",
  352.                                 },
  353.                                 ["Lua:Name"] = {
  354.                                     ["exists"] = true,
  355.                                     ["events"] = {
  356.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  357.                                         ["UNIT_NAME_UPDATE"] = true,
  358.                                     },
  359.                                     ["code"] = "return '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
  360.                                     ["location"] = "left",
  361.                                     ["attach_to"] = "HealthBar",
  362.                                 },
  363.                                 ["Lua:Reputation"] = {
  364.                                     ["exists"] = true,
  365.                                     ["events"] = {
  366.                                         ["UNIT_FACTION"] = true,
  367.                                         ["UPDATE_FACTION"] = true,
  368.                                     },
  369.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  370.                                     ["location"] = "center",
  371.                                     ["attach_to"] = "ReputationBar",
  372.                                 },
  373.                                 ["Lua:Power"] = {
  374.                                     ["exists"] = true,
  375.                                     ["events"] = {
  376.                                         ["UNIT_POWER_FREQUENT"] = true,
  377.                                         ["UNIT_MAXPOWER"] = true,
  378.                                     },
  379.                                     ["code"] = "local cur,max = Power(unit),MaxPower(unit)\nif max > 0 then\n  return \"%s/%s || %s%%\",cur,max,Percent(cur,max)\nend",
  380.                                     ["location"] = "right",
  381.                                     ["attach_to"] = "PowerBar",
  382.                                 },
  383.                                 ["Lua:Threat"] = {
  384.                                     ["exists"] = true,
  385.                                     ["events"] = {
  386.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  387.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  388.                                     },
  389.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  390.                                     ["location"] = "center",
  391.                                     ["attach_to"] = "ThreatBar",
  392.                                 },
  393.                                 ["Lua:Druid mana"] = {
  394.                                     ["exists"] = true,
  395.                                     ["events"] = {
  396.                                         ["UNIT_DISPLAYPOWER"] = true,
  397.                                         ["UNIT_MAXPOWER"] = true,
  398.                                         ["UNIT_POWER_FREQUENT"] = true,
  399.                                     },
  400.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\nend",
  401.                                     ["location"] = "center",
  402.                                     ["attach_to"] = "DruidManaBar",
  403.                                 },
  404.                                 ["Lua:Cast time"] = {
  405.                                     ["exists"] = true,
  406.                                     ["events"] = {
  407.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  408.                                         ["UNIT_SPELLCAST_START"] = true,
  409.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  410.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  411.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  412.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  413.                                         ["UNIT_SPELLCAST_STOP"] = true,
  414.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  415.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  416.                                     },
  417.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  418.                                     ["location"] = "right",
  419.                                     ["attach_to"] = "CastBar",
  420.                                 },
  421.                                 ["Lua:PVPTimer"] = {
  422.                                     ["events"] = {
  423.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  424.                                     },
  425.                                     ["exists"] = true,
  426.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  427.                                     ["location"] = "out_right_top",
  428.                                 },
  429.                                 ["Lua:Cast"] = {
  430.                                     ["exists"] = true,
  431.                                     ["events"] = {
  432.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  433.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  434.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  435.                                         ["UNIT_SPELLCAST_START"] = true,
  436.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  437.                                         ["UNIT_SPELLCAST_STOP"] = true,
  438.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  439.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  440.                                     },
  441.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  442.                                     ["location"] = "left",
  443.                                     ["attach_to"] = "CastBar",
  444.                                 },
  445.                                 ["Lua:Health"] = {
  446.                                     ["exists"] = true,
  447.                                     ["events"] = {
  448.                                         ["UNIT_HEALTH"] = true,
  449.                                         ["UNIT_AURA"] = true,
  450.                                         ["UNIT_MAXHEALTH"] = true,
  451.                                     },
  452.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nlocal cur, max = HP(unit), MaxHP(unit)\nreturn \"%s/%s || %s%%\",Short(cur,true),Short(max,true),Percent(cur,max)",
  453.                                     ["location"] = "right",
  454.                                     ["attach_to"] = "HealthBar",
  455.                                 },
  456.                                 ["Lua:Alternate power"] = {
  457.                                     ["exists"] = true,
  458.                                     ["events"] = {
  459.                                         ["UNIT_POWER_FREQUENT"] = true,
  460.                                         ["UNIT_MAXPOWER"] = true,
  461.                                     },
  462.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s%%\",Percent(Power(unit,ALTERNATE_POWER_INDEX),max)\nend\nreturn ConfigMode()",
  463.                                     ["location"] = "right",
  464.                                     ["attach_to"] = "AltPowerBar",
  465.                                 },
  466.                                 ["Lua:Class"] = {
  467.                                     ["exists"] = true,
  468.                                     ["events"] = {
  469.                                         ["UNIT_LEVEL"] = true,
  470.                                         ["UNIT_CLASSIFICATION_CHANGED"] = true,
  471.                                         ["UNIT_AURA"] = true,
  472.                                     },
  473.                                     ["code"] = "local dr,dg,db = DifficultyColor(unit)\nlocal form = DruidForm(unit)\nlocal classification = Classification(unit)\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n  local cr,cg,cb = ClassColor(unit)\n  if form then\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  else\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  end\nelse\n  if form then\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  else\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  end\nend",
  474.                                     ["location"] = "left",
  475.                                     ["attach_to"] = "PowerBar",
  476.                                 },
  477.                                 ["Lua:Experience"] = {
  478.                                     ["exists"] = true,
  479.                                     ["events"] = {
  480.                                         ["UNIT_PET_EXPERIENCE"] = true,
  481.                                         ["PLAYER_XP_UPDATE"] = true,
  482.                                     },
  483.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  484.                                     ["location"] = "center",
  485.                                     ["attach_to"] = "ExperienceBar",
  486.                                 },
  487.                                 ["Lua:Demonic fury"] = {
  488.                                     ["exists"] = true,
  489.                                     ["events"] = {
  490.                                         ["UNIT_POWER_FREQUENT"] = true,
  491.                                         ["UNIT_MAXPOWER"] = true,
  492.                                     },
  493.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  494.                                     ["location"] = "center",
  495.                                     ["attach_to"] = "DemonicFury",
  496.                                 },
  497.                             },
  498.                         },
  499.                         ["Boss"] = {
  500.                             ["first"] = false,
  501.                             ["elements"] = {
  502.                                 ["Lua:Eclipse"] = {
  503.                                     ["events"] = {
  504.                                         ["UNIT_MAXPOWER"] = true,
  505.                                         ["UNIT_POWER_FREQUENT"] = true,
  506.                                     },
  507.                                     ["exists"] = true,
  508.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  509.                                     ["location"] = "center",
  510.                                     ["position"] = 13,
  511.                                     ["attach_to"] = "Eclipse",
  512.                                 },
  513.                                 ["Lua:Power"] = {
  514.                                     ["events"] = {
  515.                                         ["UNIT_MAXPOWER"] = true,
  516.                                         ["UNIT_POWER_FREQUENT"] = true,
  517.                                     },
  518.                                     ["exists"] = true,
  519.                                     ["code"] = "local max = MaxPower(unit)\nif max > 0 then\n  return \"%s/%s\",Power(unit),max\nend",
  520.                                     ["location"] = "right",
  521.                                     ["position"] = 4,
  522.                                     ["attach_to"] = "PowerBar",
  523.                                 },
  524.                                 ["Lua:Reputation"] = {
  525.                                     ["events"] = {
  526.                                         ["UNIT_FACTION"] = true,
  527.                                         ["UPDATE_FACTION"] = true,
  528.                                     },
  529.                                     ["exists"] = true,
  530.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  531.                                     ["location"] = "center",
  532.                                     ["position"] = 3,
  533.                                     ["attach_to"] = "ReputationBar",
  534.                                 },
  535.                                 ["Lua:Name"] = {
  536.                                     ["events"] = {
  537.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  538.                                         ["UNIT_NAME_UPDATE"] = true,
  539.                                     },
  540.                                     ["exists"] = true,
  541.                                     ["code"] = "return '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
  542.                                     ["location"] = "left",
  543.                                     ["attach_to"] = "HealthBar",
  544.                                 },
  545.                                 ["Lua:Threat"] = {
  546.                                     ["events"] = {
  547.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  548.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  549.                                     },
  550.                                     ["exists"] = true,
  551.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  552.                                     ["location"] = "center",
  553.                                     ["position"] = 2,
  554.                                     ["attach_to"] = "ThreatBar",
  555.                                 },
  556.                                 ["Lua:Experience"] = {
  557.                                     ["events"] = {
  558.                                         ["UNIT_PET_EXPERIENCE"] = true,
  559.                                         ["PLAYER_XP_UPDATE"] = true,
  560.                                     },
  561.                                     ["exists"] = true,
  562.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  563.                                     ["location"] = "center",
  564.                                     ["position"] = 6,
  565.                                     ["attach_to"] = "ExperienceBar",
  566.                                 },
  567.                                 ["Lua:Cast"] = {
  568.                                     ["events"] = {
  569.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  570.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  571.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  572.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  573.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  574.                                         ["UNIT_SPELLCAST_STOP"] = true,
  575.                                         ["UNIT_SPELLCAST_START"] = true,
  576.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  577.                                     },
  578.                                     ["exists"] = true,
  579.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  580.                                     ["location"] = "left",
  581.                                     ["position"] = 9,
  582.                                     ["attach_to"] = "CastBar",
  583.                                 },
  584.                                 ["Lua:Alternate power"] = {
  585.                                     ["events"] = {
  586.                                         ["UNIT_POWER_FREQUENT"] = true,
  587.                                         ["UNIT_MAXPOWER"] = true,
  588.                                     },
  589.                                     ["exists"] = true,
  590.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s/%s\",Short(Power(unit,ALTERNATE_POWER_INDEX),true),Short(max,true)\nend\nreturn ConfigMode()",
  591.                                     ["location"] = "right",
  592.                                     ["position"] = 7,
  593.                                     ["attach_to"] = "AltPowerBar",
  594.                                 },
  595.                                 ["Lua:Cast time"] = {
  596.                                     ["events"] = {
  597.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  598.                                         ["UNIT_SPELLCAST_START"] = true,
  599.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  600.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  601.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  602.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  603.                                         ["UNIT_SPELLCAST_STOP"] = true,
  604.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  605.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  606.                                     },
  607.                                     ["exists"] = true,
  608.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  609.                                     ["location"] = "right",
  610.                                     ["position"] = 11,
  611.                                     ["attach_to"] = "CastBar",
  612.                                 },
  613.                                 ["Lua:Health"] = {
  614.                                     ["exists"] = true,
  615.                                     ["events"] = {
  616.                                         ["UNIT_HEALTH"] = true,
  617.                                         ["UNIT_AURA"] = true,
  618.                                         ["UNIT_MAXHEALTH"] = true,
  619.                                     },
  620.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nlocal cur, max = HP(unit), MaxHP(unit)\nreturn \"%s/%s || %s%%\",Short(cur,true),Short(max,true),Percent(cur,max)",
  621.                                     ["location"] = "right",
  622.                                     ["position"] = 10,
  623.                                     ["attach_to"] = "HealthBar",
  624.                                     ["size"] = 1.1,
  625.                                 },
  626.                                 ["Lua:PVPTimer"] = {
  627.                                     ["position"] = 25,
  628.                                     ["exists"] = true,
  629.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  630.                                     ["location"] = "out_right_top",
  631.                                     ["events"] = {
  632.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  633.                                     },
  634.                                 },
  635.                                 ["Lua:Class"] = {
  636.                                     ["events"] = {
  637.                                         ["UNIT_LEVEL"] = true,
  638.                                         ["UNIT_CLASSIFICATION_CHANGED"] = true,
  639.                                         ["UNIT_AURA"] = true,
  640.                                     },
  641.                                     ["exists"] = true,
  642.                                     ["code"] = "local dr,dg,db = DifficultyColor(unit)\nlocal form = DruidForm(unit)\nlocal classification = Classification(unit)\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n  local cr,cg,cb = ClassColor(unit)\n  if form then\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  else\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  end\nelse\n  if form then\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  else\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  end\nend",
  643.                                     ["location"] = "left",
  644.                                     ["position"] = 8,
  645.                                     ["attach_to"] = "PowerBar",
  646.                                 },
  647.                                 ["Lua:Druid mana"] = {
  648.                                     ["events"] = {
  649.                                         ["UNIT_DISPLAYPOWER"] = true,
  650.                                         ["UNIT_MAXPOWER"] = true,
  651.                                         ["UNIT_POWER_FREQUENT"] = true,
  652.                                     },
  653.                                     ["exists"] = true,
  654.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\nend",
  655.                                     ["location"] = "center",
  656.                                     ["position"] = 12,
  657.                                     ["attach_to"] = "DruidManaBar",
  658.                                 },
  659.                                 ["Lua:Demonic fury"] = {
  660.                                     ["events"] = {
  661.                                         ["UNIT_MAXPOWER"] = true,
  662.                                         ["UNIT_POWER_FREQUENT"] = true,
  663.                                     },
  664.                                     ["exists"] = true,
  665.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  666.                                     ["location"] = "center",
  667.                                     ["position"] = 14,
  668.                                     ["attach_to"] = "DemonicFury",
  669.                                 },
  670.                             },
  671.                         },
  672.                         ["Pet_Target"] = {
  673.                             ["first"] = false,
  674.                             ["elements"] = {
  675.                                 ["Lua:Eclipse"] = {
  676.                                     ["exists"] = true,
  677.                                     ["events"] = {
  678.                                         ["UNIT_POWER_FREQUENT"] = true,
  679.                                         ["UNIT_MAXPOWER"] = true,
  680.                                     },
  681.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  682.                                     ["location"] = "center",
  683.                                     ["attach_to"] = "Eclipse",
  684.                                 },
  685.                                 ["Lua:Name"] = {
  686.                                     ["exists"] = true,
  687.                                     ["events"] = {
  688.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  689.                                         ["UNIT_NAME_UPDATE"] = true,
  690.                                     },
  691.                                     ["code"] = "return '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
  692.                                     ["location"] = "left",
  693.                                     ["attach_to"] = "HealthBar",
  694.                                 },
  695.                                 ["Lua:Reputation"] = {
  696.                                     ["exists"] = true,
  697.                                     ["events"] = {
  698.                                         ["UNIT_FACTION"] = true,
  699.                                         ["UPDATE_FACTION"] = true,
  700.                                     },
  701.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  702.                                     ["location"] = "center",
  703.                                     ["attach_to"] = "ReputationBar",
  704.                                 },
  705.                                 ["Lua:Power"] = {
  706.                                     ["exists"] = true,
  707.                                     ["events"] = {
  708.                                         ["UNIT_POWER_FREQUENT"] = true,
  709.                                         ["UNIT_MAXPOWER"] = true,
  710.                                     },
  711.                                     ["code"] = "local max = MaxPower(unit)\nif max > 0 then\n  return \"%s/%s\",Power(unit),max\nend",
  712.                                     ["location"] = "right",
  713.                                     ["attach_to"] = "PowerBar",
  714.                                 },
  715.                                 ["Lua:Threat"] = {
  716.                                     ["exists"] = true,
  717.                                     ["events"] = {
  718.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  719.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  720.                                     },
  721.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  722.                                     ["location"] = "center",
  723.                                     ["attach_to"] = "ThreatBar",
  724.                                 },
  725.                                 ["Lua:Druid mana"] = {
  726.                                     ["exists"] = true,
  727.                                     ["events"] = {
  728.                                         ["UNIT_DISPLAYPOWER"] = true,
  729.                                         ["UNIT_MAXPOWER"] = true,
  730.                                         ["UNIT_POWER_FREQUENT"] = true,
  731.                                     },
  732.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\nend",
  733.                                     ["location"] = "center",
  734.                                     ["attach_to"] = "DruidManaBar",
  735.                                 },
  736.                                 ["Lua:Cast time"] = {
  737.                                     ["exists"] = true,
  738.                                     ["events"] = {
  739.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  740.                                         ["UNIT_SPELLCAST_START"] = true,
  741.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  742.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  743.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  744.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  745.                                         ["UNIT_SPELLCAST_STOP"] = true,
  746.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  747.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  748.                                     },
  749.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  750.                                     ["location"] = "right",
  751.                                     ["attach_to"] = "CastBar",
  752.                                 },
  753.                                 ["Lua:PVPTimer"] = {
  754.                                     ["enabled"] = false,
  755.                                     ["exists"] = true,
  756.                                     ["events"] = {
  757.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  758.                                     },
  759.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  760.                                     ["location"] = "out_right_top",
  761.                                 },
  762.                                 ["Lua:Cast"] = {
  763.                                     ["exists"] = true,
  764.                                     ["events"] = {
  765.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  766.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  767.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  768.                                         ["UNIT_SPELLCAST_START"] = true,
  769.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  770.                                         ["UNIT_SPELLCAST_STOP"] = true,
  771.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  772.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  773.                                     },
  774.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  775.                                     ["location"] = "left",
  776.                                     ["attach_to"] = "CastBar",
  777.                                 },
  778.                                 ["Lua:Health"] = {
  779.                                     ["exists"] = true,
  780.                                     ["events"] = {
  781.                                         ["UNIT_HEALTH"] = true,
  782.                                         ["UNIT_AURA"] = true,
  783.                                         ["UNIT_MAXHEALTH"] = true,
  784.                                     },
  785.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nreturn \"%s%%\",Percent(HP(unit),MaxHP(unit))",
  786.                                     ["location"] = "right",
  787.                                     ["attach_to"] = "HealthBar",
  788.                                 },
  789.                                 ["Lua:Alternate power"] = {
  790.                                     ["exists"] = true,
  791.                                     ["events"] = {
  792.                                         ["UNIT_POWER_FREQUENT"] = true,
  793.                                         ["UNIT_MAXPOWER"] = true,
  794.                                     },
  795.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s%%\",Percent(Power(unit,ALTERNATE_POWER_INDEX),max)\nend\nreturn ConfigMode()",
  796.                                     ["location"] = "right",
  797.                                     ["attach_to"] = "AltPowerBar",
  798.                                 },
  799.                                 ["Lua:Class"] = {
  800.                                     ["exists"] = true,
  801.                                     ["events"] = {
  802.                                         ["UNIT_LEVEL"] = true,
  803.                                         ["UNIT_CLASSIFICATION_CHANGED"] = true,
  804.                                         ["UNIT_AURA"] = true,
  805.                                     },
  806.                                     ["code"] = "local dr,dg,db = DifficultyColor(unit)\nlocal form = DruidForm(unit)\nlocal classification = Classification(unit)\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n  local cr,cg,cb = ClassColor(unit)\n  if form then\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  else\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  end\nelse\n  if form then\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  else\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  end\nend",
  807.                                     ["location"] = "left",
  808.                                     ["attach_to"] = "PowerBar",
  809.                                 },
  810.                                 ["Lua:Experience"] = {
  811.                                     ["exists"] = true,
  812.                                     ["events"] = {
  813.                                         ["UNIT_PET_EXPERIENCE"] = true,
  814.                                         ["PLAYER_XP_UPDATE"] = true,
  815.                                     },
  816.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  817.                                     ["location"] = "center",
  818.                                     ["attach_to"] = "ExperienceBar",
  819.                                 },
  820.                                 ["Lua:Demonic fury"] = {
  821.                                     ["exists"] = true,
  822.                                     ["events"] = {
  823.                                         ["UNIT_POWER_FREQUENT"] = true,
  824.                                         ["UNIT_MAXPOWER"] = true,
  825.                                     },
  826.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  827.                                     ["location"] = "center",
  828.                                     ["attach_to"] = "DemonicFury",
  829.                                 },
  830.                             },
  831.                         },
  832.                         ["Focus"] = {
  833.                             ["first"] = false,
  834.                             ["elements"] = {
  835.                                 ["Lua:Eclipse"] = {
  836.                                     ["exists"] = true,
  837.                                     ["events"] = {
  838.                                         ["UNIT_POWER_FREQUENT"] = true,
  839.                                         ["UNIT_MAXPOWER"] = true,
  840.                                     },
  841.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  842.                                     ["location"] = "center",
  843.                                     ["attach_to"] = "Eclipse",
  844.                                 },
  845.                                 ["Lua:Reputation"] = {
  846.                                     ["exists"] = true,
  847.                                     ["events"] = {
  848.                                         ["UNIT_FACTION"] = true,
  849.                                         ["UPDATE_FACTION"] = true,
  850.                                     },
  851.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  852.                                     ["location"] = "center",
  853.                                     ["attach_to"] = "ReputationBar",
  854.                                 },
  855.                                 ["Lua:Name"] = {
  856.                                     ["exists"] = true,
  857.                                     ["events"] = {
  858.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  859.                                         ["UNIT_NAME_UPDATE"] = true,
  860.                                     },
  861.                                     ["code"] = "return '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
  862.                                     ["location"] = "left",
  863.                                     ["attach_to"] = "HealthBar",
  864.                                 },
  865.                                 ["Lua:Threat"] = {
  866.                                     ["exists"] = true,
  867.                                     ["events"] = {
  868.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  869.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  870.                                     },
  871.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  872.                                     ["location"] = "center",
  873.                                     ["attach_to"] = "ThreatBar",
  874.                                 },
  875.                                 ["Lua:Power"] = {
  876.                                     ["exists"] = true,
  877.                                     ["events"] = {
  878.                                         ["UNIT_POWER_FREQUENT"] = true,
  879.                                         ["UNIT_MAXPOWER"] = true,
  880.                                     },
  881.                                     ["code"] = "local max = MaxPower(unit)\nif max > 0 then\n  return \"%s%%\",Percent(Power(unit),max)\nend",
  882.                                     ["location"] = "right",
  883.                                     ["attach_to"] = "PowerBar",
  884.                                 },
  885.                                 ["Lua:Druid mana"] = {
  886.                                     ["exists"] = true,
  887.                                     ["events"] = {
  888.                                         ["UNIT_DISPLAYPOWER"] = true,
  889.                                         ["UNIT_MAXPOWER"] = true,
  890.                                         ["UNIT_POWER_FREQUENT"] = true,
  891.                                     },
  892.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\nend",
  893.                                     ["location"] = "center",
  894.                                     ["attach_to"] = "DruidManaBar",
  895.                                 },
  896.                                 ["Lua:Cast time"] = {
  897.                                     ["exists"] = true,
  898.                                     ["events"] = {
  899.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  900.                                         ["UNIT_SPELLCAST_START"] = true,
  901.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  902.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  903.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  904.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  905.                                         ["UNIT_SPELLCAST_STOP"] = true,
  906.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  907.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  908.                                     },
  909.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  910.                                     ["location"] = "right",
  911.                                     ["attach_to"] = "CastBar",
  912.                                 },
  913.                                 ["Lua:Cast"] = {
  914.                                     ["exists"] = true,
  915.                                     ["events"] = {
  916.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  917.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  918.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  919.                                         ["UNIT_SPELLCAST_START"] = true,
  920.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  921.                                         ["UNIT_SPELLCAST_STOP"] = true,
  922.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  923.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  924.                                     },
  925.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  926.                                     ["location"] = "left",
  927.                                     ["attach_to"] = "CastBar",
  928.                                 },
  929.                                 ["Lua:Health"] = {
  930.                                     ["exists"] = true,
  931.                                     ["events"] = {
  932.                                         ["UNIT_HEALTH"] = true,
  933.                                         ["UNIT_AURA"] = true,
  934.                                         ["UNIT_MAXHEALTH"] = true,
  935.                                     },
  936.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nreturn \"%s%%\",Percent(HP(unit),MaxHP(unit))",
  937.                                     ["location"] = "right",
  938.                                     ["attach_to"] = "HealthBar",
  939.                                 },
  940.                                 ["Lua:PVPTimer"] = {
  941.                                     ["enabled"] = false,
  942.                                     ["exists"] = true,
  943.                                     ["events"] = {
  944.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  945.                                     },
  946.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  947.                                     ["location"] = "out_right_top",
  948.                                 },
  949.                                 ["Lua:Alternate power"] = {
  950.                                     ["exists"] = true,
  951.                                     ["events"] = {
  952.                                         ["UNIT_POWER_FREQUENT"] = true,
  953.                                         ["UNIT_MAXPOWER"] = true,
  954.                                     },
  955.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s/%s\",Short(Power(unit,ALTERNATE_POWER_INDEX),true),Short(max,true)\nend\nreturn ConfigMode()",
  956.                                     ["location"] = "right",
  957.                                     ["attach_to"] = "AltPowerBar",
  958.                                 },
  959.                                 ["Lua:Experience"] = {
  960.                                     ["exists"] = true,
  961.                                     ["events"] = {
  962.                                         ["UNIT_PET_EXPERIENCE"] = true,
  963.                                         ["PLAYER_XP_UPDATE"] = true,
  964.                                     },
  965.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  966.                                     ["location"] = "center",
  967.                                     ["attach_to"] = "ExperienceBar",
  968.                                 },
  969.                                 ["Lua:Demonic fury"] = {
  970.                                     ["exists"] = true,
  971.                                     ["events"] = {
  972.                                         ["UNIT_POWER_FREQUENT"] = true,
  973.                                         ["UNIT_MAXPOWER"] = true,
  974.                                     },
  975.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  976.                                     ["location"] = "center",
  977.                                     ["attach_to"] = "DemonicFury",
  978.                                 },
  979.                             },
  980.                         },
  981.                         ["Target"] = {
  982.                             ["first"] = false,
  983.                             ["elements"] = {
  984.                                 ["Lua:Eclipse"] = {
  985.                                     ["events"] = {
  986.                                         ["UNIT_MAXPOWER"] = true,
  987.                                         ["UNIT_POWER_FREQUENT"] = true,
  988.                                     },
  989.                                     ["exists"] = true,
  990.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  991.                                     ["location"] = "center",
  992.                                     ["attach_to"] = "Eclipse",
  993.                                 },
  994.                                 ["Lua:Power"] = {
  995.                                     ["events"] = {
  996.                                         ["UNIT_MAXPOWER"] = true,
  997.                                         ["UNIT_POWER_FREQUENT"] = true,
  998.                                     },
  999.                                     ["exists"] = true,
  1000.                                     ["code"] = "local max = MaxPower(unit)\nif max > 0 then\n  return \"%s/%s\",Power(unit),max\nend",
  1001.                                     ["location"] = "right",
  1002.                                     ["attach_to"] = "PowerBar",
  1003.                                 },
  1004.                                 ["Lua:Reputation"] = {
  1005.                                     ["events"] = {
  1006.                                         ["UNIT_FACTION"] = true,
  1007.                                         ["UPDATE_FACTION"] = true,
  1008.                                     },
  1009.                                     ["exists"] = true,
  1010.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  1011.                                     ["location"] = "center",
  1012.                                     ["attach_to"] = "ReputationBar",
  1013.                                 },
  1014.                                 ["Lua:Name"] = {
  1015.                                     ["events"] = {
  1016.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1017.                                         ["UNIT_NAME_UPDATE"] = true,
  1018.                                     },
  1019.                                     ["exists"] = true,
  1020.                                     ["code"] = "return '%s',Name(unit)",
  1021.                                     ["location"] = "left",
  1022.                                     ["attach_to"] = "HealthBar",
  1023.                                 },
  1024.                                 ["Lua:Threat"] = {
  1025.                                     ["events"] = {
  1026.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  1027.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  1028.                                     },
  1029.                                     ["exists"] = true,
  1030.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  1031.                                     ["location"] = "center",
  1032.                                     ["attach_to"] = "ThreatBar",
  1033.                                 },
  1034.                                 ["Lua:Experience"] = {
  1035.                                     ["events"] = {
  1036.                                         ["UNIT_PET_EXPERIENCE"] = true,
  1037.                                         ["PLAYER_XP_UPDATE"] = true,
  1038.                                     },
  1039.                                     ["exists"] = true,
  1040.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  1041.                                     ["location"] = "center",
  1042.                                     ["attach_to"] = "ExperienceBar",
  1043.                                 },
  1044.                                 ["Lua:Cast"] = {
  1045.                                     ["events"] = {
  1046.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1047.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1048.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1049.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1050.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1051.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1052.                                         ["UNIT_SPELLCAST_START"] = true,
  1053.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1054.                                     },
  1055.                                     ["exists"] = true,
  1056.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  1057.                                     ["location"] = "left",
  1058.                                     ["attach_to"] = "CastBar",
  1059.                                 },
  1060.                                 ["Lua:Alternate power"] = {
  1061.                                     ["events"] = {
  1062.                                         ["UNIT_MAXPOWER"] = true,
  1063.                                         ["UNIT_POWER_FREQUENT"] = true,
  1064.                                     },
  1065.                                     ["exists"] = true,
  1066.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s%%\",Percent(Power(unit,ALTERNATE_POWER_INDEX),max)\nend\nreturn ConfigMode()",
  1067.                                     ["location"] = "right",
  1068.                                     ["attach_to"] = "AltPowerBar",
  1069.                                 },
  1070.                                 ["Lua:Cast time"] = {
  1071.                                     ["events"] = {
  1072.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  1073.                                         ["UNIT_SPELLCAST_START"] = true,
  1074.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1075.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1076.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1077.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1078.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1079.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1080.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1081.                                     },
  1082.                                     ["exists"] = true,
  1083.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  1084.                                     ["location"] = "right",
  1085.                                     ["attach_to"] = "CastBar",
  1086.                                 },
  1087.                                 ["Lua:Health"] = {
  1088.                                     ["events"] = {
  1089.                                         ["UNIT_HEALTH"] = true,
  1090.                                         ["UNIT_AURA"] = true,
  1091.                                         ["UNIT_MAXHEALTH"] = true,
  1092.                                     },
  1093.                                     ["exists"] = true,
  1094.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nreturn \"%s%%\",Percent(HP(unit),MaxHP(unit))",
  1095.                                     ["location"] = "right",
  1096.                                     ["attach_to"] = "HealthBar",
  1097.                                 },
  1098.                                 ["Lua:PVPTimer"] = {
  1099.                                     ["enabled"] = false,
  1100.                                     ["events"] = {
  1101.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1102.                                     },
  1103.                                     ["exists"] = true,
  1104.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  1105.                                     ["location"] = "out_right_top",
  1106.                                     ["position"] = 1.00001,
  1107.                                 },
  1108.                                 ["Lua:Class"] = {
  1109.                                     ["events"] = {
  1110.                                         ["UNIT_LEVEL"] = true,
  1111.                                         ["UNIT_CLASSIFICATION_CHANGED"] = true,
  1112.                                         ["UNIT_AURA"] = true,
  1113.                                     },
  1114.                                     ["exists"] = true,
  1115.                                     ["code"] = "local dr,dg,db = DifficultyColor(unit)\nlocal form = DruidForm(unit)\nlocal classification = Classification(unit)\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n  local cr,cg,cb = ClassColor(unit)\n  if form then\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  else\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  end\nelse\n  if form then\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  else\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  end\nend",
  1116.                                     ["location"] = "left",
  1117.                                     ["attach_to"] = "PowerBar",
  1118.                                 },
  1119.                                 ["Lua:Druid mana"] = {
  1120.                                     ["events"] = {
  1121.                                         ["UNIT_DISPLAYPOWER"] = true,
  1122.                                         ["UNIT_MAXPOWER"] = true,
  1123.                                         ["UNIT_POWER_FREQUENT"] = true,
  1124.                                     },
  1125.                                     ["exists"] = true,
  1126.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\nend",
  1127.                                     ["location"] = "center",
  1128.                                     ["attach_to"] = "DruidManaBar",
  1129.                                 },
  1130.                                 ["Lua:Demonic fury"] = {
  1131.                                     ["events"] = {
  1132.                                         ["UNIT_MAXPOWER"] = true,
  1133.                                         ["UNIT_POWER_FREQUENT"] = true,
  1134.                                     },
  1135.                                     ["exists"] = true,
  1136.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  1137.                                     ["location"] = "center",
  1138.                                     ["attach_to"] = "DemonicFury",
  1139.                                 },
  1140.                             },
  1141.                         },
  1142.                         ["Pet"] = {
  1143.                             ["first"] = false,
  1144.                             ["elements"] = {
  1145.                                 ["Lua:Eclipse"] = {
  1146.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  1147.                                     ["exists"] = true,
  1148.                                     ["position"] = 6,
  1149.                                     ["location"] = "center",
  1150.                                     ["events"] = {
  1151.                                         ["UNIT_POWER_FREQUENT"] = true,
  1152.                                         ["UNIT_MAXPOWER"] = true,
  1153.                                     },
  1154.                                     ["attach_to"] = "Eclipse",
  1155.                                 },
  1156.                                 ["Lua:Name"] = {
  1157.                                     ["code"] = "return '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
  1158.                                     ["exists"] = true,
  1159.                                     ["position"] = 27,
  1160.                                     ["location"] = "left",
  1161.                                     ["events"] = {
  1162.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1163.                                         ["UNIT_NAME_UPDATE"] = true,
  1164.                                     },
  1165.                                     ["attach_to"] = "HealthBar",
  1166.                                 },
  1167.                                 ["Lua:Reputation"] = {
  1168.                                     ["exists"] = true,
  1169.                                     ["events"] = {
  1170.                                         ["UNIT_FACTION"] = true,
  1171.                                         ["UPDATE_FACTION"] = true,
  1172.                                     },
  1173.                                     ["position"] = 5,
  1174.                                     ["location"] = "left",
  1175.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  1176.                                     ["attach_to"] = "ReputationBar",
  1177.                                     ["size"] = 0.8,
  1178.                                 },
  1179.                                 ["Lua:Power"] = {
  1180.                                     ["exists"] = true,
  1181.                                     ["events"] = {
  1182.                                         ["UNIT_MAXPOWER"] = true,
  1183.                                         ["UNIT_POWER_FREQUENT"] = true,
  1184.                                     },
  1185.                                     ["position"] = 4,
  1186.                                     ["location"] = "right",
  1187.                                     ["code"] = "local max = MaxPower(unit)\nif max > 0 then\n  return VeryShort(Power(unit))\nend",
  1188.                                     ["attach_to"] = "PowerBar",
  1189.                                     ["size"] = 0.9,
  1190.                                 },
  1191.                                 ["Lua:Threat"] = {
  1192.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  1193.                                     ["exists"] = true,
  1194.                                     ["position"] = 2,
  1195.                                     ["location"] = "center",
  1196.                                     ["events"] = {
  1197.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  1198.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  1199.                                     },
  1200.                                     ["attach_to"] = "ThreatBar",
  1201.                                 },
  1202.                                 ["Lua:Druid mana"] = {
  1203.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\nend",
  1204.                                     ["exists"] = true,
  1205.                                     ["position"] = 3,
  1206.                                     ["location"] = "center",
  1207.                                     ["events"] = {
  1208.                                         ["UNIT_DISPLAYPOWER"] = true,
  1209.                                         ["UNIT_MAXPOWER"] = true,
  1210.                                         ["UNIT_POWER_FREQUENT"] = true,
  1211.                                     },
  1212.                                     ["attach_to"] = "DruidManaBar",
  1213.                                 },
  1214.                                 ["Lua:Cast time"] = {
  1215.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  1216.                                     ["exists"] = true,
  1217.                                     ["position"] = 7,
  1218.                                     ["location"] = "right",
  1219.                                     ["events"] = {
  1220.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  1221.                                         ["UNIT_SPELLCAST_START"] = true,
  1222.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1223.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1224.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1225.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1226.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1227.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1228.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1229.                                     },
  1230.                                     ["attach_to"] = "CastBar",
  1231.                                 },
  1232.                                 ["Lua:PVPTimer"] = {
  1233.                                     ["enabled"] = false,
  1234.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  1235.                                     ["exists"] = true,
  1236.                                     ["position"] = 10,
  1237.                                     ["location"] = "out_right_top",
  1238.                                     ["events"] = {
  1239.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1240.                                     },
  1241.                                 },
  1242.                                 ["Lua:Cast"] = {
  1243.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  1244.                                     ["exists"] = true,
  1245.                                     ["position"] = 8,
  1246.                                     ["location"] = "left",
  1247.                                     ["events"] = {
  1248.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1249.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1250.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1251.                                         ["UNIT_SPELLCAST_START"] = true,
  1252.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1253.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1254.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1255.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1256.                                     },
  1257.                                     ["attach_to"] = "CastBar",
  1258.                                 },
  1259.                                 ["Lua:Health"] = {
  1260.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nlocal cur, max = HP(unit), MaxHP(unit)\nreturn \"%s/%s || %s%%\",Short(cur,true),Short(max,true),Percent(cur,max)",
  1261.                                     ["exists"] = true,
  1262.                                     ["position"] = 12,
  1263.                                     ["location"] = "right",
  1264.                                     ["events"] = {
  1265.                                         ["UNIT_HEALTH"] = true,
  1266.                                         ["UNIT_AURA"] = true,
  1267.                                         ["UNIT_MAXHEALTH"] = true,
  1268.                                     },
  1269.                                     ["attach_to"] = "HealthBar",
  1270.                                 },
  1271.                                 ["Lua:Alternate power"] = {
  1272.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s/%s\",Short(Power(unit,ALTERNATE_POWER_INDEX),true),Short(max,true)\nend\nreturn ConfigMode()",
  1273.                                     ["exists"] = true,
  1274.                                     ["position"] = 11,
  1275.                                     ["location"] = "right",
  1276.                                     ["events"] = {
  1277.                                         ["UNIT_POWER_FREQUENT"] = true,
  1278.                                         ["UNIT_MAXPOWER"] = true,
  1279.                                     },
  1280.                                     ["attach_to"] = "AltPowerBar",
  1281.                                 },
  1282.                                 ["Lua:Class"] = {
  1283.                                     ["code"] = "if UnitIsPlayer(unit) then\n  local cr,cg,cb = DifficultyColor(unit)\n  return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Level(unit)\nend",
  1284.                                     ["exists"] = true,
  1285.                                     ["position"] = 9,
  1286.                                     ["location"] = "left",
  1287.                                     ["events"] = {
  1288.                                         ["UNIT_LEVEL"] = true,
  1289.                                     },
  1290.                                     ["attach_to"] = "HealthBar",
  1291.                                 },
  1292.                                 ["Lua:Experience"] = {
  1293.                                     ["exists"] = true,
  1294.                                     ["events"] = {
  1295.                                         ["UNIT_PET_EXPERIENCE"] = true,
  1296.                                         ["PLAYER_XP_UPDATE"] = true,
  1297.                                     },
  1298.                                     ["position"] = 13,
  1299.                                     ["location"] = "left",
  1300.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  1301.                                     ["attach_to"] = "ExperienceBar",
  1302.                                     ["size"] = 0.85,
  1303.                                 },
  1304.                                 ["Lua:Demonic fury"] = {
  1305.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  1306.                                     ["exists"] = true,
  1307.                                     ["position"] = 25,
  1308.                                     ["location"] = "center",
  1309.                                     ["events"] = {
  1310.                                         ["UNIT_POWER_FREQUENT"] = true,
  1311.                                         ["UNIT_MAXPOWER"] = true,
  1312.                                     },
  1313.                                     ["attach_to"] = "DemonicFury",
  1314.                                 },
  1315.                             },
  1316.                         },
  1317.                         ["BossParty"] = {
  1318.                             ["first"] = false,
  1319.                             ["elements"] = {
  1320.                                 ["Lua:Eclipse"] = {
  1321.                                     ["exists"] = true,
  1322.                                     ["events"] = {
  1323.                                         ["UNIT_POWER_FREQUENT"] = true,
  1324.                                         ["UNIT_MAXPOWER"] = true,
  1325.                                     },
  1326.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  1327.                                     ["location"] = "center",
  1328.                                     ["attach_to"] = "Eclipse",
  1329.                                 },
  1330.                                 ["Lua:Name"] = {
  1331.                                     ["events"] = {
  1332.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1333.                                         ["UNIT_NAME_UPDATE"] = true,
  1334.                                     },
  1335.                                     ["exists"] = true,
  1336.                                     ["code"] = "return '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
  1337.                                     ["location"] = "left",
  1338.                                     ["attach_to"] = "HealthBar",
  1339.                                 },
  1340.                                 ["Lua:Reputation"] = {
  1341.                                     ["exists"] = true,
  1342.                                     ["events"] = {
  1343.                                         ["UNIT_FACTION"] = true,
  1344.                                         ["UPDATE_FACTION"] = true,
  1345.                                     },
  1346.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  1347.                                     ["location"] = "center",
  1348.                                     ["attach_to"] = "ReputationBar",
  1349.                                 },
  1350.                                 ["Lua:Power"] = {
  1351.                                     ["exists"] = true,
  1352.                                     ["events"] = {
  1353.                                         ["UNIT_POWER_FREQUENT"] = true,
  1354.                                         ["UNIT_MAXPOWER"] = true,
  1355.                                     },
  1356.                                     ["code"] = "local max = MaxPower(unit)\nif max > 0 then\n  return \"%s%%\",Percent(Power(unit),max)\nend",
  1357.                                     ["location"] = "right",
  1358.                                     ["attach_to"] = "PowerBar",
  1359.                                 },
  1360.                                 ["Lua:Threat"] = {
  1361.                                     ["exists"] = true,
  1362.                                     ["events"] = {
  1363.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  1364.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  1365.                                     },
  1366.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  1367.                                     ["location"] = "center",
  1368.                                     ["attach_to"] = "ThreatBar",
  1369.                                 },
  1370.                                 ["Lua:Druid mana"] = {
  1371.                                     ["exists"] = true,
  1372.                                     ["events"] = {
  1373.                                         ["UNIT_DISPLAYPOWER"] = true,
  1374.                                         ["UNIT_MAXPOWER"] = true,
  1375.                                         ["UNIT_POWER_FREQUENT"] = true,
  1376.                                     },
  1377.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\nend",
  1378.                                     ["location"] = "center",
  1379.                                     ["attach_to"] = "DruidManaBar",
  1380.                                 },
  1381.                                 ["Lua:Cast time"] = {
  1382.                                     ["exists"] = true,
  1383.                                     ["events"] = {
  1384.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  1385.                                         ["UNIT_SPELLCAST_START"] = true,
  1386.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1387.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1388.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1389.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1390.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1391.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1392.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1393.                                     },
  1394.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  1395.                                     ["location"] = "right",
  1396.                                     ["attach_to"] = "CastBar",
  1397.                                 },
  1398.                                 ["Lua:PVPTimer"] = {
  1399.                                     ["enabled"] = false,
  1400.                                     ["exists"] = true,
  1401.                                     ["events"] = {
  1402.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1403.                                     },
  1404.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  1405.                                     ["location"] = "out_right_top",
  1406.                                 },
  1407.                                 ["Lua:Cast"] = {
  1408.                                     ["exists"] = true,
  1409.                                     ["events"] = {
  1410.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1411.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1412.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1413.                                         ["UNIT_SPELLCAST_START"] = true,
  1414.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1415.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1416.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1417.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1418.                                     },
  1419.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  1420.                                     ["location"] = "left",
  1421.                                     ["attach_to"] = "CastBar",
  1422.                                 },
  1423.                                 ["Lua:Health"] = {
  1424.                                     ["exists"] = true,
  1425.                                     ["events"] = {
  1426.                                         ["UNIT_HEALTH"] = true,
  1427.                                         ["UNIT_AURA"] = true,
  1428.                                         ["UNIT_MAXHEALTH"] = true,
  1429.                                     },
  1430.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nreturn \"%s%%\",Percent(HP(unit),MaxHP(unit))",
  1431.                                     ["location"] = "right",
  1432.                                     ["attach_to"] = "HealthBar",
  1433.                                 },
  1434.                                 ["Lua:Alternate power"] = {
  1435.                                     ["exists"] = true,
  1436.                                     ["events"] = {
  1437.                                         ["UNIT_POWER_FREQUENT"] = true,
  1438.                                         ["UNIT_MAXPOWER"] = true,
  1439.                                     },
  1440.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s/%s\",Short(Power(unit,ALTERNATE_POWER_INDEX),true),Short(max,true)\nend\nreturn ConfigMode()",
  1441.                                     ["location"] = "right",
  1442.                                     ["attach_to"] = "AltPowerBar",
  1443.                                 },
  1444.                                 ["Lua:Class"] = {
  1445.                                     ["exists"] = true,
  1446.                                     ["events"] = {
  1447.                                         ["UNIT_LEVEL"] = true,
  1448.                                         ["UNIT_CLASSIFICATION_CHANGED"] = true,
  1449.                                         ["UNIT_AURA"] = true,
  1450.                                     },
  1451.                                     ["code"] = "local dr,dg,db = DifficultyColor(unit)\nlocal form = DruidForm(unit)\nlocal classification = Classification(unit)\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n  local cr,cg,cb = ClassColor(unit)\n  if form then\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  else\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  end\nelse\n  if form then\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  else\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  end\nend",
  1452.                                     ["location"] = "left",
  1453.                                     ["attach_to"] = "PowerBar",
  1454.                                 },
  1455.                                 ["Lua:Experience"] = {
  1456.                                     ["exists"] = true,
  1457.                                     ["events"] = {
  1458.                                         ["UNIT_PET_EXPERIENCE"] = true,
  1459.                                         ["PLAYER_XP_UPDATE"] = true,
  1460.                                     },
  1461.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  1462.                                     ["location"] = "center",
  1463.                                     ["attach_to"] = "ExperienceBar",
  1464.                                 },
  1465.                                 ["Lua:Demonic fury"] = {
  1466.                                     ["exists"] = true,
  1467.                                     ["events"] = {
  1468.                                         ["UNIT_POWER_FREQUENT"] = true,
  1469.                                         ["UNIT_MAXPOWER"] = true,
  1470.                                     },
  1471.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  1472.                                     ["location"] = "center",
  1473.                                     ["attach_to"] = "DemonicFury",
  1474.                                 },
  1475.                             },
  1476.                         },
  1477.                         ["Player"] = {
  1478.                             ["first"] = false,
  1479.                             ["elements"] = {
  1480.                                 ["Lua:Eclipse"] = {
  1481.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  1482.                                     ["events"] = {
  1483.                                         ["UNIT_MAXPOWER"] = true,
  1484.                                         ["UNIT_POWER_FREQUENT"] = true,
  1485.                                     },
  1486.                                     ["position"] = 6,
  1487.                                     ["location"] = "center",
  1488.                                     ["exists"] = true,
  1489.                                     ["attach_to"] = "Eclipse",
  1490.                                 },
  1491.                                 ["Lua:Power"] = {
  1492.                                     ["code"] = "local cur,max = Power(unit),MaxPower(unit)\nif max > 0 then\n  return \"%s/%s || %s%%\",cur,max,Percent(cur,max)\nend",
  1493.                                     ["events"] = {
  1494.                                         ["UNIT_MAXPOWER"] = true,
  1495.                                         ["UNIT_POWER_FREQUENT"] = true,
  1496.                                     },
  1497.                                     ["position"] = 4,
  1498.                                     ["location"] = "right",
  1499.                                     ["exists"] = true,
  1500.                                     ["attach_to"] = "PowerBar",
  1501.                                 },
  1502.                                 ["Lua:Reputation"] = {
  1503.                                     ["events"] = {
  1504.                                         ["UNIT_FACTION"] = true,
  1505.                                         ["UPDATE_FACTION"] = true,
  1506.                                     },
  1507.                                     ["exists"] = true,
  1508.                                     ["position"] = 5,
  1509.                                     ["location"] = "left",
  1510.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  1511.                                     ["attach_to"] = "ReputationBar",
  1512.                                     ["size"] = 0.8,
  1513.                                 },
  1514.                                 ["Lua:Name"] = {
  1515.                                     ["code"] = "return '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
  1516.                                     ["events"] = {
  1517.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1518.                                         ["UNIT_NAME_UPDATE"] = true,
  1519.                                     },
  1520.                                     ["position"] = 27,
  1521.                                     ["location"] = "left",
  1522.                                     ["exists"] = true,
  1523.                                     ["attach_to"] = "HealthBar",
  1524.                                 },
  1525.                                 ["Lua:Threat"] = {
  1526.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  1527.                                     ["events"] = {
  1528.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  1529.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  1530.                                     },
  1531.                                     ["position"] = 2,
  1532.                                     ["location"] = "center",
  1533.                                     ["exists"] = true,
  1534.                                     ["attach_to"] = "ThreatBar",
  1535.                                 },
  1536.                                 ["Lua:Experience"] = {
  1537.                                     ["events"] = {
  1538.                                         ["UNIT_PET_EXPERIENCE"] = true,
  1539.                                         ["PLAYER_XP_UPDATE"] = true,
  1540.                                     },
  1541.                                     ["exists"] = true,
  1542.                                     ["position"] = 13,
  1543.                                     ["location"] = "left",
  1544.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  1545.                                     ["attach_to"] = "ExperienceBar",
  1546.                                     ["size"] = 0.85,
  1547.                                 },
  1548.                                 ["Lua:Cast"] = {
  1549.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  1550.                                     ["events"] = {
  1551.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1552.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1553.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1554.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1555.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1556.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1557.                                         ["UNIT_SPELLCAST_START"] = true,
  1558.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1559.                                     },
  1560.                                     ["position"] = 8,
  1561.                                     ["location"] = "left",
  1562.                                     ["exists"] = true,
  1563.                                     ["attach_to"] = "CastBar",
  1564.                                 },
  1565.                                 ["Lua:Alternate power"] = {
  1566.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s/%s\",Short(Power(unit,ALTERNATE_POWER_INDEX),true),Short(max,true)\nend\nreturn ConfigMode()",
  1567.                                     ["events"] = {
  1568.                                         ["UNIT_POWER_FREQUENT"] = true,
  1569.                                         ["UNIT_MAXPOWER"] = true,
  1570.                                     },
  1571.                                     ["position"] = 11,
  1572.                                     ["location"] = "right",
  1573.                                     ["exists"] = true,
  1574.                                     ["attach_to"] = "AltPowerBar",
  1575.                                 },
  1576.                                 ["Lua:Cast time"] = {
  1577.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  1578.                                     ["events"] = {
  1579.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  1580.                                         ["UNIT_SPELLCAST_START"] = true,
  1581.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1582.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1583.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1584.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1585.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1586.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1587.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1588.                                     },
  1589.                                     ["position"] = 7,
  1590.                                     ["location"] = "right",
  1591.                                     ["exists"] = true,
  1592.                                     ["attach_to"] = "CastBar",
  1593.                                 },
  1594.                                 ["Lua:Health"] = {
  1595.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nreturn \"%s/%s\",Short(HP(unit),true),Short(MaxHP(unit),true)",
  1596.                                     ["events"] = {
  1597.                                         ["UNIT_HEALTH"] = true,
  1598.                                         ["UNIT_AURA"] = true,
  1599.                                         ["UNIT_MAXHEALTH"] = true,
  1600.                                     },
  1601.                                     ["position"] = 12,
  1602.                                     ["location"] = "in_top_right",
  1603.                                     ["exists"] = true,
  1604.                                 },
  1605.                                 ["Lua:PVPTimer"] = {
  1606.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  1607.                                     ["events"] = {
  1608.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1609.                                     },
  1610.                                     ["position"] = 10,
  1611.                                     ["location"] = "out_right_top",
  1612.                                     ["exists"] = true,
  1613.                                 },
  1614.                                 ["Lua:Class"] = {
  1615.                                     ["exists"] = true,
  1616.                                     ["events"] = {
  1617.                                         ["UNIT_LEVEL"] = true,
  1618.                                     },
  1619.                                     ["position"] = 9,
  1620.                                     ["location"] = "left",
  1621.                                     ["code"] = "if UnitIsPlayer(unit) then\n  local cr,cg,cb = DifficultyColor(unit)\n  return \"|cff%02x%02x%02x%s|r\",cr,cg,cb,Level(unit)\nend",
  1622.                                     ["attach_to"] = "HealthBar",
  1623.                                 },
  1624.                                 ["Lua:Druid mana"] = {
  1625.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  local max = MaxPower(unit,0)\n  if max > 0 then\n    return \"%s/%s || %s%%\",Short(Power(unit,0),true),Short(MaxPower(unit,0),true),Percent(Power(unit,0),max)\n  end\nend",
  1626.                                     ["events"] = {
  1627.                                         ["UNIT_DISPLAYPOWER"] = true,
  1628.                                         ["UNIT_MAXPOWER"] = true,
  1629.                                         ["UNIT_POWER_FREQUENT"] = true,
  1630.                                     },
  1631.                                     ["position"] = 3,
  1632.                                     ["location"] = "center",
  1633.                                     ["exists"] = true,
  1634.                                     ["attach_to"] = "DruidManaBar",
  1635.                                     ["size"] = 0.95,
  1636.                                 },
  1637.                                 ["Lua:Demonic fury"] = {
  1638.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  1639.                                     ["events"] = {
  1640.                                         ["UNIT_MAXPOWER"] = true,
  1641.                                         ["UNIT_POWER_FREQUENT"] = true,
  1642.                                     },
  1643.                                     ["position"] = 25,
  1644.                                     ["location"] = "center",
  1645.                                     ["exists"] = true,
  1646.                                     ["attach_to"] = "DemonicFury",
  1647.                                 },
  1648.                             },
  1649.                         },
  1650.                     },
  1651.                 },
  1652.                 ["Default"] = {
  1653.                     ["layouts"] = {
  1654.                         ["Normal"] = {
  1655.                             ["elements"] = {
  1656.                                 ["Lua:Eclipse"] = {
  1657.                                     ["events"] = {
  1658.                                         ["UNIT_MAXPOWER"] = true,
  1659.                                         ["UNIT_POWER_FREQUENT"] = true,
  1660.                                     },
  1661.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  1662.                                     ["location"] = "center",
  1663.                                     ["attach_to"] = "Eclipse",
  1664.                                     ["exists"] = true,
  1665.                                 },
  1666.                                 ["Lua:Power"] = {
  1667.                                     ["events"] = {
  1668.                                         ["UNIT_MAXPOWER"] = true,
  1669.                                         ["UNIT_POWER_FREQUENT"] = true,
  1670.                                     },
  1671.                                     ["code"] = "local max = MaxPower(unit)\nif max > 0 then\n  return \"%s/%s\",Power(unit),max\nend",
  1672.                                     ["location"] = "right",
  1673.                                     ["attach_to"] = "PowerBar",
  1674.                                     ["exists"] = true,
  1675.                                 },
  1676.                                 ["Lua:Reputation"] = {
  1677.                                     ["events"] = {
  1678.                                         ["UNIT_FACTION"] = true,
  1679.                                         ["UPDATE_FACTION"] = true,
  1680.                                     },
  1681.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  1682.                                     ["location"] = "center",
  1683.                                     ["attach_to"] = "ReputationBar",
  1684.                                     ["exists"] = true,
  1685.                                 },
  1686.                                 ["Lua:Name"] = {
  1687.                                     ["events"] = {
  1688.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1689.                                         ["UNIT_NAME_UPDATE"] = true,
  1690.                                     },
  1691.                                     ["code"] = "return '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
  1692.                                     ["location"] = "left",
  1693.                                     ["attach_to"] = "HealthBar",
  1694.                                     ["exists"] = true,
  1695.                                 },
  1696.                                 ["Lua:Threat"] = {
  1697.                                     ["events"] = {
  1698.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  1699.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  1700.                                     },
  1701.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  1702.                                     ["location"] = "center",
  1703.                                     ["attach_to"] = "ThreatBar",
  1704.                                     ["exists"] = true,
  1705.                                 },
  1706.                                 ["Lua:Experience"] = {
  1707.                                     ["events"] = {
  1708.                                         ["UNIT_PET_EXPERIENCE"] = true,
  1709.                                         ["PLAYER_XP_UPDATE"] = true,
  1710.                                     },
  1711.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  1712.                                     ["location"] = "center",
  1713.                                     ["attach_to"] = "ExperienceBar",
  1714.                                     ["exists"] = true,
  1715.                                 },
  1716.                                 ["Lua:Cast"] = {
  1717.                                     ["events"] = {
  1718.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1719.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1720.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1721.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1722.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1723.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1724.                                         ["UNIT_SPELLCAST_START"] = true,
  1725.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1726.                                     },
  1727.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  1728.                                     ["location"] = "left",
  1729.                                     ["attach_to"] = "CastBar",
  1730.                                     ["exists"] = true,
  1731.                                 },
  1732.                                 ["Lua:Alternate power"] = {
  1733.                                     ["events"] = {
  1734.                                         ["UNIT_MAXPOWER"] = true,
  1735.                                         ["UNIT_POWER_FREQUENT"] = true,
  1736.                                     },
  1737.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s%%\",Percent(Power(unit,ALTERNATE_POWER_INDEX),max)\nend\nreturn ConfigMode()",
  1738.                                     ["location"] = "right",
  1739.                                     ["attach_to"] = "AltPowerBar",
  1740.                                     ["exists"] = true,
  1741.                                 },
  1742.                                 ["Lua:Cast time"] = {
  1743.                                     ["events"] = {
  1744.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  1745.                                         ["UNIT_SPELLCAST_START"] = true,
  1746.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1747.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1748.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1749.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1750.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1751.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1752.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1753.                                     },
  1754.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  1755.                                     ["location"] = "right",
  1756.                                     ["attach_to"] = "CastBar",
  1757.                                     ["exists"] = true,
  1758.                                 },
  1759.                                 ["Lua:Health"] = {
  1760.                                     ["events"] = {
  1761.                                         ["UNIT_HEALTH"] = true,
  1762.                                         ["UNIT_AURA"] = true,
  1763.                                         ["UNIT_MAXHEALTH"] = true,
  1764.                                     },
  1765.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nlocal cur, max = HP(unit), MaxHP(unit)\nreturn \"%s/%s || %s%%\",Short(cur,true),Short(max,true),Percent(cur,max)",
  1766.                                     ["location"] = "right",
  1767.                                     ["attach_to"] = "HealthBar",
  1768.                                     ["exists"] = true,
  1769.                                 },
  1770.                                 ["Lua:PVPTimer"] = {
  1771.                                     ["location"] = "out_right_top",
  1772.                                     ["events"] = {
  1773.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1774.                                     },
  1775.                                     ["exists"] = true,
  1776.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  1777.                                 },
  1778.                                 ["Lua:Class"] = {
  1779.                                     ["events"] = {
  1780.                                         ["UNIT_LEVEL"] = true,
  1781.                                         ["UNIT_CLASSIFICATION_CHANGED"] = true,
  1782.                                         ["UNIT_AURA"] = true,
  1783.                                     },
  1784.                                     ["code"] = "local dr,dg,db = DifficultyColor(unit)\nlocal form = DruidForm(unit)\nlocal classification = Classification(unit)\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n  local cr,cg,cb = ClassColor(unit)\n  if form then\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  else\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  end\nelse\n  if form then\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  else\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  end\nend",
  1785.                                     ["location"] = "left",
  1786.                                     ["attach_to"] = "PowerBar",
  1787.                                     ["exists"] = true,
  1788.                                 },
  1789.                                 ["Lua:Druid mana"] = {
  1790.                                     ["events"] = {
  1791.                                         ["UNIT_DISPLAYPOWER"] = true,
  1792.                                         ["UNIT_MAXPOWER"] = true,
  1793.                                         ["UNIT_POWER_FREQUENT"] = true,
  1794.                                     },
  1795.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\nend",
  1796.                                     ["location"] = "center",
  1797.                                     ["attach_to"] = "DruidManaBar",
  1798.                                     ["exists"] = true,
  1799.                                 },
  1800.                                 ["Lua:Demonic fury"] = {
  1801.                                     ["events"] = {
  1802.                                         ["UNIT_MAXPOWER"] = true,
  1803.                                         ["UNIT_POWER_FREQUENT"] = true,
  1804.                                     },
  1805.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  1806.                                     ["location"] = "center",
  1807.                                     ["attach_to"] = "DemonicFury",
  1808.                                     ["exists"] = true,
  1809.                                 },
  1810.                             },
  1811.                             ["first"] = false,
  1812.                         },
  1813.                         ["Player"] = {
  1814.                             ["elements"] = {
  1815.                                 ["Lua:Eclipse"] = {
  1816.                                     ["exists"] = true,
  1817.                                     ["code"] = "return math.abs(Power(unit,SPELL_POWER_ECLIPSE))\n",
  1818.                                     ["location"] = "center",
  1819.                                     ["attach_to"] = "Eclipse",
  1820.                                     ["events"] = {
  1821.                                         ["UNIT_POWER_FREQUENT"] = true,
  1822.                                         ["UNIT_MAXPOWER"] = true,
  1823.                                     },
  1824.                                 },
  1825.                                 ["Lua:Name"] = {
  1826.                                     ["exists"] = true,
  1827.                                     ["code"] = "return '%s %s%s%s',Name(unit),Angle(AFK(unit) or DND(unit))",
  1828.                                     ["location"] = "left",
  1829.                                     ["attach_to"] = "HealthBar",
  1830.                                     ["events"] = {
  1831.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1832.                                         ["UNIT_NAME_UPDATE"] = true,
  1833.                                     },
  1834.                                 },
  1835.                                 ["Lua:Reputation"] = {
  1836.                                     ["exists"] = true,
  1837.                                     ["code"] = "local name, _, min , max, value, id = GetWatchedFactionInfo()\nif IsMouseOver() then\n  return name or ConfigMode() \nelse\n  local fs_id, fs_rep, _, _, _, _, _, fs_threshold, next_fs_threshold = GetFriendshipReputation(id)\n  if fs_id then\n    if next_fs_threshold then\n      min, max, value = fs_threshold, next_fs_threshold, fs_rep\n    else\n      min, max, value = 0, 1, 1\n    end\n  end\n  local bar_cur,bar_max = value-min,max-min\n  return \"%d/%d (%s%%)\",bar_cur,bar_max,Percent(bar_cur,bar_max)\nend",
  1838.                                     ["location"] = "center",
  1839.                                     ["attach_to"] = "ReputationBar",
  1840.                                     ["events"] = {
  1841.                                         ["UNIT_FACTION"] = true,
  1842.                                         ["UPDATE_FACTION"] = true,
  1843.                                     },
  1844.                                 },
  1845.                                 ["Lua:Power"] = {
  1846.                                     ["exists"] = true,
  1847.                                     ["code"] = "local max = MaxPower(unit)\nif max > 0 then\n  return \"%s/%s\",Power(unit),max\nend",
  1848.                                     ["location"] = "right",
  1849.                                     ["attach_to"] = "PowerBar",
  1850.                                     ["events"] = {
  1851.                                         ["UNIT_POWER_FREQUENT"] = true,
  1852.                                         ["UNIT_MAXPOWER"] = true,
  1853.                                     },
  1854.                                 },
  1855.                                 ["Lua:Threat"] = {
  1856.                                     ["exists"] = true,
  1857.                                     ["code"] = "local unit_a,unit_b = ThreatPair(unit)\nif unit_a and unit_b then\n  local _,_,percent = UnitDetailedThreatSituation(unit_a, unit_b)\n  if percent and percent ~= 0 then\n    return \"%s%%\",Round(percent,1)\n  end\nend\nreturn ConfigMode()",
  1858.                                     ["location"] = "center",
  1859.                                     ["attach_to"] = "ThreatBar",
  1860.                                     ["events"] = {
  1861.                                         ["UNIT_THREAT_LIST_UPDATE"] = true,
  1862.                                         ["UNIT_THREAT_SITUATION_UPDATE"] = true,
  1863.                                     },
  1864.                                 },
  1865.                                 ["Lua:Druid mana"] = {
  1866.                                     ["exists"] = true,
  1867.                                     ["code"] = "if UnitPowerType(unit) ~= 0 then\n  return \"%s/%s\",Power(unit,0),MaxPower(unit,0)\nend",
  1868.                                     ["location"] = "center",
  1869.                                     ["attach_to"] = "DruidManaBar",
  1870.                                     ["events"] = {
  1871.                                         ["UNIT_DISPLAYPOWER"] = true,
  1872.                                         ["UNIT_MAXPOWER"] = true,
  1873.                                         ["UNIT_POWER_FREQUENT"] = true,
  1874.                                     },
  1875.                                 },
  1876.                                 ["Lua:Cast time"] = {
  1877.                                     ["exists"] = true,
  1878.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  if not cast_data.stop_time then\n    local delay,end_time = cast_data.delay, cast_data.end_time\n    local duration\n    if end_time then\n      duration = end_time - GetTime()\n    end\n    if delay and delay ~= 0 then\n      local delay_sign = '+'\n      if delay < 0 then\n        delay_sign = ''\n      end\n      if duration and duration >= 0 then\n        return \"|cffff0000%s%s|r %.1f\",delay_sign,Round(delay,1),duration\n      else\n        return \"|cffff0000%s%s|r\",delay_sign,Round(delay,1)\n      end\n    elseif duration and duration >= 0 then\n      return \"%.1f\",duration\n    end\n  end\nend\nreturn ConfigMode()",
  1879.                                     ["location"] = "right",
  1880.                                     ["attach_to"] = "CastBar",
  1881.                                     ["events"] = {
  1882.                                         ["UNIT_SPELLCAST_SUCCEEDED"] = true,
  1883.                                         ["UNIT_SPELLCAST_START"] = true,
  1884.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1885.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1886.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1887.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1888.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1889.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1890.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1891.                                     },
  1892.                                 },
  1893.                                 ["Lua:PVPTimer"] = {
  1894.                                     ["location"] = "out_right_top",
  1895.                                     ["exists"] = true,
  1896.                                     ["events"] = {
  1897.                                         ["PLAYER_FLAGS_CHANGED"] = true,
  1898.                                     },
  1899.                                     ["code"] = "if unit == \"player\" then\n  local pvp = PVPDuration()\n  if pvp then\n    return \"|cffff0000%s|r\",FormatDuration(pvp)\n  end\nend",
  1900.                                 },
  1901.                                 ["Lua:Cast"] = {
  1902.                                     ["exists"] = true,
  1903.                                     ["code"] = "local cast_data = CastData(unit)\nif cast_data then\n  local spell,stop_message,target = cast_data.spell,cast_data.stop_message,cast_data.target\n  local stop_time,stop_duration = cast_data.stop_time\n  if stop_time then\n    stop_duration = GetTime() - stop_time\n  end\n  Alpha(-(stop_duration or 0) + 1)\n  if stop_message then\n    return stop_message\n  elseif target then\n    return \"%s (%s)\",spell,target\n  else\n    return spell \n  end\nend\nreturn ConfigMode()",
  1904.                                     ["location"] = "left",
  1905.                                     ["attach_to"] = "CastBar",
  1906.                                     ["events"] = {
  1907.                                         ["UNIT_SPELLCAST_DELAYED"] = true,
  1908.                                         ["UNIT_SPELLCAST_CHANNEL_START"] = true,
  1909.                                         ["UNIT_SPELLCAST_CHANNEL_UPDATE"] = true,
  1910.                                         ["UNIT_SPELLCAST_START"] = true,
  1911.                                         ["UNIT_SPELLCAST_CHANNEL_STOP"] = true,
  1912.                                         ["UNIT_SPELLCAST_STOP"] = true,
  1913.                                         ["UNIT_SPELLCAST_INTERRUPTED"] = true,
  1914.                                         ["UNIT_SPELLCAST_FAILED"] = true,
  1915.                                     },
  1916.                                 },
  1917.                                 ["Lua:Health"] = {
  1918.                                     ["exists"] = true,
  1919.                                     ["code"] = "local s = Status(unit)\nif s then\n  return s\nend\nlocal cur, max = HP(unit), MaxHP(unit)\nreturn \"%s/%s || %s%%\",Short(cur,true),Short(max,true),Percent(cur,max)",
  1920.                                     ["location"] = "right",
  1921.                                     ["attach_to"] = "HealthBar",
  1922.                                     ["events"] = {
  1923.                                         ["UNIT_HEALTH"] = true,
  1924.                                         ["UNIT_AURA"] = true,
  1925.                                         ["UNIT_MAXHEALTH"] = true,
  1926.                                     },
  1927.                                 },
  1928.                                 ["Lua:Alternate power"] = {
  1929.                                     ["exists"] = true,
  1930.                                     ["code"] = "local max = MaxPower(unit,ALTERNATE_POWER_INDEX)\nif max > 0 then\n  return \"%s%%\",Percent(Power(unit,ALTERNATE_POWER_INDEX),max)\nend\nreturn ConfigMode()",
  1931.                                     ["location"] = "right",
  1932.                                     ["attach_to"] = "AltPowerBar",
  1933.                                     ["events"] = {
  1934.                                         ["UNIT_POWER_FREQUENT"] = true,
  1935.                                         ["UNIT_MAXPOWER"] = true,
  1936.                                     },
  1937.                                 },
  1938.                                 ["Lua:Class"] = {
  1939.                                     ["exists"] = true,
  1940.                                     ["code"] = "local dr,dg,db = DifficultyColor(unit)\nlocal form = DruidForm(unit)\nlocal classification = Classification(unit)\nif UnitIsPlayer(unit) or (not UnitIsFriend(unit,\"player\") and not IsPet(unit)) then\n  local cr,cg,cb = ClassColor(unit)\n  if form then\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  else\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  end\nelse\n  if form then\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  else\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  end\nend",
  1941.                                     ["location"] = "left",
  1942.                                     ["attach_to"] = "PowerBar",
  1943.                                     ["events"] = {
  1944.                                         ["UNIT_LEVEL"] = true,
  1945.                                         ["UNIT_CLASSIFICATION_CHANGED"] = true,
  1946.                                         ["UNIT_AURA"] = true,
  1947.                                     },
  1948.                                 },
  1949.                                 ["Lua:Experience"] = {
  1950.                                     ["exists"] = true,
  1951.                                     ["code"] = "local cur, max, rest = XP(unit), MaxXP(unit), RestXP(unit)\nif rest then\n  return \"%s/%s (%s%%) R: %s%%\",cur,max,Percent(cur,max),Percent(rest,max)\nelse\n  return \"%s/%s (%s%%)\",cur,max,Percent(cur,max)\nend",
  1952.                                     ["location"] = "center",
  1953.                                     ["attach_to"] = "ExperienceBar",
  1954.                                     ["events"] = {
  1955.                                         ["UNIT_PET_EXPERIENCE"] = true,
  1956.                                         ["PLAYER_XP_UPDATE"] = true,
  1957.                                     },
  1958.                                 },
  1959.                                 ["Lua:Demonic fury"] = {
  1960.                                     ["exists"] = true,
  1961.                                     ["code"] = "return \"%s/%s\",Power(unit,SPELL_POWER_DEMONIC_FURY),MaxPower(unit,SPELL_POWER_DEMONIC_FURY)\n",
  1962.                                     ["location"] = "center",
  1963.                                     ["attach_to"] = "DemonicFury",
  1964.                                     ["events"] = {
  1965.                                         ["UNIT_POWER_FREQUENT"] = true,
  1966.                                         ["UNIT_MAXPOWER"] = true,
  1967.                                     },
  1968.                                 },
  1969.                             },
  1970.                             ["first"] = false,
  1971.                         },
  1972.                     },
  1973.                 },
  1974.             },
  1975.         },
  1976.         ["SoulShards"] = {
  1977.         },
  1978.         ["HostilityFader"] = {
  1979.         },
  1980.         ["MasterLooterIcon"] = {
  1981.             ["profiles"] = {
  1982.                 ["Active"] = {
  1983.                     ["layouts"] = {
  1984.                         ["Player"] = {
  1985.                             ["position"] = 28,
  1986.                         },
  1987.                         ["Pet_Target"] = {
  1988.                             ["enabled"] = false,
  1989.                         },
  1990.                         ["Focus"] = {
  1991.                             ["enabled"] = false,
  1992.                         },
  1993.                         ["Target"] = {
  1994.                             ["enabled"] = false,
  1995.                         },
  1996.                         ["Boss"] = {
  1997.                             ["position"] = 19,
  1998.                         },
  1999.                         ["BossParty"] = {
  2000.                             ["enabled"] = false,
  2001.                         },
  2002.                         ["Pet"] = {
  2003.                             ["enabled"] = false,
  2004.                             ["position"] = 28,
  2005.                         },
  2006.                     },
  2007.                 },
  2008.             },
  2009.         },
  2010.         ["CombatText"] = {
  2011.             ["profiles"] = {
  2012.                 ["Default"] = {
  2013.                     ["layouts"] = {
  2014.                         ["Player"] = {
  2015.                             ["enabled"] = false,
  2016.                         },
  2017.                     },
  2018.                 },
  2019.                 ["Active"] = {
  2020.                     ["layouts"] = {
  2021.                         ["Player"] = {
  2022.                             ["enabled"] = false,
  2023.                             ["position"] = 17,
  2024.                         },
  2025.                         ["Pet_Target"] = {
  2026.                             ["enabled"] = false,
  2027.                         },
  2028.                         ["Target"] = {
  2029.                             ["enabled"] = false,
  2030.                         },
  2031.                         ["Pet"] = {
  2032.                             ["enabled"] = false,
  2033.                             ["position"] = 17,
  2034.                         },
  2035.                         ["Boss"] = {
  2036.                             ["position"] = 18,
  2037.                         },
  2038.                     },
  2039.                 },
  2040.             },
  2041.         },
  2042.         ["HolyPower"] = {
  2043.             ["profiles"] = {
  2044.                 ["Active"] = {
  2045.                     ["layouts"] = {
  2046.                         ["Player"] = {
  2047.                             ["location"] = "out_right",
  2048.                             ["vertical"] = true,
  2049.                             ["size"] = 1.25,
  2050.                         },
  2051.                     },
  2052.                 },
  2053.             },
  2054.         },
  2055.         ["ReadyCheckIcon"] = {
  2056.             ["profiles"] = {
  2057.                 ["Active"] = {
  2058.                     ["layouts"] = {
  2059.                         ["Player"] = {
  2060.                             ["position"] = 21,
  2061.                             ["location"] = "left",
  2062.                             ["attach_to"] = "Portrait",
  2063.                             ["size"] = 1.5,
  2064.                         },
  2065.                         ["Pet_Target"] = {
  2066.                             ["enabled"] = false,
  2067.                         },
  2068.                         ["Focus"] = {
  2069.                             ["enabled"] = false,
  2070.                         },
  2071.                         ["Target"] = {
  2072.                             ["enabled"] = false,
  2073.                             ["position"] = 1.00001,
  2074.                         },
  2075.                         ["Pet"] = {
  2076.                             ["enabled"] = false,
  2077.                             ["position"] = 21,
  2078.                         },
  2079.                         ["BossParty"] = {
  2080.                             ["enabled"] = false,
  2081.                         },
  2082.                         ["Boss"] = {
  2083.                             ["position"] = 24,
  2084.                         },
  2085.                     },
  2086.                 },
  2087.             },
  2088.         },
  2089.         ["ComboPoints"] = {
  2090.             ["profiles"] = {
  2091.                 ["Active"] = {
  2092.                     ["layouts"] = {
  2093.                         ["Target"] = {
  2094.                             ["position"] = 1.00001,
  2095.                         },
  2096.                         ["Boss"] = {
  2097.                             ["location"] = "out_left",
  2098.                             ["vertical"] = true,
  2099.                         },
  2100.                         ["Player"] = {
  2101.                             ["enabled"] = false,
  2102.                             ["vertical"] = true,
  2103.                             ["location"] = "out_right",
  2104.                         },
  2105.                     },
  2106.                 },
  2107.             },
  2108.         },
  2109.         ["Totems"] = {
  2110.         },
  2111.         ["Aggro"] = {
  2112.             ["profiles"] = {
  2113.                 ["Active"] = {
  2114.                     ["layouts"] = {
  2115.                         ["Normal"] = {
  2116.                             ["kind"] = "Border",
  2117.                         },
  2118.                         ["Player"] = {
  2119.                             ["kind"] = "Border",
  2120.                         },
  2121.                         ["Pet_Target"] = {
  2122.                             ["enabled"] = false,
  2123.                         },
  2124.                         ["Focus"] = {
  2125.                             ["kind"] = "Border",
  2126.                         },
  2127.                         ["Target"] = {
  2128.                             ["enabled"] = false,
  2129.                         },
  2130.                         ["Boss"] = {
  2131.                             ["enabled"] = false,
  2132.                             ["kind"] = "Border",
  2133.                         },
  2134.                         ["Pet"] = {
  2135.                             ["kind"] = "Border",
  2136.                         },
  2137.                         ["BossParty"] = {
  2138.                             ["enabled"] = false,
  2139.                             ["kind"] = "Border",
  2140.                         },
  2141.                     },
  2142.                 },
  2143.             },
  2144.         },
  2145.         ["Portrait"] = {
  2146.             ["profiles"] = {
  2147.                 ["Active"] = {
  2148.                     ["layouts"] = {
  2149.                         ["BossParty"] = {
  2150.                             ["fallback_style"] = "class",
  2151.                         },
  2152.                         ["Player"] = {
  2153.                             ["enabled"] = true,
  2154.                             ["side"] = "center",
  2155.                             ["color"] = {
  2156.                                 nil, -- [1]
  2157.                                 nil, -- [2]
  2158.                                 nil, -- [3]
  2159.                                 0.464392066001892, -- [4]
  2160.                             },
  2161.                             ["position"] = 2,
  2162.                             ["location"] = "edge_left",
  2163.                             ["fallback_style"] = "hide",
  2164.                             ["size"] = 1.15,
  2165.                         },
  2166.                         ["Pet"] = {
  2167.                             ["side"] = "center",
  2168.                             ["color"] = {
  2169.                                 nil, -- [1]
  2170.                                 nil, -- [2]
  2171.                                 nil, -- [3]
  2172.                                 1, -- [4]
  2173.                             },
  2174.                             ["position"] = 2,
  2175.                             ["location"] = "edge_left",
  2176.                             ["fallback_style"] = "class",
  2177.                             ["size"] = 1.15,
  2178.                         },
  2179.                         ["Boss"] = {
  2180.                             ["enabled"] = true,
  2181.                             ["fallback_style"] = "hide",
  2182.                             ["position"] = 2,
  2183.                             ["location"] = "in_left",
  2184.                             ["side"] = "center",
  2185.                         },
  2186.                     },
  2187.                 },
  2188.             },
  2189.         },
  2190.         ["ExperienceBar"] = {
  2191.             ["profiles"] = {
  2192.                 ["Active"] = {
  2193.                     ["layouts"] = {
  2194.                         ["Player"] = {
  2195.                             ["position"] = 3,
  2196.                         },
  2197.                         ["Pet_Target"] = {
  2198.                             ["enabled"] = false,
  2199.                         },
  2200.                         ["Focus"] = {
  2201.                             ["enabled"] = false,
  2202.                         },
  2203.                         ["Target"] = {
  2204.                             ["enabled"] = false,
  2205.                         },
  2206.                         ["Pet"] = {
  2207.                             ["enabled"] = false,
  2208.                             ["position"] = 6,
  2209.                         },
  2210.                         ["BossParty"] = {
  2211.                             ["enabled"] = false,
  2212.                         },
  2213.                         ["Boss"] = {
  2214.                             ["enabled"] = false,
  2215.                             ["position"] = 6,
  2216.                         },
  2217.                     },
  2218.                 },
  2219.             },
  2220.         },
  2221.         ["RaidTargetIcon"] = {
  2222.             ["profiles"] = {
  2223.                 ["Active"] = {
  2224.                     ["layouts"] = {
  2225.                         ["Player"] = {
  2226.                             ["position"] = 22,
  2227.                         },
  2228.                         ["Pet_Target"] = {
  2229.                             ["location"] = "out_right",
  2230.                         },
  2231.                         ["Target"] = {
  2232.                             ["location"] = "out_right",
  2233.                             ["size"] = 1.25,
  2234.                         },
  2235.                         ["Boss"] = {
  2236.                             ["position"] = 20,
  2237.                             ["location"] = "out_right",
  2238.                             ["size"] = 1.75,
  2239.                         },
  2240.                         ["BossParty"] = {
  2241.                             ["position"] = 1.00001,
  2242.                             ["location"] = "out_left",
  2243.                             ["size"] = 1.5,
  2244.                         },
  2245.                         ["Pet"] = {
  2246.                             ["position"] = 22,
  2247.                             ["location"] = "out_right",
  2248.                         },
  2249.                     },
  2250.                 },
  2251.             },
  2252.         },
  2253.         ["ShadowOrbs"] = {
  2254.         },
  2255.         ["Sounds"] = {
  2256.         },
  2257.         ["PvPIcon"] = {
  2258.             ["profiles"] = {
  2259.                 ["Active"] = {
  2260.                     ["layouts"] = {
  2261.                         ["Player"] = {
  2262.                             ["position"] = 23,
  2263.                             ["location"] = "edge_left",
  2264.                             ["size"] = 1.5,
  2265.                         },
  2266.                         ["Pet_Target"] = {
  2267.                             ["enabled"] = false,
  2268.                         },
  2269.                         ["Target"] = {
  2270.                             ["enabled"] = false,
  2271.                         },
  2272.                         ["Boss"] = {
  2273.                             ["position"] = 21,
  2274.                             ["location"] = "edge_bottom_left",
  2275.                             ["size"] = 1.4,
  2276.                         },
  2277.                         ["BossParty"] = {
  2278.                             ["enabled"] = false,
  2279.                         },
  2280.                         ["Pet"] = {
  2281.                             ["enabled"] = false,
  2282.                             ["position"] = 23,
  2283.                             ["location"] = "out_right",
  2284.                             ["size"] = 1.5,
  2285.                         },
  2286.                     },
  2287.                 },
  2288.             },
  2289.         },
  2290.         ["CastBar"] = {
  2291.             ["profiles"] = {
  2292.                 ["Active"] = {
  2293.                     ["layouts"] = {
  2294.                         ["Player"] = {
  2295.                             ["position"] = 9,
  2296.                         },
  2297.                         ["Pet_Target"] = {
  2298.                             ["enabled"] = false,
  2299.                         },
  2300.                         ["Focus"] = {
  2301.                             ["enabled"] = false,
  2302.                         },
  2303.                         ["Target"] = {
  2304.                             ["enabled"] = false,
  2305.                         },
  2306.                         ["Pet"] = {
  2307.                             ["position"] = 8,
  2308.                         },
  2309.                         ["Boss"] = {
  2310.                             ["texture"] = "TukTex",
  2311.                             ["position"] = 8,
  2312.                         },
  2313.                     },
  2314.                 },
  2315.             },
  2316.         },
  2317.         ["BurningEmbers"] = {
  2318.             ["profiles"] = {
  2319.                 ["Active"] = {
  2320.                     ["layouts"] = {
  2321.                         ["Normal"] = {
  2322.                             ["location"] = "edge_bottom",
  2323.                             ["vertical"] = true,
  2324.                             ["attach_to"] = "AltPowerBar",
  2325.                             ["position"] = 1.00001,
  2326.                         },
  2327.                         ["Player"] = {
  2328.                             ["click_through"] = true,
  2329.                             ["vertical"] = true,
  2330.                             ["location"] = "out_right",
  2331.                             ["position"] = 1.00001,
  2332.                         },
  2333.                     },
  2334.                 },
  2335.             },
  2336.         },
  2337.         ["Background"] = {
  2338.             ["profiles"] = {
  2339.                 ["Active"] = {
  2340.                     ["layouts"] = {
  2341.                         ["Boss"] = {
  2342.                             ["color"] = {
  2343.                                 nil, -- [1]
  2344.                                 nil, -- [2]
  2345.                                 nil, -- [3]
  2346.                                 0.678042352199555, -- [4]
  2347.                             },
  2348.                         },
  2349.                     },
  2350.                 },
  2351.             },
  2352.         },
  2353.         ["Aura"] = {
  2354.             ["profiles"] = {
  2355.                 ["Default"] = {
  2356.                     ["layouts"] = {
  2357.                         ["Player"] = {
  2358.                             ["click_through"] = true,
  2359.                             ["cooldown_text"] = {
  2360.                                 ["my_buffs"] = true,
  2361.                             },
  2362.                             ["max_debuffs"] = 3,
  2363.                             ["enabled_buffs"] = false,
  2364.                             ["zoom_aura"] = true,
  2365.                             ["borders"] = {
  2366.                                 ["my_buffs"] = {
  2367.                                     ["friend"] = {
  2368.                                         ["enabled"] = false,
  2369.                                     },
  2370.                                 },
  2371.                             },
  2372.                             ["layout"] = {
  2373.                                 ["buff"] = {
  2374.                                     ["size_to_fit"] = false,
  2375.                                 },
  2376.                                 ["debuff"] = {
  2377.                                     ["size_to_fit"] = false,
  2378.                                     ["my_size"] = 30,
  2379.                                     ["size"] = 30,
  2380.                                 },
  2381.                             },
  2382.                             ["highlight"] = false,
  2383.                         },
  2384.                     },
  2385.                 },
  2386.                 ["Active"] = {
  2387.                     ["layouts"] = {
  2388.                         ["Boss"] = {
  2389.                             ["highlight_filters_color_by_type"] = {
  2390.                                 false, -- [1]
  2391.                                 false, -- [2]
  2392.                                 nil, -- [3]
  2393.                                 true, -- [4]
  2394.                             },
  2395.                             ["max_debuffs"] = 20,
  2396.                             ["max_buffs"] = 20,
  2397.                             ["zoom_aura"] = true,
  2398.                             ["borders"] = {
  2399.                                 ["other_debuffs"] = {
  2400.                                     ["friend"] = {
  2401.                                         ["enabled"] = false,
  2402.                                     },
  2403.                                     ["enemy"] = {
  2404.                                         ["enabled"] = false,
  2405.                                     },
  2406.                                 },
  2407.                                 ["weapon_buffs"] = {
  2408.                                     ["enabled"] = false,
  2409.                                 },
  2410.                                 ["other_buffs"] = {
  2411.                                     ["friend"] = {
  2412.                                         ["enabled"] = false,
  2413.                                     },
  2414.                                     ["enemy"] = {
  2415.                                         ["enabled"] = false,
  2416.                                     },
  2417.                                 },
  2418.                             },
  2419.                             ["layout"] = {
  2420.                                 ["debuff"] = {
  2421.                                     ["my_size"] = 20,
  2422.                                     ["size"] = 20,
  2423.                                 },
  2424.                                 ["buff"] = {
  2425.                                     ["my_size"] = 20,
  2426.                                     ["size"] = 20,
  2427.                                 },
  2428.                             },
  2429.                             ["highlight_style"] = "thinborder",
  2430.                             ["texts"] = {
  2431.                                 ["my_buffs"] = {
  2432.                                     ["cooldown_text"] = {
  2433.                                         ["size"] = 0.9,
  2434.                                     },
  2435.                                 },
  2436.                             },
  2437.                         },
  2438.                         ["Pet_Target"] = {
  2439.                             ["highlight"] = false,
  2440.                             ["max_debuffs"] = 10,
  2441.                             ["zoom_aura"] = true,
  2442.                             ["borders"] = {
  2443.                                 ["other_debuffs"] = {
  2444.                                     ["friend"] = {
  2445.                                         ["enabled"] = false,
  2446.                                     },
  2447.                                     ["enemy"] = {
  2448.                                         ["enabled"] = false,
  2449.                                     },
  2450.                                 },
  2451.                                 ["other_buffs"] = {
  2452.                                     ["friend"] = {
  2453.                                         ["enabled"] = false,
  2454.                                     },
  2455.                                     ["enemy"] = {
  2456.                                         ["enabled"] = false,
  2457.                                     },
  2458.                                 },
  2459.                             },
  2460.                             ["enabled"] = false,
  2461.                             ["click_through"] = true,
  2462.                         },
  2463.                         ["Focus"] = {
  2464.                             ["cooldown_text"] = {
  2465.                                 ["other_debuffs"] = true,
  2466.                                 ["my_debuffs"] = true,
  2467.                             },
  2468.                             ["zoom_aura"] = true,
  2469.                             ["borders"] = {
  2470.                                 ["other_debuffs"] = {
  2471.                                     ["friend"] = {
  2472.                                         ["enabled"] = false,
  2473.                                     },
  2474.                                     ["enemy"] = {
  2475.                                         ["enabled"] = false,
  2476.                                     },
  2477.                                 },
  2478.                                 ["my_debuffs"] = {
  2479.                                     ["friend"] = {
  2480.                                         ["enabled"] = false,
  2481.                                     },
  2482.                                     ["enemy"] = {
  2483.                                         ["enabled"] = false,
  2484.                                     },
  2485.                                 },
  2486.                                 ["other_buffs"] = {
  2487.                                     ["friend"] = {
  2488.                                         ["enabled"] = false,
  2489.                                     },
  2490.                                     ["enemy"] = {
  2491.                                         ["enabled"] = false,
  2492.                                     },
  2493.                                 },
  2494.                             },
  2495.                             ["layout"] = {
  2496.                                 ["debuff"] = {
  2497.                                     ["width_percent"] = 1,
  2498.                                     ["size_to_fit"] = false,
  2499.                                     ["my_size"] = 32,
  2500.                                     ["size"] = 30,
  2501.                                 },
  2502.                             },
  2503.                             ["enabled_buffs"] = false,
  2504.                             ["click_through"] = true,
  2505.                             ["highlight"] = false,
  2506.                             ["cooldown"] = {
  2507.                                 ["weapon_buffs"] = false,
  2508.                                 ["my_buffs"] = false,
  2509.                                 ["other_buffs"] = false,
  2510.                             },
  2511.                             ["texts"] = {
  2512.                                 ["other_debuffs"] = {
  2513.                                     ["count"] = {
  2514.                                         ["size"] = 1,
  2515.                                     },
  2516.                                 },
  2517.                             },
  2518.                         },
  2519.                         ["Target"] = {
  2520.                             ["max_debuffs"] = 10,
  2521.                             ["zoom_aura"] = true,
  2522.                             ["borders"] = {
  2523.                                 ["other_debuffs"] = {
  2524.                                     ["friend"] = {
  2525.                                         ["enabled"] = false,
  2526.                                     },
  2527.                                     ["enemy"] = {
  2528.                                         ["enabled"] = false,
  2529.                                     },
  2530.                                 },
  2531.                                 ["other_buffs"] = {
  2532.                                     ["friend"] = {
  2533.                                         ["enabled"] = false,
  2534.                                     },
  2535.                                     ["enemy"] = {
  2536.                                         ["enabled"] = false,
  2537.                                     },
  2538.                                 },
  2539.                             },
  2540.                             ["enabled"] = false,
  2541.                             ["click_through"] = true,
  2542.                             ["max_buffs"] = 8,
  2543.                             ["highlight"] = false,
  2544.                         },
  2545.                         ["Pet"] = {
  2546.                             ["cooldown_text"] = {
  2547.                                 ["my_buffs"] = true,
  2548.                             },
  2549.                             ["max_debuffs"] = 3,
  2550.                             ["zoom_aura"] = true,
  2551.                             ["borders"] = {
  2552.                                 ["my_buffs"] = {
  2553.                                     ["friend"] = {
  2554.                                         ["enabled"] = false,
  2555.                                     },
  2556.                                 },
  2557.                             },
  2558.                             ["layout"] = {
  2559.                                 ["buff"] = {
  2560.                                     ["size_to_fit"] = false,
  2561.                                 },
  2562.                                 ["debuff"] = {
  2563.                                     ["size_to_fit"] = false,
  2564.                                     ["my_size"] = 20,
  2565.                                     ["size"] = 20,
  2566.                                 },
  2567.                             },
  2568.                             ["highlight"] = false,
  2569.                         },
  2570.                         ["BossParty"] = {
  2571.                             ["max_debuffs"] = 10,
  2572.                             ["max_buffs"] = 10,
  2573.                             ["zoom_aura"] = true,
  2574.                             ["borders"] = {
  2575.                                 ["other_debuffs"] = {
  2576.                                     ["friend"] = {
  2577.                                         ["enabled"] = false,
  2578.                                     },
  2579.                                     ["enemy"] = {
  2580.                                         ["enabled"] = false,
  2581.                                     },
  2582.                                 },
  2583.                                 ["other_buffs"] = {
  2584.                                     ["friend"] = {
  2585.                                         ["enabled"] = false,
  2586.                                     },
  2587.                                     ["enemy"] = {
  2588.                                         ["enabled"] = false,
  2589.                                     },
  2590.                                 },
  2591.                             },
  2592.                             ["layout"] = {
  2593.                                 ["buff"] = {
  2594.                                     ["width_percent"] = 1,
  2595.                                 },
  2596.                             },
  2597.                             ["click_through"] = true,
  2598.                             ["enabled_debuffs"] = false,
  2599.                             ["highlight"] = false,
  2600.                         },
  2601.                         ["Player"] = {
  2602.                             ["max_buffs"] = 1,
  2603.                             ["zoom_aura"] = true,
  2604.                             ["borders"] = {
  2605.                                 ["other_debuffs"] = {
  2606.                                     ["friend"] = {
  2607.                                         ["enabled"] = false,
  2608.                                     },
  2609.                                     ["enemy"] = {
  2610.                                         ["enabled"] = false,
  2611.                                     },
  2612.                                 },
  2613.                                 ["my_debuffs"] = {
  2614.                                     ["friend"] = {
  2615.                                         ["enabled"] = false,
  2616.                                     },
  2617.                                     ["enemy"] = {
  2618.                                         ["enabled"] = false,
  2619.                                     },
  2620.                                 },
  2621.                                 ["my_buffs"] = {
  2622.                                     ["friend"] = {
  2623.                                         ["enabled"] = false,
  2624.                                     },
  2625.                                 },
  2626.                             },
  2627.                             ["layout"] = {
  2628.                                 ["debuff"] = {
  2629.                                     ["width_percent"] = 1,
  2630.                                     ["size_to_fit"] = false,
  2631.                                     ["my_size"] = 38,
  2632.                                     ["size"] = 36,
  2633.                                 },
  2634.                                 ["buff"] = {
  2635.                                     ["size_to_fit"] = false,
  2636.                                 },
  2637.                             },
  2638.                             ["enabled_buffs"] = false,
  2639.                             ["highlight"] = false,
  2640.                             ["cooldown"] = {
  2641.                                 ["weapon_buffs"] = false,
  2642.                                 ["my_buffs"] = false,
  2643.                                 ["other_buffs"] = false,
  2644.                             },
  2645.                             ["texts"] = {
  2646.                                 ["other_debuffs"] = {
  2647.                                     ["count"] = {
  2648.                                         ["size"] = 1,
  2649.                                     },
  2650.                                 },
  2651.                                 ["my_debuffs"] = {
  2652.                                     ["count"] = {
  2653.                                         ["size"] = 1,
  2654.                                     },
  2655.                                 },
  2656.                             },
  2657.                         },
  2658.                     },
  2659.                 },
  2660.             },
  2661.         },
  2662.         ["Runes"] = {
  2663.             ["profiles"] = {
  2664.                 ["Active"] = {
  2665.                     ["layouts"] = {
  2666.                         ["Player"] = {
  2667.                             ["vertical"] = true,
  2668.                             ["position"] = 1.00001,
  2669.                             ["location"] = "out_right",
  2670.                             ["size"] = 1,
  2671.                         },
  2672.                     },
  2673.                 },
  2674.             },
  2675.         },
  2676.         ["DruidManaBar"] = {
  2677.             ["profiles"] = {
  2678.                 ["Active"] = {
  2679.                     ["layouts"] = {
  2680.                         ["Player"] = {
  2681.                             ["position"] = 7,
  2682.                         },
  2683.                     },
  2684.                 },
  2685.             },
  2686.         },
  2687.         ["PowerBar"] = {
  2688.             ["profiles"] = {
  2689.                 ["Active"] = {
  2690.                     ["layouts"] = {
  2691.                         ["Player"] = {
  2692.                             ["position"] = 4,
  2693.                         },
  2694.                         ["Pet_Target"] = {
  2695.                             ["size"] = 1,
  2696.                             ["enabled"] = false,
  2697.                         },
  2698.                         ["Focus"] = {
  2699.                             ["size"] = 1,
  2700.                         },
  2701.                         ["Target"] = {
  2702.                             ["size"] = 1,
  2703.                             ["enabled"] = false,
  2704.                         },
  2705.                         ["Boss"] = {
  2706.                             ["texture"] = "TukTex",
  2707.                             ["position"] = 3,
  2708.                             ["size"] = 1.5,
  2709.                         },
  2710.                         ["BossParty"] = {
  2711.                             ["size"] = 1,
  2712.                         },
  2713.                         ["Pet"] = {
  2714.                             ["size"] = 1,
  2715.                             ["position"] = 3,
  2716.                         },
  2717.                     },
  2718.                 },
  2719.             },
  2720.         },
  2721.         ["HideBlizzard"] = {
  2722.             ["profiles"] = {
  2723.                 ["Active"] = {
  2724.                     ["global"] = {
  2725.                         ["altpower"] = true,
  2726.                         ["party"] = false,
  2727.                     },
  2728.                 },
  2729.             },
  2730.         },
  2731.         ["ReputationBar"] = {
  2732.             ["profiles"] = {
  2733.                 ["Active"] = {
  2734.                     ["layouts"] = {
  2735.                         ["Player"] = {
  2736.                             ["position"] = 6,
  2737.                         },
  2738.                         ["Pet_Target"] = {
  2739.                             ["enabled"] = false,
  2740.                         },
  2741.                         ["Focus"] = {
  2742.                             ["enabled"] = false,
  2743.                         },
  2744.                         ["Target"] = {
  2745.                             ["enabled"] = false,
  2746.                         },
  2747.                         ["Boss"] = {
  2748.                             ["enabled"] = false,
  2749.                             ["position"] = 4,
  2750.                         },
  2751.                         ["BossParty"] = {
  2752.                             ["enabled"] = false,
  2753.                         },
  2754.                         ["Pet"] = {
  2755.                             ["enabled"] = false,
  2756.                             ["position"] = 5,
  2757.                         },
  2758.                     },
  2759.                 },
  2760.             },
  2761.         },
  2762.         ["DemonicFury"] = {
  2763.         },
  2764.         ["HealthBar"] = {
  2765.             ["profiles"] = {
  2766.                 ["Default"] = {
  2767.                     ["layouts"] = {
  2768.                         ["Player"] = {
  2769.                             ["size"] = 4,
  2770.                         },
  2771.                     },
  2772.                 },
  2773.                 ["Active"] = {
  2774.                     ["layouts"] = {
  2775.                         ["Boss"] = {
  2776.                             ["color_by_class"] = false,
  2777.                             ["hostility_color"] = false,
  2778.                             ["texture"] = "TukTex",
  2779.                             ["hostility_color_npcs"] = false,
  2780.                             ["size"] = 3,
  2781.                         },
  2782.                         ["Pet_Target"] = {
  2783.                             ["color_by_class"] = false,
  2784.                             ["hostility_color"] = false,
  2785.                             ["size"] = 1,
  2786.                             ["hostility_color_npcs"] = false,
  2787.                         },
  2788.                         ["Focus"] = {
  2789.                             ["color_by_class"] = false,
  2790.                             ["hostility_color"] = false,
  2791.                             ["hostility_color_npcs"] = false,
  2792.                         },
  2793.                         ["Target"] = {
  2794.                             ["color_by_class"] = false,
  2795.                             ["hostility_color"] = false,
  2796.                             ["hostility_color_npcs"] = false,
  2797.                         },
  2798.                         ["Pet"] = {
  2799.                             ["color_by_class"] = false,
  2800.                             ["hostility_color"] = false,
  2801.                             ["size"] = 3,
  2802.                             ["hostility_color_npcs"] = false,
  2803.                         },
  2804.                         ["BossParty"] = {
  2805.                             ["color_by_class"] = false,
  2806.                             ["hostility_color"] = false,
  2807.                             ["hostility_color_npcs"] = false,
  2808.                         },
  2809.                         ["Player"] = {
  2810.                             ["color_by_class"] = false,
  2811.                             ["hostility_color"] = false,
  2812.                             ["size"] = 4,
  2813.                             ["hostility_color_npcs"] = false,
  2814.                         },
  2815.                     },
  2816.                     ["global"] = {
  2817.                         ["colors"] = {
  2818.                             ["max_health"] = {
  2819.                                 0.52156862745098, -- [1]
  2820.                                 [3] = 0.298039215686275,
  2821.                             },
  2822.                         },
  2823.                     },
  2824.                 },
  2825.             },
  2826.         },
  2827.         ["RestIcon"] = {
  2828.             ["profiles"] = {
  2829.                 ["Active"] = {
  2830.                     ["layouts"] = {
  2831.                         ["Player"] = {
  2832.                             ["position"] = 14,
  2833.                         },
  2834.                         ["Pet_Target"] = {
  2835.                             ["position"] = 1.00001,
  2836.                         },
  2837.                         ["Focus"] = {
  2838.                             ["enabled"] = false,
  2839.                             ["position"] = 1.00001,
  2840.                         },
  2841.                         ["Target"] = {
  2842.                             ["enabled"] = false,
  2843.                             ["position"] = 1.00001,
  2844.                         },
  2845.                         ["Boss"] = {
  2846.                             ["position"] = 15,
  2847.                         },
  2848.                         ["BossParty"] = {
  2849.                             ["enabled"] = false,
  2850.                             ["position"] = 1.00001,
  2851.                         },
  2852.                         ["Pet"] = {
  2853.                             ["enabled"] = false,
  2854.                             ["position"] = 14,
  2855.                         },
  2856.                     },
  2857.                 },
  2858.             },
  2859.         },
  2860.         ["QuestIcon"] = {
  2861.             ["profiles"] = {
  2862.                 ["Active"] = {
  2863.                     ["layouts"] = {
  2864.                         ["Player"] = {
  2865.                             ["position"] = 15,
  2866.                         },
  2867.                         ["Pet_Target"] = {
  2868.                             ["enabled"] = false,
  2869.                             ["position"] = 1.00002,
  2870.                         },
  2871.                         ["Focus"] = {
  2872.                             ["enabled"] = false,
  2873.                             ["position"] = 1.00002,
  2874.                         },
  2875.                         ["Target"] = {
  2876.                             ["enabled"] = false,
  2877.                             ["position"] = 1.00002,
  2878.                         },
  2879.                         ["Boss"] = {
  2880.                             ["position"] = 27,
  2881.                             ["location"] = "edge_right",
  2882.                             ["size"] = 1.5,
  2883.                         },
  2884.                         ["BossParty"] = {
  2885.                             ["enabled"] = false,
  2886.                             ["position"] = 1.00002,
  2887.                         },
  2888.                         ["Pet"] = {
  2889.                             ["enabled"] = false,
  2890.                             ["position"] = 15,
  2891.                         },
  2892.                     },
  2893.                 },
  2894.             },
  2895.         },
  2896.         ["VoiceIcon"] = {
  2897.             ["profiles"] = {
  2898.                 ["Active"] = {
  2899.                     ["layouts"] = {
  2900.                         ["Player"] = {
  2901.                             ["position"] = 24,
  2902.                         },
  2903.                         ["Pet_Target"] = {
  2904.                             ["enabled"] = false,
  2905.                             ["position"] = 1.00001,
  2906.                         },
  2907.                         ["Focus"] = {
  2908.                             ["enabled"] = false,
  2909.                             ["position"] = 1.00001,
  2910.                         },
  2911.                         ["Target"] = {
  2912.                             ["enabled"] = false,
  2913.                             ["position"] = 1.00001,
  2914.                         },
  2915.                         ["Boss"] = {
  2916.                             ["enabled"] = false,
  2917.                             ["position"] = 23,
  2918.                         },
  2919.                         ["BossParty"] = {
  2920.                             ["enabled"] = false,
  2921.                             ["position"] = 1.00001,
  2922.                         },
  2923.                         ["Pet"] = {
  2924.                             ["enabled"] = false,
  2925.                             ["position"] = 24,
  2926.                         },
  2927.                     },
  2928.                 },
  2929.             },
  2930.         },
  2931.         ["VisualHeal"] = {
  2932.             ["profiles"] = {
  2933.                 ["Active"] = {
  2934.                     ["layouts"] = {
  2935.                         ["Normal"] = {
  2936.                             ["show_overheal"] = false,
  2937.                             ["show_overabsorb"] = false,
  2938.                         },
  2939.                         ["Boss"] = {
  2940.                             ["show_overheal"] = false,
  2941.                             ["show_overabsorb"] = false,
  2942.                         },
  2943.                         ["Pet_Target"] = {
  2944.                             ["show_overheal"] = false,
  2945.                             ["show_overabsorb"] = false,
  2946.                         },
  2947.                         ["Focus"] = {
  2948.                             ["show_overheal"] = false,
  2949.                             ["show_overabsorb"] = false,
  2950.                         },
  2951.                         ["Target"] = {
  2952.                             ["show_overheal"] = false,
  2953.                             ["show_overabsorb"] = false,
  2954.                         },
  2955.                         ["Pet"] = {
  2956.                             ["show_overheal"] = false,
  2957.                             ["show_overabsorb"] = false,
  2958.                         },
  2959.                         ["BossParty"] = {
  2960.                             ["show_overheal"] = false,
  2961.                             ["show_overabsorb"] = false,
  2962.                         },
  2963.                         ["Player"] = {
  2964.                             ["show_overheal"] = false,
  2965.                             ["show_overabsorb"] = false,
  2966.                         },
  2967.                     },
  2968.                 },
  2969.             },
  2970.         },
  2971.         ["CastBarLatency"] = {
  2972.             ["profiles"] = {
  2973.                 ["Active"] = {
  2974.                     ["layouts"] = {
  2975.                         ["Normal"] = {
  2976.                             ["enabled"] = false,
  2977.                         },
  2978.                         ["Player"] = {
  2979.                             ["enabled"] = false,
  2980.                         },
  2981.                         ["Pet"] = {
  2982.                             ["enabled"] = false,
  2983.                         },
  2984.                         ["BossParty"] = {
  2985.                             ["enabled"] = false,
  2986.                         },
  2987.                         ["Boss"] = {
  2988.                             ["enabled"] = false,
  2989.                         },
  2990.                     },
  2991.                 },
  2992.             },
  2993.         },
  2994.         ["CombatFader"] = {
  2995.             ["profiles"] = {
  2996.                 ["Active"] = {
  2997.                     ["layouts"] = {
  2998.                         ["Pet"] = {
  2999.                             ["enabled"] = true,
  3000.                             ["target_opacity"] = 1,
  3001.                             ["hurt_opacity"] = 1,
  3002.                         },
  3003.                         ["Player"] = {
  3004.                             ["enabled"] = true,
  3005.                             ["target_opacity"] = 0.6,
  3006.                             ["hurt_opacity"] = 1,
  3007.                         },
  3008.                     },
  3009.                 },
  3010.             },
  3011.         },
  3012.         ["BattlePet"] = {
  3013.             ["profiles"] = {
  3014.                 ["Active"] = {
  3015.                     ["layouts"] = {
  3016.                         ["Player"] = {
  3017.                             ["position"] = 20,
  3018.                         },
  3019.                         ["Pet_Target"] = {
  3020.                             ["enabled"] = false,
  3021.                             ["position"] = 1.00003,
  3022.                         },
  3023.                         ["Focus"] = {
  3024.                             ["enabled"] = false,
  3025.                             ["position"] = 1.00003,
  3026.                         },
  3027.                         ["Target"] = {
  3028.                             ["enabled"] = false,
  3029.                             ["position"] = 1.00003,
  3030.                         },
  3031.                         ["Boss"] = {
  3032.                             ["position"] = 22,
  3033.                         },
  3034.                         ["BossParty"] = {
  3035.                             ["enabled"] = false,
  3036.                             ["position"] = 1.00003,
  3037.                         },
  3038.                         ["Pet"] = {
  3039.                             ["enabled"] = false,
  3040.                             ["position"] = 20,
  3041.                         },
  3042.                     },
  3043.                 },
  3044.             },
  3045.         },
  3046.         ["AltPowerBar"] = {
  3047.             ["profiles"] = {
  3048.                 ["Default"] = {
  3049.                     ["layouts"] = {
  3050.                         ["Player"] = {
  3051.                             ["position"] = 3.00001,
  3052.                         },
  3053.                     },
  3054.                 },
  3055.                 ["Active"] = {
  3056.                     ["layouts"] = {
  3057.                         ["Normal"] = {
  3058.                             ["position"] = 3.00001,
  3059.                         },
  3060.                         ["Boss"] = {
  3061.                             ["position"] = 5,
  3062.                         },
  3063.                         ["Pet_Target"] = {
  3064.                             ["enabled"] = false,
  3065.                             ["position"] = 3.00001,
  3066.                             ["size"] = 1,
  3067.                         },
  3068.                         ["Focus"] = {
  3069.                             ["enabled"] = false,
  3070.                             ["position"] = 3.00001,
  3071.                         },
  3072.                         ["Target"] = {
  3073.                             ["enabled"] = false,
  3074.                             ["position"] = 3.00001,
  3075.                             ["size"] = 1,
  3076.                         },
  3077.                         ["Pet"] = {
  3078.                             ["position"] = 4,
  3079.                             ["size"] = 1,
  3080.                         },
  3081.                         ["BossParty"] = {
  3082.                             ["position"] = 3.00001,
  3083.                             ["size"] = 1,
  3084.                         },
  3085.                         ["Player"] = {
  3086.                             ["position"] = 5,
  3087.                         },
  3088.                     },
  3089.                 },
  3090.             },
  3091.         },
  3092.         ["BlankSpace"] = {
  3093.             ["profiles"] = {
  3094.                 ["Lolet - Garrosh"] = {
  3095.                     ["layouts"] = {
  3096.                         ["Normal"] = {
  3097.                             ["elements"] = {
  3098.                                 ["Default"] = {
  3099.                                     ["exists"] = true,
  3100.                                 },
  3101.                             },
  3102.                             ["first"] = false,
  3103.                         },
  3104.                     },
  3105.                 },
  3106.                 ["Active"] = {
  3107.                     ["layouts"] = {
  3108.                         ["Normal"] = {
  3109.                             ["first"] = false,
  3110.                             ["elements"] = {
  3111.                                 ["Default"] = {
  3112.                                     ["exists"] = true,
  3113.                                 },
  3114.                             },
  3115.                         },
  3116.                         ["Boss"] = {
  3117.                             ["first"] = false,
  3118.                             ["elements"] = {
  3119.                                 ["Default"] = {
  3120.                                     ["exists"] = true,
  3121.                                     ["position"] = 9,
  3122.                                 },
  3123.                             },
  3124.                         },
  3125.                         ["Pet_Target"] = {
  3126.                             ["first"] = false,
  3127.                             ["elements"] = {
  3128.                                 ["Default"] = {
  3129.                                     ["exists"] = true,
  3130.                                 },
  3131.                             },
  3132.                         },
  3133.                         ["Focus"] = {
  3134.                             ["first"] = false,
  3135.                             ["elements"] = {
  3136.                                 ["Default"] = {
  3137.                                     ["exists"] = true,
  3138.                                 },
  3139.                             },
  3140.                         },
  3141.                         ["Target"] = {
  3142.                             ["first"] = false,
  3143.                             ["elements"] = {
  3144.                                 ["Default"] = {
  3145.                                     ["exists"] = true,
  3146.                                 },
  3147.                             },
  3148.                         },
  3149.                         ["Pet"] = {
  3150.                             ["first"] = false,
  3151.                             ["elements"] = {
  3152.                                 ["Default"] = {
  3153.                                     ["exists"] = true,
  3154.                                     ["position"] = 9,
  3155.                                 },
  3156.                             },
  3157.                         },
  3158.                         ["BossParty"] = {
  3159.                             ["first"] = false,
  3160.                             ["elements"] = {
  3161.                                 ["Default"] = {
  3162.                                     ["exists"] = true,
  3163.                                 },
  3164.                             },
  3165.                         },
  3166.                         ["Player"] = {
  3167.                             ["first"] = false,
  3168.                             ["elements"] = {
  3169.                                 ["Default"] = {
  3170.                                     ["exists"] = true,
  3171.                                 },
  3172.                             },
  3173.                         },
  3174.                     },
  3175.                 },
  3176.                 ["Default"] = {
  3177.                     ["layouts"] = {
  3178.                         ["Normal"] = {
  3179.                             ["elements"] = {
  3180.                                 ["Default"] = {
  3181.                                     ["exists"] = true,
  3182.                                 },
  3183.                             },
  3184.                             ["first"] = false,
  3185.                         },
  3186.                         ["Player"] = {
  3187.                             ["elements"] = {
  3188.                                 ["Default"] = {
  3189.                                     ["exists"] = true,
  3190.                                     ["position"] = 10.00001,
  3191.                                 },
  3192.                             },
  3193.                             ["first"] = false,
  3194.                         },
  3195.                     },
  3196.                 },
  3197.             },
  3198.         },
  3199.         ["ThreatBar"] = {
  3200.             ["profiles"] = {
  3201.                 ["Active"] = {
  3202.                     ["layouts"] = {
  3203.                         ["Boss"] = {
  3204.                             ["position"] = 7,
  3205.                         },
  3206.                         ["Pet_Target"] = {
  3207.                             ["enabled"] = false,
  3208.                         },
  3209.                         ["Target"] = {
  3210.                             ["enabled"] = false,
  3211.                         },
  3212.                         ["Pet"] = {
  3213.                             ["position"] = 7,
  3214.                         },
  3215.                         ["Player"] = {
  3216.                             ["position"] = 8,
  3217.                         },
  3218.                     },
  3219.                 },
  3220.             },
  3221.         },
  3222.         ["Eclipse"] = {
  3223.         },
  3224.         ["Chi"] = {
  3225.             ["profiles"] = {
  3226.                 ["Active"] = {
  3227.                     ["layouts"] = {
  3228.                         ["Player"] = {
  3229.                             ["location"] = "out_right",
  3230.                             ["vertical"] = true,
  3231.                         },
  3232.                     },
  3233.                 },
  3234.             },
  3235.         },
  3236.         ["Highlight"] = {
  3237.             ["profiles"] = {
  3238.                 ["Active"] = {
  3239.                     ["layouts"] = {
  3240.                         ["Normal"] = {
  3241.                             ["show_target"] = false,
  3242.                         },
  3243.                         ["Player"] = {
  3244.                             ["show_target"] = false,
  3245.                             ["color"] = {
  3246.                                 0.109803921568628, -- [1]
  3247.                                 0.109803921568628, -- [2]
  3248.                                 0.109803921568628, -- [3]
  3249.                                 0.772997349500656, -- [4]
  3250.                             },
  3251.                             ["texture"] = "Solid",
  3252.                         },
  3253.                         ["Pet_Target"] = {
  3254.                             ["color"] = {
  3255.                                 nil, -- [1]
  3256.                                 nil, -- [2]
  3257.                                 nil, -- [3]
  3258.                                 0.700000017881393, -- [4]
  3259.                             },
  3260.                         },
  3261.                         ["Focus"] = {
  3262.                             ["show_target"] = false,
  3263.                             ["color"] = {
  3264.                                 0.109803921568627, -- [1]
  3265.                                 0.109803921568627, -- [2]
  3266.                                 0.109803921568627, -- [3]
  3267.                                 0.770000010728836, -- [4]
  3268.                             },
  3269.                             ["texture"] = "Solid",
  3270.                         },
  3271.                         ["Target"] = {
  3272.                             ["show_target"] = false,
  3273.                         },
  3274.                         ["BossParty"] = {
  3275.                             ["show_target"] = false,
  3276.                         },
  3277.                         ["Pet"] = {
  3278.                             ["show_target"] = false,
  3279.                             ["color"] = {
  3280.                                 0.109803921568627, -- [1]
  3281.                                 0.109803921568627, -- [2]
  3282.                                 0.109803921568627, -- [3]
  3283.                                 0.770000010728836, -- [4]
  3284.                             },
  3285.                             ["texture"] = "Solid",
  3286.                         },
  3287.                         ["Boss"] = {
  3288.                             ["show_target"] = false,
  3289.                             ["color"] = {
  3290.                                 nil, -- [1]
  3291.                                 nil, -- [2]
  3292.                                 nil, -- [3]
  3293.                                 0.400000035762787, -- [4]
  3294.                             },
  3295.                         },
  3296.                     },
  3297.                 },
  3298.             },
  3299.         },
  3300.     },
  3301.     ["global"] = {
  3302.         ["config_version"] = 2,
  3303.     },
  3304.     ["profileKeys"] = {
  3305.         [""] = "Active",
  3306.     },
  3307.     ["profiles"] = {
  3308.         ["Active"] = {
  3309.             ["class_order"] = {
  3310.                 "WARRIOR", -- [1]
  3311.                 "DEATHKNIGHT", -- [2]
  3312.                 "PALADIN", -- [3]
  3313.                 "MONK", -- [4]
  3314.                 "PRIEST", -- [5]
  3315.                 "SHAMAN", -- [6]
  3316.                 "DRUID", -- [7]
  3317.                 "ROGUE", -- [8]
  3318.                 "MAGE", -- [9]
  3319.                 "WARLOCK", -- [10]
  3320.                 "HUNTER", -- [11]
  3321.             },
  3322.             ["layouts"] = {
  3323.                 ["Normal"] = {
  3324.                     ["font"] = "ABF",
  3325.                     ["exists"] = true,
  3326.                 },
  3327.                 ["Boss"] = {
  3328.                     ["bar_spacing"] = 1,
  3329.                     ["size_y"] = 90,
  3330.                     ["font"] = "ABF",
  3331.                     ["exists"] = true,
  3332.                     ["size_x"] = 370,
  3333.                     ["bar_texture"] = "TukTex",
  3334.                 },
  3335.                 ["Pet_Target"] = {
  3336.                     ["bar_spacing"] = 1,
  3337.                     ["size_y"] = 20,
  3338.                     ["font_size"] = 0.75,
  3339.                     ["font"] = "ABF",
  3340.                     ["exists"] = true,
  3341.                     ["bar_texture"] = "TukTex",
  3342.                 },
  3343.                 ["Focus"] = {
  3344.                     ["bar_spacing"] = 1,
  3345.                     ["size_y"] = 35,
  3346.                     ["font_size"] = 0.9,
  3347.                     ["font"] = "ABF",
  3348.                     ["exists"] = true,
  3349.                     ["size_x"] = 190,
  3350.                     ["bar_texture"] = "TukTex",
  3351.                 },
  3352.                 ["Target"] = {
  3353.                     ["bar_spacing"] = 1,
  3354.                     ["size_y"] = 25,
  3355.                     ["font_size"] = 0.9,
  3356.                     ["font"] = "ABF",
  3357.                     ["exists"] = true,
  3358.                     ["size_x"] = 150,
  3359.                     ["bar_texture"] = "TukTex",
  3360.                 },
  3361.                 ["Pet"] = {
  3362.                     ["strata"] = "LOW",
  3363.                     ["bar_spacing"] = 1,
  3364.                     ["indicator_root_inside_vertical_padding"] = 3,
  3365.                     ["indicator_root_outside_margin"] = 3,
  3366.                     ["indicator_root_inside_horizontal_padding"] = 3,
  3367.                     ["font_size"] = 0.9,
  3368.                     ["font"] = "ABF",
  3369.                     ["exists"] = true,
  3370.                     ["size_y"] = 35,
  3371.                     ["bar_texture"] = "TukTex",
  3372.                 },
  3373.                 ["BossParty"] = {
  3374.                     ["strata"] = "HIGH",
  3375.                     ["bar_spacing"] = 1,
  3376.                     ["size_y"] = 55,
  3377.                     ["font_size"] = 0.9,
  3378.                     ["font"] = "ABF",
  3379.                     ["exists"] = true,
  3380.                     ["bar_texture"] = "TukTex",
  3381.                 },
  3382.                 ["Player"] = {
  3383.                     ["strata"] = "LOW",
  3384.                     ["bar_spacing"] = 1,
  3385.                     ["indicator_root_inside_vertical_padding"] = 3,
  3386.                     ["indicator_root_outside_margin"] = 3,
  3387.                     ["size_y"] = 90,
  3388.                     ["font"] = "ABF",
  3389.                     ["exists"] = true,
  3390.                     ["size_x"] = 275,
  3391.                     ["indicator_root_inside_horizontal_padding"] = 3,
  3392.                     ["bar_texture"] = "TukTex",
  3393.                 },
  3394.             },
  3395.             ["lock_movement"] = true,
  3396.             ["units"] = {
  3397.                 ["targettargettarget"] = {
  3398.                     ["enabled"] = false,
  3399.                     ["position_x"] = -564.960540771484,
  3400.                     ["position_y"] = 24.8359985351563,
  3401.                 },
  3402.                 ["focustarget"] = {
  3403.                     ["enabled"] = false,
  3404.                     ["position_x"] = -617.384033203125,
  3405.                     ["position_y"] = -144.253295898438,
  3406.                     ["layout"] = "Target",
  3407.                 },
  3408.                 ["targettarget"] = {
  3409.                     ["position_x"] = 527.9287109375,
  3410.                     ["position_y"] = -361.074035644531,
  3411.                     ["layout"] = "Target",
  3412.                 },
  3413.                 ["player"] = {
  3414.                     ["position_x"] = -205.266174316406,
  3415.                     ["tooltip"] = "never",
  3416.                     ["position_y"] = -330,
  3417.                     ["layout"] = "Player",
  3418.                 },
  3419.                 ["focus"] = {
  3420.                     ["position_x"] = -722.611206054688,
  3421.                     ["position_y"] = -303.467254638672,
  3422.                     ["layout"] = "Focus",
  3423.                 },
  3424.                 ["target"] = {
  3425.                     ["position_x"] = 251.222412109375,
  3426.                     ["position_y"] = -327.777603149414,
  3427.                     ["layout"] = "Boss",
  3428.                 },
  3429.                 ["pet"] = {
  3430.                     ["position_x"] = -475,
  3431.                     ["position_y"] = -322.700866699219,
  3432.                     ["layout"] = "Pet",
  3433.                 },
  3434.                 ["focustargettarget"] = {
  3435.                     ["enabled"] = false,
  3436.                     ["position_x"] = -662.056045532227,
  3437.                     ["position_y"] = -56.99462890625,
  3438.                 },
  3439.                 ["pettarget"] = {
  3440.                     ["position_x"] = -475,
  3441.                     ["position_y"] = -295.200866699219,
  3442.                     ["layout"] = "Pet_Target",
  3443.                 },
  3444.             },
  3445.             ["groups"] = {
  3446.                 ["Party pets"] = {
  3447.                     ["position_x"] = 258.725708007813,
  3448.                     ["use_pet_header"] = false,
  3449.                     ["unit_group"] = "partypet",
  3450.                     ["exists"] = true,
  3451.                     ["position_y"] = 143.4228515625,
  3452.                 },
  3453.                 ["BossParty"] = {
  3454.                     ["vertical_spacing"] = 20,
  3455.                     ["position_x"] = 795.99658203125,
  3456.                     ["vehicle_swap"] = false,
  3457.                     ["units_per_column"] = 8,
  3458.                     ["font_multiplier"] = 0.9,
  3459.                     ["enabled"] = true,
  3460.                     ["layout"] = "BossParty",
  3461.                     ["unit_group"] = "boss",
  3462.                     ["exists"] = true,
  3463.                     ["position_y"] = 140.482788085938,
  3464.                     ["show_when"] = {
  3465.                         ["raid40"] = true,
  3466.                         ["solo"] = true,
  3467.                         ["raid10"] = true,
  3468.                         ["raid25"] = true,
  3469.                         ["raid"] = true,
  3470.                         ["raid20"] = true,
  3471.                         ["raid15"] = true,
  3472.                     },
  3473.                 },
  3474.             },
  3475.             ["made_groups"] = true,
  3476.             ["minimap_icon"] = {
  3477.                 ["hide"] = true,
  3478.             },
  3479.         },
  3480.         ["Default"] = {
  3481.             ["groups"] = {
  3482.                 ["Party pets"] = {
  3483.                     ["enabled"] = true,
  3484.                     ["exists"] = true,
  3485.                     ["unit_group"] = "partypet",
  3486.                 },
  3487.                 ["Party"] = {
  3488.                     ["enabled"] = true,
  3489.                     ["exists"] = true,
  3490.                 },
  3491.             },
  3492.             ["minimap_icon"] = {
  3493.                 ["hide"] = true,
  3494.             },
  3495.             ["class_order"] = {
  3496.                 "WARRIOR", -- [1]
  3497.                 "DEATHKNIGHT", -- [2]
  3498.                 "PALADIN", -- [3]
  3499.                 "MONK", -- [4]
  3500.                 "PRIEST", -- [5]
  3501.                 "SHAMAN", -- [6]
  3502.                 "DRUID", -- [7]
  3503.                 "ROGUE", -- [8]
  3504.                 "MAGE", -- [9]
  3505.                 "WARLOCK", -- [10]
  3506.                 "HUNTER", -- [11]
  3507.             },
  3508.             ["layouts"] = {
  3509.                 ["Normal"] = {
  3510.                     ["exists"] = true,
  3511.                 },
  3512.                 ["Player"] = {
  3513.                     ["exists"] = true,
  3514.                     ["size_y"] = 90,
  3515.                     ["size_x"] = 250,
  3516.                     ["bar_texture"] = "TukTex",
  3517.                 },
  3518.             },
  3519.             ["lock_movement"] = true,
  3520.             ["made_groups"] = true,
  3521.             ["units"] = {
  3522.                 ["player"] = {
  3523.                     ["tooltip"] = "never",
  3524.                     ["layout"] = "Player",
  3525.                     ["position_x"] = -638.195526123047,
  3526.                     ["position_y"] = 350.685791015625,
  3527.                 },
  3528.                 ["targettargettarget"] = {
  3529.                 },
  3530.                 ["focus"] = {
  3531.                 },
  3532.                 ["target"] = {
  3533.                 },
  3534.                 ["focustarget"] = {
  3535.                 },
  3536.                 ["pet"] = {
  3537.                     ["position_x"] = -463.920043945313,
  3538.                     ["position_y"] = -63.8056640625,
  3539.                 },
  3540.             },
  3541.         },
  3542.     },
  3543. }
Advertisement
Add Comment
Please, Sign In to add comment