Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Lombra
Forum: General Authoring Discussion Yesterday, 07:11 AM
Replies: 16
Views: 585
Posted By Lombra
Do unpack(debuffs). Edit: Or wait, you want to...

Do unpack(debuffs).

Edit: Or wait, you want to look for two different buffs? Then you need to do a loop over debuffs and call UnitDebuff for both values individually.
Forum: Lua/XML Help 02-18-17, 09:54 PM
Replies: 1
Views: 97
Posted By Lombra
The combat log event is the basis for most boss...

The combat log event is the basis for most boss mod features. It is sort of complex, and triggers when spells are cast, buffs are gained, etc.

http://wow.gamepedia.com/COMBAT_LOG_EVENT
Forum: PTR UI Bugs 02-14-17, 07:22 AM
Replies: 4
Views: 207
Posted By Lombra
Item name and quality are both properties that...

Item name and quality are both properties that aren't always immediately available, so it should indeed be a cache issue. I don't know if those are screenshots from the default UI, but in that case...
Forum: PTR UI Bugs 02-13-17, 09:24 PM
Replies: 0
Views: 84
Posted By Lombra
[7.2] C_TransmogCollection.GetAppearanceSourceInfo returns link of base item

The sixth return of C_TransmogCollection.GetAppearanceSourceInfo (item link) returns the base version of the item for certain items. The appearance ID and transmog links seem to be correct.

For...
Forum: Lua/XML Help 02-02-17, 07:02 PM
Replies: 2
Views: 199
Posted By Lombra
"instancelock" should be what you're looking...

"instancelock" should be what you're looking for.
Forum: Lua/XML Help 01-28-17, 09:52 AM
Replies: 10
Views: 337
Posted By Lombra
If you create a frame using a template that has...

If you create a frame using a template that has an OnLoad handler, that will run regardless of whether you create the frame in Lua or XML. The script tag is irrelevant.
Forum: Lua/XML Help 01-22-17, 06:04 AM
Replies: 2
Views: 264
Posted By Lombra
1) To show static item...

1) To show static item tooltip:
ShowUIPanel(ItemRefTooltip)
if not ItemRefTooltip:IsShown() then
ItemRefTooltip:SetOwner(UIParent, "ANCHOR_PRESERVE")
end
ItemRefTooltip:SetHyperlink(link)

2) Yes....
Forum: Lua/XML Help 01-21-17, 05:28 AM
Replies: 2
Views: 268
Posted By Lombra
It's very simple! The UIParent here specifies...

It's very simple!

The UIParent here specifies the parent of the button. Just change it to your frame.
mybutton1 = CreateFrame("Button","mybutton", myAddon.panel, "UIPanelButtonTemplate")
Forum: Lua/XML Help 01-04-17, 01:13 PM
Replies: 13
Views: 1,708
Posted By Lombra
Yes. You can now retrieve the modifier ID using...

Yes. You can now retrieve the modifier ID using C_TransmogCollection.GetItemInfo.
Forum: Lua/XML Help 01-02-17, 02:46 PM
Replies: 4
Views: 357
Posted By Lombra
I'm not sure we're on the same page still! If you...

I'm not sure we're on the same page still! If you click the inspect button normally you get the transmog in the dressing room, but if you control-right click that button, you should get them in MogIt...
Forum: Lua/XML Help 01-02-17, 11:13 AM
Replies: 4
Views: 357
Posted By Lombra
Hi, You can actually do this already (kind of) by...

Hi,
You can actually do this already (kind of) by control-right clicking that one dressup button in the inspect frame. Not very obvious, I know. I don't know that you can do it without inspecting,...
Forum: Lua/XML Help 12-21-16, 10:07 PM
Replies: 8
Views: 486
Posted By Lombra
I just realised that was my 500th post, then....

I just realised that was my 500th post, then. Wohoo! \o/

I have not submitted any pull requests, so make sure you're not crediting the wrong person. :P Either way, you're welcome! Feel free to...
Forum: Lua/XML Help 12-21-16, 03:45 PM
Replies: 8
Views: 486
Posted By Lombra
I would not trust GetItemStats, unless it has...

I would not trust GetItemStats, unless it has been improved recently. It might not take into account things like upgraded items or warforged and instead just use the base stats.

Anyway, the problem...
Forum: Lua/XML Help 12-21-16, 08:27 AM
Replies: 8
Views: 486
Posted By Lombra
You've got the jist of it....

You've got the jist of it. textContainsRatingValues is just a pseudo function. Replace with your own logic!

Yes, all the text is returned as plain text. Apart from not using == to test equality, the...
Forum: Lua/XML Help 12-19-16, 09:45 PM
Replies: 8
Views: 486
Posted By Lombra
Should be fairly straightforward. Assuming you...

Should be fairly straightforward. Assuming you want to add the info to the game tooltip, you need to hook for example the OnTooltipSetItem script, parse all tooltip lines and edit the text...
Forum: Lua/XML Help 12-12-16, 07:13 AM
Replies: 5
Views: 445
Posted By Lombra
Texture returns are IDs instead of paths...

Texture returns are IDs instead of paths nowadays. You should probably check against item ID or something, though.
Forum: Lua/XML Help 12-09-16, 05:42 AM
Replies: 4
Views: 331
Posted By Lombra
Hasn't worked how?

Hasn't worked how?
Forum: AddOn Search/Requests 12-08-16, 08:25 AM
Replies: 10
Views: 560
Posted By Lombra
Exactly. Randomness has got nothing to do with...

Exactly. Randomness has got nothing to do with variation.
Forum: Lua/XML Help 11-28-16, 02:48 PM
Replies: 68
Views: 2,942
Posted By Lombra
Well, your 'C' in chars is capitalised...

Well, your 'C' in chars is capitalised differently. I don't think it's possible to make out any other errors from the information given.
Forum: Lua/XML Help 11-21-16, 11:45 AM
Replies: 68
Views: 2,942
Posted By Lombra
You can just make your frame a button instead. No...

You can just make your frame a button instead. No need to make an extra frame. Buttons support everything that frames do. Or you can use the "OnMouseUp" frame script, which gives you practically the...
Forum: Lua/XML Help 11-20-16, 09:12 AM
Replies: 68
Views: 2,942
Posted By Lombra
Yes, those are something like texture IDs. You...

Yes, those are something like texture IDs. You can use them directly with SetTexture, though. Do you actually need the texture path for something?

The SetScript procedure is the same. The only...
Forum: Lua/XML Help 11-16-16, 03:17 PM
Replies: 68
Views: 2,942
Posted By Lombra
You only need it to respond to mouse clicks, I...

You only need it to respond to mouse clicks, I think.
Forum: Lua/XML Help 11-15-16, 08:56 PM
Replies: 68
Views: 2,942
Posted By Lombra
Getting that info shouldn't be terribly CPU...

Getting that info shouldn't be terribly CPU intensive (ie not at all), so it's fine to just get it anew when you show the tooltip. You don't wanna put the SetScript("OnEnter") inside the OnEvent, if...
Forum: General Authoring Discussion 11-15-16, 02:50 PM
Replies: 5
Views: 509
Posted By Lombra
You typed in that script into the chat box?...

You typed in that script into the chat box? That's essentially the same as an addon doing it, for the record. But yes, there are a number of issues with dropdown menus tainting stuff, namely the PvP...
Forum: Lua/XML Help 11-15-16, 12:27 PM
Replies: 68
Views: 2,942
Posted By Lombra
Of course, I mentioned that condition in my post....

Of course, I mentioned that condition in my post. My expression only works as expected if item ID never is false.


I already said I was talking from a readability perspective. I think mine reads...
Showing results 1 to 25 of 500