| Updated: | 05-03-11 11:57 PM |
| Created: | 12-17-09 02:08 AM |
| Downloads: | 2,785 |
| Favorites: | 21 |
| MD5: |
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
local trinket = self.Health:CreateFontString(nil, 'OVERLAY')
trinket:SetPoint("CENTER")
trinket:SetFont(GameFontNormal:GetFont(),13)
trinket.frequentUpdates = 0.25
self:Tag(trinket, '[trinket]')
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 08:44 AM |
|
30300.2-Alpha |
1kB |
Allez |
12-18-09 05:17 AM |
|
30300.1-Alpha |
1kB |
Allez |
12-17-09 02:08 AM |
![]() |
Comment Options |
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 20
Uploads: 0
|
can i add this to default frames?
can u do it if no? |
|
|
|
|
||
|
||
|
|
|
|
||
|
Getting this error
|
||
|
|
|
|
||
|
||
|
|
|
|
||
|
||
|
|
|
|
||
Last edited by Allez : 12-20-09 at 02:48 AM.
|
||
|
|
|
|
||
|
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
can anyone link me his oUF layout with trinket support so i can see what i have to do? |
|
|
|
|
|
||
button.cd.noCooldownCount = true or icons.disableCooldown = true disables OmniCC text / spiral textures on any icons spawned by layout |
||
|
|
|
|
||
|
||
|
|
|
|
||
|
||
|
|
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
any time my arena frames spawn i got this error
Code:
oUF_Trinkets.lua:23: attempt to index field '?' (a nil value) |
|
|
|
|
|
|
Alright, the problem with this module is that you will never get your time/spiral frame to spawn if you disable that spiral frames in your layout.
So basically anyone with button.cd.noCooldownCount = true or icons.disableCooldown = true in create aura function will have no time spawned on those trinket icons. My suggestion: Make an option or some kind of indicator that we can use in our layouts to define the moment when trinket was used, so we would be able to fade the trinket icon out or something. |
|
|
|
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
i dont know why but i cant get it to work for me
i think i´m the problem ^^ |
|
|
![]() |