Code:
{
["user_y"] = 0,
["user_x"] = 0,
["xOffset"] = -437.14263916016,
["yOffset"] = 338.5712890625,
["foregroundColor"] = {
[1] = 1,
[2] = 1,
[3] = 1,
[4] = 1,
},
["desaturateBackground"] = false,
["sameTexture"] = true,
["backgroundColor"] = {
[1] = 0.5,
[2] = 0.5,
[3] = 0.5,
[4] = 0.5,
},
["selfPoint"] = "CENTER",
["trigger"] = {
["type"] = "custom",
["subeventSuffix"] = "_CAST_START",
["event"] = "Health",
["unit"] = "player",
["customDuration"] = "function()\n local swing = UnitRangedDamage(\"player\") \n return swing, GetTime()+swing\nend",
["custom"] = "function(event,unit,spell)\n if (unit == \"player\") and (spell == GetSpellInfo(75)) then\n return true\n end\nend\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
["events"] = "UNIT_SPELLCAST_SUCCEEDED",
["custom_hide"] = "custom",
["custom_type"] = "event",
["subeventPrefix"] = "SPELL",
["names"] = {
},
["debuffType"] = "HELPFUL",
},
["stickyDuration"] = false,
["rotation"] = 0,
["font"] = "Friz Quadrata TT",
["height"] = 200,
["load"] = {
["use_class"] = true,
["role"] = {
["multi"] = {
},
},
["spec"] = {
["multi"] = {
},
},
["class"] = {
["single"] = "HUNTER",
["multi"] = {
},
},
["size"] = {
["multi"] = {
},
},
},
["fontSize"] = 12,
["foregroundTexture"] = "Textures\\SpellActivationOverlays\\Eclipse_Sun",
["mirror"] = false,
["regionType"] = "progresstexture",
["blendMode"] = "BLEND",
["additional_triggers"] = {
},
["untrigger"] = {
["custom"] = "function()\n return true\nend\n\n\n\n\n\n",
},
["actions"] = {
["start"] = {
},
["finish"] = {
},
},
["animation"] = {
["start"] = {
["duration_type"] = "seconds",
["type"] = "none",
},
["main"] = {
["duration_type"] = "seconds",
["type"] = "none",
},
["finish"] = {
["duration_type"] = "seconds",
["type"] = "none",
},
},
["alpha"] = 1,
["compress"] = false,
["id"] = "AutoShot_SwingTimer",
["crop_y"] = 0.41,
["frameStrata"] = 1,
["width"] = 200,
["backgroundTexture"] = "Textures\\SpellActivationOverlays\\Eclipse_Sun",
["inverse"] = false,
["numTriggers"] = 1,
["desaturateForeground"] = false,
["orientation"] = "VERTICAL",
["crop_x"] = 0.41,
["anchorPoint"] = "CENTER",
["backgroundOffset"] = 2,
}