Download
(3Kb)
Download
Updated: 07-28-11 02:24 AM
Pictures
File Info
Updated:07-28-11 02:24 AM
Created:07-26-11 10:31 PM
Downloads:3,565
Favorites:12
MD5:

nibEclipse

Version: 1.3
by: Nibelheim [More]

1.3


What is it:

nibEclipse is a lightweight and simple Druid Eclipse display.

All options can be adjusted at the top of Config.lua
After changing settings, type: /reload ui

Note: The Eclipse meter will only show if you have an attackable target selected.



Features:
  • Lightweight
  • Configurable
  • Border highlights Lunar/Solar buff
  • Direction arrow
  • Status bar and Text to show current Eclipse progress




Options:
  • Position
    • X and Y offset
    • Anchor point
    • Parent frame
  • Size
    • Height
    • Width
    • Arrow Scale and Offsets
  • Colors
    • Status Bar opacity
    • Lunar area
    • Solar area
    • Arrow
    • Border
    • Aura Border
  • Font
    • Name (path to font)
    • Size
    • Tags (monochrome, outline, etc)
    • Vertical Offset

1.3
  • Added some more visibility conditions. Should now hide if you're in a Vehicle, and won't show up if your target is dead.

1.2
  • Added option for hiding the Text

1.1
  • Removed a Print statement left over from testing
Post A Reply Comment Options
Unread 11-16-13, 09:20 AM  
Velarayne
An Aku'mai Servant
 
Velarayne's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 35
File comments: 57
Uploads: 1
I edited the config with the change TellyTop made, but for some reason the Eclipse Bar still isn't showing up. :<

This addon is amazing; Is there any way to fix it so it will work?
Report comment to moderator  
Reply With Quote
Unread 10-25-12, 11:58 AM  
TellyTop
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 23
Uploads: 1
Update?

Is there any chance for an update to this wonderful addon?


Edit:
Oh, it wasn't so hard to fix anyway. Just change
Code:
if ( (GetPrimaryTalentTree()
to
Code:
if ( (GetSpecialization()
on the start of line 100.

I feel so silly now...
Last edited by TellyTop : 10-25-12 at 01:39 PM.
Report comment to moderator  
Reply With Quote
Unread 03-13-12, 08:36 AM  
pineconez
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Some questions about the code

Okay, so I wanted to modify the parameters on when the Eclipse indicator showed to the following:
* When I'm targeting a unit that can be attacked
* Always when I'm in combat.

Not a difficult problem, I came up with this for UpdateShown():

Code:
local function Eclipse_UpdateShown()
	local form = GetShapeshiftFormID()
	if form == MOONKIN_FORM or not form then
		if ( (GetPrimaryTalentTree() == 1) and (UnitAffectingCombat("player") or UnitCanAttack("player", "target"))) then
			nEF.Frames.Main:Show()
		else
			nEF.Frames.Main:Hide()
		end
	else
		nEF.Frames.Main:Hide()
	end
end
And it does work, except it doesn't hide the frame on leaving combat. I need to manually target something non-attackable (even though my target clears automatically).
Any suggestions on how to fix that? ;(

Edit: Okay, I did some more digging through the Core.lua, and I added "PLAYER_REGEN_ENABLED" and "PLAYER_REGEN_DISABLED" to the code block in EclipseEvents that calls UpdateShown(). This doesn't fix it either. I'm confused. :/

Edit 2: Okay, solved it. The events need to be registered before they can be checked, so I added

Code:
nEF.Frames.Main:RegisterEvent("PLAYER_REGEN_ENABLED")
nEF.Frames.Main:RegisterEvent("PLAYER_REGEN_DISABLED")
to nEF.SetupEvents(). That fixed it. (and I learned something about the WoW API today )
Last edited by pineconez : 03-13-12 at 09:12 AM.
Report comment to moderator  
Reply With Quote
Unread 07-28-11, 07:31 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Originally posted by litesung
Whoa, what is the unitframe in the second screenshot?
UF from Velarayne UI.
Report comment to moderator  
Reply With Quote
Unread 07-28-11, 07:16 PM  
litesung
A Flamescale Wyrmkin
 
litesung's Avatar

Forum posts: 130
File comments: 231
Uploads: 0
Whoa, what is the unitframe in the second screenshot?
Report comment to moderator  
Reply With Quote
Unread 07-27-11, 06:47 AM  
creepy_inc
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Looks great, I'll give it a whirl
Report comment to moderator  
Edit/Delete Message Reply With Quote
Post A Reply



Category Jump: