• 0

    posted a message on LuaTexts Official Thread
    Ok. I fixed it. Whenever Mangle or Trauma is on the target, the target's name is red.

    local buff1 = UnitAura("target","Mangle (Cat)",nil,"HARMFUL")
    local buff2 = UnitAura("target","Trauma",nil,"HARMFUL")
    if ( buff1 or buff2 ) then
     return '|cffff0000%s',Name(unit)
    else
     return '%s',Name(unit)
    end
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    I'm trying to craft a custom LuaText that changes the color of the unit frame's name if it has a bleed on it, but it isn't working for some reason. I also added UNIT_AURA to the event list. Anyone know what is wrong with it?

    local buff1 = UnitAura(Name(unit),"Mangle (Cat)","HARMFUL")
    local buff2 = UnitAura(Name(unit),"Trauma","HARMFUL")
    if ( buff1 or buff2 ) then
     return '|cffff0000%s',Name(unit)
    else
     return '%s',Name(unit)
    end
     
    Posted in: Unit Frames
  • 0

    posted a message on GetInboxInvoiceInfo
    It's funny, reading the message first with GetInboxText worked early this morning, but now that the server lag has increased it isn't working anymore.
    Posted in: Lua Code Discussion
  • 0

    posted a message on GetInboxInvoiceInfo
    I decided to just call GetInboxText() for every message before I request the invoice. Seems kind of sloppy, but it works.
    Posted in: Lua Code Discussion
  • 0

    posted a message on GetInboxInvoiceInfo
    I'm trying to use GetInboxInvoiceInfo to scan my successful auctions, but I am getting strange results. The function is returning nil for all the mail I haven't read\opened. I read this is due to server lag or something, but if I call the function again on the same item 5 mins later it still returns nil. How can I ensure GetInboxInvoiceInfo returns non nil info?
    Posted in: Lua Code Discussion
  • 0

    posted a message on PitBull 2.0
    Quote from Wintrow2
    I HAVE been thinking of adding an option to PitBull_Aura that fades buffs/debuffs that don't originate from me and then offering that as a ticket. I COULD also add in to actually not show those buffs (which might actually be easier to implement than fading the unwanted).

    I'm just a bit worried I'll lose other valuable information if I HIDE all the other buffs/debuffs...


    What if you made your debuffs bigger than the others, and make sure they are always at the beginning on the list?
    Posted in: Unit Frames
  • 0

    posted a message on BigWigs_Naxxramas
    Bigwigs is not marking people with a skull when they get the Mutating Injection debuff in the Grobbulus fight.
    Posted in: Raid AddOns
  • 0

    posted a message on Auto repair, need help please
    I believe you just pass the value 1 to RepairAllItems to use guild funds.
    http://www.wowwiki.com/API_RepairAllItems
    Posted in: Lua Code Discussion
  • 0

    posted a message on PitBull 2.0
    Quote from j6 »

    I disabled the battlegrounds module and I still get about 20 errors when WoW loads up. The same errors as motivez.


    All these errors disappeared and pitbull loaded properly after I deleted !Swatter.lua in my saved variables folder.
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 2.0
    I disabled the battlegrounds module and I still get about 20 errors when WoW loads up. The same errors as motivez.
    Posted in: Unit Frames
  • To post a comment, please or register a new account.