Download
(2 Kb)
Download
Updated: 05-03-11 11:57 PM
Pictures
File Info
Updated:05-03-11 11:57 PM
Created:12-17-09 03:08 AM
Downloads:3,909
Favorites:19
MD5:
oUF Trinkets
Version: 40100.1-Beta
by: Allez [More]
Adds trinket status to oUF, allowing you to see if an unit has used its PvP trinket.

Example usage:
(arena frames only)
Code:
if (unit and unit:find('arena%d') and (not unit:find("arena%dtarget")) and (not unit:find("arena%dpet"))) then
	self.Trinket = CreateFrame("Frame", nil, self)
	self.Trinket:SetHeight(27)
	self.Trinket:SetWidth(27)
	self.Trinket:SetPoint("TOPRIGHT", self, "TOPLEFT", -4, 1)
	self.Trinket.trinketUseAnnounce = true
	self.Trinket.trinketUpAnnounce = true
end
(all frames)
Code:
	local trinket = self.Health:CreateFontString(nil, 'OVERLAY')
	trinket:SetPoint("CENTER")
	trinket:SetFont(GameFontNormal:GetFont(),13)
	trinket.frequentUpdates = 0.25
	self:Tag(trinket, '[trinket]')
You will need to add oUF_Trinkets in the optional dependencies of your layout in the TOC file.
You can use OmniCC to display cooldown count text
40100.1-Beta
* update for patch 4.1

40000.1-Beta
* .toc update

30300.4-Beta
* support for embedded oUF

30300.3-Beta
* 45 second shared cooldown with Will of the Forsaken
* Added [trinket] tag. Works with all units
* Reset all trinkets status when changed area
* Added options to display trinket usage announcement

30300.2-Alpha
* bug fix release
Archived Files (5)
File Name
Version
Size
Author
Date
40000.1-Beta
2kB
Allez
10-12-10 05:45 AM
30300.4-Beta
2kB
Allez
06-27-10 11:20 PM
30300.3-Beta
2kB
Allez
01-17-10 09:44 AM
30300.2-Alpha
1kB
Allez
12-18-09 06:17 AM
30300.1-Alpha
1kB
Allez
12-17-09 03:08 AM


Post A Reply Comment Options
Unread 05-03-11, 05:33 PM  
Thedeath
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
can i add this to default frames?
can u do it if no?
Thedeath is offline Report comment to moderator  
Reply With Quote
Unread 01-28-12, 06:43 PM  
Caelis
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
iIm using a heavy modified simple2 layout, and i can't for the life of me get this to work or actually figure out where to add the lines of code.

Is there anybody that can help me get this to work?
Caelis is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: