[Addon] LunaUnitFrames

Re: [Addon] LunaUnitFrames

by parcus » Fri Nov 20, 2015 1:38 pm

Destillia wrote:
parcus wrote:Hello guys, trying to use the click with a macro (SpellStopCasting + Flash of Light). Is there any way I could do it ?


Why would u do that, if u click that button twice or more ur gonna keep canceling ur casts?..

I play with a high ping and use fastcast. That means I get effectively 1 extra flash heal every 20 secs by using that macro.
parcus
Tester
 

Re: [Addon] LunaUnitFrames

by Hawt » Sat Nov 21, 2015 11:07 am

''Mobhealth3 not found'' When I try to download the file.

edit: mobhealth*
Hawt
Sergeant Major
Sergeant Major
 

Re: [Addon] LunaUnitFrames

by parcus » Sat Nov 21, 2015 11:30 am

parcus wrote:Hello guys, trying to use the click with a macro (SpellStopCasting + Flash of Light). Is there any way I could do it ?

Now I found out that the mouseover macro also bugs (sometimes it doesn't cast and you have to left/right click to cast again). I guess if the click worked with the macro it wouldn't be an issue since I'd be spamming left click anyway. Any sugestions ?

Edited: It seems the issue is that mouseover commands act like a regular skill button (if you press the button and the mouse is not over a raid frame, you need to click someone in order to start casting, this blocks the mouseover from starting again).
parcus
Tester
 

Re: [Addon] LunaUnitFrames

by Sqw » Sat Nov 21, 2015 12:24 pm

Appreciate your work and really like it and can't imagine my playing exp without your addon) I also have small question, because interested in binding some logic to mouseover functionality, I mean in "Luna Click Casting Configuration" I can only set spell to cast and its rank, but is there possibility to set more sophisticated logic there? For example I want to check smth before cast, or cast smth another depending from condition...Is it possible to bind Clique, like not to use it separately, but bind functions from Clique(or what is supposed to be linked meaning "A function from your UI or add-ons"). Thank you for any help
Sqw
Tester
 

Re: [Addon] LunaUnitFrames

by hkshadow » Sun Nov 22, 2015 2:52 pm

nice,in use.
hkshadow
Tester
 

Re: [Addon] LunaUnitFrames

by Jeniwyn » Sun Nov 22, 2015 5:33 pm

Sqw wrote:Appreciate your work and really like it and can't imagine my playing exp without your addon) I also have small question, because interested in binding some logic to mouseover functionality, I mean in "Luna Click Casting Configuration" I can only set spell to cast and its rank, but is there possibility to set more sophisticated logic there? For example I want to check smth before cast, or cast smth another depending from condition...Is it possible to bind Clique, like not to use it separately, but bind functions from Clique(or what is supposed to be linked meaning "A function from your UI or add-ons"). Thank you for any help


It works perfectly, just put any lua code you wish in the textbox and it will work. (There is some upper char limit though.) The ClickCast function sets your target to what you click (and then changes it back) so you can get the unit info that way.

Silly example:

if UnitHealth("target")/UnitHealthMax("target") > 0.5 then CastSpellByName("Heal(Rank 2)") else CastSpellByName("Flash Heal(Rank 7)") end

If you put that code into the box, it will work

By "A function from your UI or add-ons" he means that if you have your logic coded in an addon, you can just call the function.

If you paste this code into any of your addons (I wouldn't recommend this unless you are fairly sure what you are doing):

function MyCoolHealLogic()
if UnitHealth("target")/UnitHealthMax("target") > 0.5 then
CastSpellByName("Heal(Rank 2)")
else CastSpellByName("Flash Heal(Rank 7)")
end
end


then you could simply put

MyCoolHealLogic()

in the ClickCast box.

parcus wrote:Hello guys, trying to use the click with a macro (SpellStopCasting + Flash of Light). Is there any way I could do it ?


Just put:

SpellStopCasting(); CastSpellByName("Flash Heal(Rank 7)")

in the ClickCast box.
Last edited by Jeniwyn on Mon Nov 23, 2015 9:35 am, edited 1 time in total.
User avatar
Jeniwyn
Senior Sergeant
Senior Sergeant
 

Re: [Addon] LunaUnitFrames

by cofko » Sun Nov 22, 2015 5:49 pm

cofko wrote:Sometimes (not often) all of a sudden (failed at trying to reproduce it) i am no longer able to select targets on the raid frames, consequently the clik-casting also does not work. Sometimes it is all the targets, other times it is random (i can select myself and 1 or 2 others). All of this happens in 5 man groups. Have not yet tested it in a raid.


Happened again today out of the blue while in BRD. At first i was not able to select just myself. After a bit no one. A bit later first two party members and quite some time later everyone again. Did not reload or die or anything in the mean time, neither did anyone else.

Party frames and me (player frame) still worked, but the raid frames were not clickable.

Still do not know why. Enabling disabling raid frames did no help.
cofko
Grunt
Grunt
 

Re: [Addon] LunaUnitFrames

by Sqw » Sun Nov 22, 2015 5:53 pm

Jeniwyn, thank you so much!
Sqw
Tester
 

Re: [Addon] LunaUnitFrames

by rummi » Sun Nov 22, 2015 6:57 pm

Is it possible too add a frame for the person you are healing but not necessarily targeting?
rummi
Private
Private
 

Re: [Addon] LunaUnitFrames

by Rhena » Sun Nov 22, 2015 10:38 pm

@Jeniwyn: Thanks i really appreciate when people help out here since i can't find the time to do it all by myself. :D

@rummi: Theoretically yes, but why...


Gonna try and nail that targeting bug down...

LUF 2.0 is coming along well. I hope to have something up soon for people to test out.
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
 

PreviousNext

Return to Addons & macros