Thread Tools Display Modes
03-06-10, 06:10 AM   #1
abyssis87
A Kobold Labourer
Join Date: Mar 2010
Posts: 1
Help with Debuffs on Target and PvP icon

I wont lie, I know nothing of Lua coding, so if anyone responds to this please tell me which file and where the new code has to go in the actual lua please
I am currently using oUF Caellian but I think what I'm asking is related to the original files.

- What I'm after is that no buffs or debuffs on the player frame, focus or target's target, but I do want buffs and debuffs to be shown on the Target frame.

- With the PvP, I found a code earlier but they didn't say where in the pvp.lua to place the actual code

Code:
local pvp = "hp":CreateTexture(nil, 'OVERLAY')
pvp:SetPoint('TOPLEFT', self, 'TOPRIGHT', -10, 7)
pvp:SetHeight(24)
pvp:SetWidth(24)
self.PvP = pvp
That's the code - I presume that's placing the Blizzard pvp icon back..

Any help anyone can give me I would greatly appreciate it
  Reply With Quote
03-06-10, 08:45 AM   #2
Rostok
A Flamescale Wyrmkin
Join Date: Jul 2008
Posts: 127
1. Find in the code a "if unit == 'player' then" and if there's code for self.Buffs or self.Debuffs or self.Auras comment out or delete those pieces of code. Repeat for your other unit you don't Auras.

2. If you want the pvp icon to appear for every unit, place it after the healthbar declaration or if you want for specific unit do a "if unit == 'something' then".
If you want to be sure that your code works :

Code:
local pvp = self.Health:CreateTexture(nil, 'OVERLAY')
pvp:SetPoint('TOPLEFT', self, 'TOPRIGHT', -10, 7)
pvp:SetHeight(24)
pvp:SetWidth(24)
self.PvP = pvp
That's all.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Help with Debuffs on Target and PvP icon

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