[Addon] LunaUnitFrames

Re: [Addon] LunaUnitFrames

by grynold » Mon Aug 17, 2015 5:25 pm

Is it possible to make a macro like this that works?

/lunamo Power Word: Shield else TargetUnit("Player") CastSpellByName(Power Word: Shield)

I want the shield to be casted on the mouse over target but if thats not possible i want i to be casted on myself without having to use the selfcast key.

Edit: This seems to work:

/lunamo Power Word: Shield
/script TargetUnit("Player")
/cast Power Word; Shield
/script TargetLastTarget()

But if I have no target when casting it will then target my last target. But I dont want any target in that case, is it possible?
Last edited by grynold on Tue Aug 18, 2015 7:15 am, edited 1 time in total.
User avatar
grynold
Private
Private
 

Re: [Addon] LunaUnitFrames

by Conditions » Mon Aug 17, 2015 7:50 pm

You should add overlay abilities for portraits and castbars imo.
"Success is buried in a garden of failure."

[Alliance]
Conditions
User avatar
Conditions
Tester
 

Re: [Addon] LunaUnitFrames

by Rhena » Tue Aug 18, 2015 11:14 am

What?
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

Re: [Addon] LunaUnitFrames

by Conditions » Wed Aug 19, 2015 1:36 am

For an example..
I) being able to set cast bar to overlay the portrait bar or power bar.. (instead of having cast bar add to the frame and shrinking other bars temporarily)
II) being able to set portrait bar to overlay the health bar.. (instead of having to add to the frame and taking up space from other bars)
"Success is buried in a garden of failure."

[Alliance]
Conditions
User avatar
Conditions
Tester
 

Re: [Addon] LunaUnitFrames

by Rhena » Wed Aug 19, 2015 11:08 am

Thats not happening anytime soon. Too much i would have to rewrite for that.
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

Re: [Addon] LunaUnitFrames

by Conditions » Wed Aug 19, 2015 10:55 pm

Only took me an hour to figure out your code and get player frame to have cast bar overlay portrait (about 20 lines so far .. hardcoded until I tweak the configuration portion).. but that's your choice..

What I am curious about though, target frame doesn't seem to display the cast bar. Did you hard code it disabled for target's? or what? I don't want to read your whole code so I figured I just ask you instead.

*Edit*
Apparently npc's have a cast bar (target frame). So only players doesn't have a cast bar (target frame)?
Attachments
luna-overlay-castbar.jpg
WIP-Overlay-Castbar
luna-overlay-castbar.jpg (45.81 KiB) Viewed 3326 times
"Success is buried in a garden of failure."

[Alliance]
Conditions
User avatar
Conditions
Tester
 

Re: [Addon] LunaUnitFrames

by Rhena » Thu Aug 20, 2015 5:24 am

Having it hardcoded is easy. Not breaking all the other options is the challenge though.

The target castbar is triggered by the LunaUnitFrames:StartTargetCast() function in target.lua which is called by enemycastbar.lua (all in modules).
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

Re: [Addon] LunaUnitFrames

by grynold » Thu Aug 20, 2015 8:48 pm

My bar backgrounds occasionally change there background colors with the latest version. I want them to stay black.

Image
User avatar
grynold
Private
Private
 

Re: [Addon] LunaUnitFrames

by Conditions » Thu Aug 20, 2015 10:31 pm

grynold wrote:My bar backgrounds occasionally change there background colors with the latest version. I want them to stay black.

Image

Try going into General Settings and unchecking "Highlight debuffed units you can dispel"
"Success is buried in a garden of failure."

[Alliance]
Conditions
User avatar
Conditions
Tester
 

Re: [Addon] LunaUnitFrames

by NoLemon » Fri Aug 21, 2015 3:08 am

Hey, I know this is going to sound annoying, so pardon my ignorance.
I went to the link you've given on multiple occasions to get buff/debuff durations, but it hasn't had any effect?
I assume I just extract the file into the addons folder? That's what I've done and nothing..
Or is there something I'm missing?

MANY THANKS! <3<3
NoLemon
Private
Private
 

PreviousNext

Return to Addons & macros