Code:
{
["outline"] = true,
["fontSize"] = 23,
["color"] = {
[1] = 0,
[2] = 0.62745098039216,
[3] = 1,
[4] = 1,
},
["displayText"] = "%n",
["yOffset"] = -475.99083709717,
["anchorPoint"] = "CENTER",
["customTextUpdate"] = "update",
["actions"] = {
["start"] = {
},
["finish"] = {
},
},
["regionType"] = "text",
["justify"] = "LEFT",
["selfPoint"] = "BOTTOM",
["additional_triggers"] = {
},
["trigger"] = {
["type"] = "custom",
["custom_type"] = "event",
["event"] = "Health",
["unit"] = "player",
["custom_hide"] = "custom",
["customName"] = "function()\n return WA_Shadowy_Apparition_Count\nend\n\n\n\n\n\n\n\n",
["custom"] = "function(...)\n \n if (select(1,...) == \"PLAYER_REGEN_ENABLED\" or select(1,...) == \"PLAYER_REGEN_DISABLED\" or select(1,...) == \"PLAYER_ENTERING_WORLD\") then\n WA_Shadowy_Apparition_Count = 0\n WA_Shadowy_Apparition_GUIDs = {}\n else\n \n if (select(3,...) == \"SPELL_SUMMON\" and select(5,...) == UnitGUID(\"player\") and select(10,...) == \"Shadowy Apparition\") then\n WA_Shadowy_Apparition_GUIDs = type(WA_Shadowy_Apparition_GUIDs) == \"table\" and WA_Shadowy_Apparition_GUIDs or {}\n WA_Shadowy_Apparition_GUIDs[select(9,...)] = true\n WA_Shadowy_Apparition_Count = WA_Shadowy_Apparition_Count + 1\n end\n \n if (select(3,...) == \"SPELL_CAST_SUCCESS\" and select(6,...) == \"Shadowy Apparition\") then\n \n WA_Shadowy_Apparition_GUIDs = type(WA_Shadowy_Apparition_GUIDs) == \"table\" and WA_Shadowy_Apparition_GUIDs or {} \n \n if (WA_Shadowy_Apparition_GUIDs[select(5,...)] ~= nil) then\n WA_Shadowy_Apparition_GUIDs[select(5,...)] = nil\n WA_Shadowy_Apparition_Count = WA_Shadowy_Apparition_Count - 1\n end\n \n end\n \n end\n \n return true\n \nend\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
["events"] = "COMBAT_LOG_EVENT_UNFILTERED, PLAYER_REGEN_ENABLED, PLAYER_REGEN_DISABLED, PLAYER_ENTERING_WORLD",
["subeventSuffix"] = "_CAST_START",
["subeventPrefix"] = "SPELL",
["names"] = {
},
["debuffType"] = "HELPFUL",
},
["frameStrata"] = 1,
["width"] = 339.83294677734,
["animation"] = {
["start"] = {
["type"] = "none",
["duration_type"] = "seconds",
},
["main"] = {
["type"] = "none",
["duration_type"] = "seconds",
},
["finish"] = {
["type"] = "none",
["duration_type"] = "seconds",
},
},
["font"] = "Friz Quadrata TT",
["numTriggers"] = 1,
["xOffset"] = 1.1240234375,
["height"] = 22.5055103302,
["id"] = "Shadowy Apparition - Counter",
["load"] = {
["use_class"] = true,
["role"] = {
["multi"] = {
},
},
["size"] = {
["multi"] = {
},
},
["spec"] = {
["single"] = 3,
["multi"] = {
[3] = true,
},
},
["class"] = {
["single"] = "PRIEST",
["multi"] = {
},
},
["use_talent"] = false,
},
["untrigger"] = {
},
}