Hello, I'm looking for someone to take this code and turn it into a broker feed display.
if not UnitIsFriend(unit,'player') then
local i = 1
local ttw,dam,hit,crit,wisdom= false,false,false,false,false
local tr,tg,tb = 255,00,00
local dr,dg,db = 255,00,00
local hr,hg,hb = 255,00,00
local cr,cg,cb = 255,00,00
local wr,wg,wb = 255,00,00
while true do
local name,_,icon = UnitAura(unit,i,"HARMFUL")
if not name then
break
elseif name == "Thunder Clap" then
ttw = true
elseif name == "Infected Wounds" then
ttw = true
elseif name == "Frost Fever" then
ttw = true
elseif name == "Earth and Moon" then
dam = true
elseif name == "Ebon Plague" then
dam = true
elseif name == "Curse of the Elements" then
dam = true
elseif name == "Misery" then
hit = true
elseif name == "Faerie Fire" then
hit = true
elseif name == "Totem of Wrath" then
crit = true
elseif name == "Master Poisoner" then
crit = true
elseif name == "Heart of the Crusader" then
crit = true
elseif name == "Judgement of Wisdom" then
wisdom = true
end
i = i + 1
end
if ttw then
tr,tg,tb = 00,255,00
end
if dam then
dr,dg,db = 00,255,00
end
if hit then
hr,hg,hb = 00,255,00
end
if crit then
cr,cg,cb = 00,255,00
end
if wisdom then
wr,wg,wb = 00,255,00
end
return "|cff%02x%02x%02xT|r|cff%02x%02x%02xD|r|cff%02x%02x%02xH|r|cff%02x%02x%02xC|r|cff%02x%02x%02xW|r" ,tr,tg,tb,dr,dg,db,hr,hg,hb,cr,cg,cb,wr,wg,wb
end
Or maybe point me in a good direction ti get it started. A warning though I tired to sit down and learn LUA and didn't get anywhere.
Hello, I currently have my borders class colored using
local _, class = UnitClass("player");
if class == "WARRIOR" then
self:SetBackdropBorderColor(0.95, 0.23, 0.23, 0.50)
elseif class == "PRIEST" then
self:SetBackdropBorderColor(1, 0.96, 0.98, 0.50)
elseif class == "MAGE" then
self:SetBackdropBorderColor(0.00, 1, 1, 0.50)
elseif class == "DRUID" then
self:SetBackdropBorderColor(1, 0.49, 0.04, 0.50)
elseif class == "PALADIN" then
self:SetBackdropBorderColor(0.92, 0.22, 0.46, 0.50)
elseif class == "HUNTER" then
self:SetBackdropBorderColor(0.33, 0.86, 0.00, 0.50)
elseif class == "ROGUE" then
self:SetBackdropBorderColor(1, 0.94, 0.16, 0.50)
elseif class == "SHAMAN" then
self:SetBackdropBorderColor(0.13, 0.42, 1, 0.50)
elseif class == "WARLOCK" then
self:SetBackdropBorderColor(0.36, 0.18, 1, 0.50)
elseif class == "DEATHKNIGHT" then
self:SetBackdropBorderColor(0.77, 0.12, 0.23, 0.50)
end
I would like them to change colors if that unit has aggro to red. (player, tar, tot, and Party 1-4)
This might not be the thread to ask, but it is related to PB. I'm trying to make my raid Text 100% alpha regardless of range. [Alpha(1)] doesn't seem to work because all text is link to frame strata. I had the same problem with trying to Parent Panels to the raid frames. Any suggestions?
Is there a way to to change the Text Alpha? I have pitbull set to out of range alpha, but this makes the text also faded. I want the unit frama faded but all text at 100%.
Not quite sure how long the count down timer has been in there, but I really like it. I have one problem though. I have raiddbuff set to Center Icon, but the countdown text is right over the Icon, and the text color is blueish. Both makes it hard to read the time. I tried adding Center Text 2(or 3) as raid debuff in hopes that it would show me clear countdown text. But it just prints out the name of the Debuff.
So is it possible to Move the countdown portion on Raiddebuff? Or Change the text color to something that stands out more?
Anyone having a problem with hiding Macro and Hotkey Text? Once I click the option to hide them, they do go away, but as soon as I either go into combat, press Alt to show a paged Bar, or reloadui UI, the text immediately comes back. I tried uninstalling and deleting my LUA, and made sure the file permissions weren't set to read only. I also turned off Button Facade. But No luck.
Nah know a Fix?
My guild like allot of guild uses Loot council. We determine who gets loot off of three main factors:
1. Size of Upgrade
2. Last time Looted
3. Raid attendance
So a addon that showed these three things, that the council could quicly see :
Who is bidding
What they are upgrading
Last time the looted
How big of an upgrade
Would really cut down the time it takes to get loot out.
Heres my idea
- Boss dies, Master looter gets a list of drops something like Xloot
- ML clicks what item is up for bids, the raid gets a message
- Interested members link what they are upgrading to the ML and put a number 1-5 after thier tell.
- the 1-5 would describe how much of an upgrade they think it is for them
- The ML and everyone on the Loot council get window of incoming tells
- The window shows would show:
-The Item people are bidding on
- The item that people are trying to upgrade
- The last time each of them looted
- The Size of upgrade
- Their raid attendance
Seeing how many DKP mods their are, im surprised a Council mod hasn't been made yet. Any comments?
0
Or maybe point me in a good direction ti get it started. A warning though I tired to sit down and learn LUA and didn't get anywhere.
0
I would like them to change colors if that unit has aggro to red. (player, tar, tot, and Party 1-4)
0
I want to make my borders Classcolored, I have basic LUA knowledge but cound't work it out.
And for the curious here's, my UI and what I'm shooting for. As the player Unit frame looks nice, but target and party frames look off.
0
0
0
So is it possible to Move the countdown portion on Raiddebuff? Or Change the text color to something that stands out more?
0
Nah know a Fix?
0
1. Size of Upgrade
2. Last time Looted
3. Raid attendance
So a addon that showed these three things, that the council could quicly see :
Who is bidding
What they are upgrading
Last time the looted
How big of an upgrade
Would really cut down the time it takes to get loot out.
Heres my idea
- Boss dies, Master looter gets a list of drops something like Xloot
- ML clicks what item is up for bids, the raid gets a message
- Interested members link what they are upgrading to the ML and put a number 1-5 after thier tell.
- the 1-5 would describe how much of an upgrade they think it is for them
- The ML and everyone on the Loot council get window of incoming tells
- The window shows would show:
- The item that people are trying to upgrade
- The last time each of them looted
- The Size of upgrade
- Their raid attendance
Seeing how many DKP mods their are, im surprised a Council mod hasn't been made yet. Any comments?
0
I'd like to be able to have the panels on my eavesdrop fade once the eavesdrop text fades. Its about 12 seconds after combat ends.
I think that would be the easiest way for the panels to be hidden when eavesdrop cant be seen.
Any suggestiosn?