22 lines
614 B
Lua
22 lines
614 B
Lua
-- Modules/InterruptTracker.lua
|
|
-- Interrupt tracker based on the shared single-frame tracker base.
|
|
|
|
local ADDON_NAME = "HailMaryGuildTools"
|
|
local HMGT = LibStub("AceAddon-3.0"):GetAddon(ADDON_NAME)
|
|
local L = LibStub("AceLocale-3.0"):GetLocale(ADDON_NAME)
|
|
|
|
local Base = HMGT.SingleFrameTrackerBase
|
|
if not Base then return end
|
|
|
|
Base:CreateModule("InterruptTracker", {
|
|
profileKey = "interruptTracker",
|
|
frameName = "InterruptTracker",
|
|
title = function()
|
|
return L["IT_TITLE"]
|
|
end,
|
|
demoKey = "interruptTracker",
|
|
database = function()
|
|
return HMGT_SpellData.Interrupts
|
|
end,
|
|
})
|