Jump to content
Ishwar

How to auto self cast on no luna mouseover?

Recommended Posts

I have been trying to figure this out for hours now. I want a macro that will behave like a normal luna mouseover macro (like this)

/lunamo Greater Heal(Rank 1) 

as long as my mouse is hovering over a unit frame but I want it to cast on self if the mouse is not hovering over a unit frame.

10 gold tip to any one who can help me figure this out.

Share this post


Link to post
Share on other sites

Yes this is what I am doing now. A macro that worked the way I described would free up 9 key binds for me however since I normally use alt modifier to bind additional spells, macros and items ect.

Share this post


Link to post
Share on other sites

I figured it out. I modified line 111 of luna.lua from

	CastSpellByName(action)

to

	CastSpellByName(action,1)

And now it works flawlessly. I might submit a pull request because the current functionality is not as useful as this.

Edited by Ishwar

Share this post


Link to post
Share on other sites

The option Joannax posted is working well for me. Might be some other addon breaking your stuff.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×