Originally Posted by Phanx
The more I think about it, the more strongly I'd recommend (you or someone else) to just build arena frames from scratch as an oUF layout. All the basic stuff is already handled for you, so aside from telling it where to put things (eg. health bar here, name text there, auras underneath) you'd only need to write the PvP-specific stuff like trinket and DR tracking yourself.[...] or just updating spell IDs and DR data.
|
That is definitly possible, oUF_Adirelle does that. It's not licensed open source however so you can't copy any code from it. But you can use DRData and/or DiminishingReturns:
http://www.wowace.com/addons/drdata-1-0/ (licensed
BSD) for an example, check
here
OR
http://www.wowace.com/addons/diminishingreturns/
Trinkets are kind of easy, just listen to UNIT_SPELLCAST_SUCCEEDED.
lua Code:
local cooldown_times = {}
cooldown_times[GetSpellInfo(59752)] = 120
cooldown_times[GetSpellInfo(42292)] = 120
-- wotf
-- cooldown_times[GetSpellInfo(7744)] = 30
You can also just add
http://www.wowinterface.com/download...FTrinkets.html.