View Single Post
03-17-09, 04:46 PM   #921
Shestak
A Deviate Faerie Dragon
 
Shestak's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 11
Hello. For display of frames I use oUF. It from different examples seen by me has been written. Has adjusted all how it would be desirable for me to see all frames.
Also there was one moment - display defined debuff or buff from the list written by me.

Looked different examples who as does. It has turned out here that:
Code:
oUF.Tags['[ice]'] = function(u) return UnitAura(u, 'Ice Armor')  and "|cff33FF33c|r" end
oUF.TagEvents['[ice]'] = 'UNIT_AURA'

local ice = self.Health:CreateFontString(nil, 'OVERLAY')
ice:SetFont(fontb, 18, 'OUTLINE')	
ice:SetPoint('CENTER', 0, 5)
self:Tag(ice, '[ice]')
Thus the spell and if it is present it is deduced by the text which I have specified above is supervised.

Whether and it is possible at spell occurrence somehow to deduce the text set by me, and its present picture of a spell from game? And how it to make?
As a rough example - tracing of a spell Frost Blast on Kel'Thuzad in Naxxramas.


Thankful in advance for council.

Last edited by Shestak : 03-17-09 at 04:49 PM.