Skip to content

Instantly share code, notes, and snippets.

@GabeStah
Created January 23, 2015 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GabeStah/0857e2fb7c2a5f12982e to your computer and use it in GitHub Desktop.
Save GabeStah/0857e2fb7c2a5f12982e to your computer and use it in GitHub Desktop.
WeakAurasSaved = {
["displays"] = {
["B5 BR6"] = {
["parent"] = "Red rune border",
["mirror"] = false,
["untrigger"] = {
["form"] = 1,
},
["regionType"] = "texture",
["blendMode"] = "BLEND",
["color"] = {
1, -- [1]
1, -- [2]
1, -- [3]
0.7686623334884644, -- [4]
},
["xOffset"] = 16,
["actions"] = {
["start"] = {
},
["finish"] = {
},
},
["texture"] = "\\\\interface\\addons\\Custom UI\\Deathknight runes\\R6_rune.tga",
["animation"] = {
["start"] = {
["preset"] = "fade",
["type"] = "preset",
["duration_type"] = "seconds",
},
["main"] = {
["colorR"] = 1,
["type"] = "custom",
["use_color"] = true,
["scaley"] = 1,
["colorA"] = 1,
["scalex"] = 1,
["alpha"] = 0,
["x"] = 0,
["y"] = 0,
["colorType"] = "pulseColor",
["colorG"] = 1,
["colorB"] = 1,
["colorFunc"] = "return function(progress, r1, g1, b1, a1, r2, g2, b2, a2)\n local angle = (progress * 2 * math.pi) - (math.pi / 2)\n local newProgress = ((math.sin(angle) + 1)/2);\n return r1 + (newProgress * (r2 - r1)),\n g1 + (newProgress * (g2 - g1)),\n b1 + (newProgress * (b2 - b1)),\n a1 + (newProgress * (a2 - a1))\nend\n",
["rotate"] = 0,
["duration_type"] = "seconds",
["duration"] = "4.5",
},
["finish"] = {
["preset"] = "fade",
["type"] = "preset",
["duration_type"] = "seconds",
},
},
["additional_triggers"] = {
},
["trigger"] = {
["type"] = "status",
["unevent"] = "auto",
["form"] = 1,
["event"] = "Stance/Form/Aura",
["use_unit"] = true,
["custom_hide"] = "timed",
["use_form"] = true,
["unit"] = "player",
["subeventSuffix"] = "_CAST_START",
["subeventPrefix"] = "SPELL",
["names"] = {
},
["debuffType"] = "HELPFUL",
},
["selfPoint"] = "CENTER",
["id"] = "B5 BR6",
["rotation"] = 24,
["frameStrata"] = 4,
["width"] = 35,
["discrete_rotation"] = 0,
["anchorPoint"] = "CENTER",
["numTriggers"] = 1,
["desaturate"] = false,
["height"] = 35,
["rotate"] = true,
["load"] = {
["use_class"] = true,
["role"] = {
["multi"] = {
},
},
["use_level"] = false,
["level_operator"] = ">=",
["class"] = {
["single"] = "DEATHKNIGHT",
["multi"] = {
["DEATHKNIGHT"] = true,
},
},
["level"] = "64",
["spec"] = {
["multi"] = {
},
},
["size"] = {
["multi"] = {
},
},
},
["yOffset"] = -15,
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment