Quantcast Make Touch of Elune visible? - WoWInterface
Thread Tools Display Modes
10-22-16, 03:52 PM   #1
myrroddin
A Molten Giant
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 836
Make Touch of Elune visible?

Is it possible to make Touch of Elune appear in the buffs display? I've looked at SUF and PhanxBuffs to see if there is a method to scan and add your own buffs, but no such luck.

I know ToE is passive, like all racials, but I think it is the only one that changes based on circumstances, in this case, day or night. It would be nice to see the buff so I can mouse over it and remind myself which of the two active bonuses I'm currently getting.
  Reply With Quote
10-22-16, 06:53 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,567
PhanxBuffs did, for a while, have code in place to support showing fake/invisible buffs, and used it to show icons for monk and warrior stances. However, once monk and warrior stances were removed, I also removed the supporting code, since it didn't have any other use.

Based on the comments on Wowhead it's "day" from 6 AM - 6 PM and "night" from 6 PM - 6 AM, but also "day" inside instances at all times. That (assuming it's correct) doesn't require any scanning of anything (and I'm not sure what you'd be scanning anyway, since there is no buff and the character stats API doesn't tell you where your stats came from), just a straightforward check:

Code:
if IsInIstance() or GetGameTime() - 6 < 12 then
   -- it's day
else
   -- it's night
end
If you use the default minimap, you can just look at the calendar button -- if it shows a moon and you're not in an instance, you have the "night" buff, and in all other cases you have the "day" buff.

Otherwise, it would be trivial to make a DataBroker plugin to show you this info, but since you can only ever get the "night" buff outside of instances (which seems like a good thing, so it doesn't affect gear tuning for raid content) it doesn't seem like it's really important enough to dedicate any screen space on showing.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote
10-25-16, 07:14 AM   #3
myrroddin
A Molten Giant
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 836
Thanks Phanx (oo rhyming). I'll see about finding the texture path, which should be easy enough, then do up a databroker or something.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Make Touch of Elune visible?

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