Thread Tools Display Modes
10-16-08, 11:04 PM   #1
007license
A Defias Bandit
Join Date: Oct 2008
Posts: 2
a simple addon request (3-5 lines ish)

I want a very simple addon to track the time left on overkill with a Deadly Boss Mods timer...

like the one that displays when you type

/script DBM.StartStatusBarTimer(6, "Overkill",nil,false);

in game

but I want it to trigger once every time the rogue exits stealth mode

edit: to clarify:

so once the "player" exits stealth, execute the above script

edit: tandanu gave me this code to try
local mod = DBM:NewBossMod("Overkill", "Overkill Timer", nil, DBM_OTHER, DBM_NO_GUI_TAB, 0)

mod:RegisterEvents(
"SPELL_AURA_REMOVED",
)

function mod:OnEvent(event, args)
if event == "SPELL_AURA_REMOVED" then
if args.spellId == 1787 then
self:StartStatusBarTimer(6, "Overkill", 58427, false)
end
end
end
but that won't seem to work either.

Last edited by 007license : 10-19-08 at 05:43 PM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » a simple addon request (3-5 lines ish)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off