Jump to content

Recommended Posts

  • 3 weeks later...
  • 2 weeks later...

@Droidz That doesn't help me, since we have no way of knowing when Auto Attack swing happens. If we know when Auto Attack swing happens, we could just set a timer. I know there are Interface Addons that track swing timer, so the event must be in the game client, and I was hoping you exposed it somewhere/somehow.

Hello, you can use the event "UNIT_COMBAT" in conjunction with "wManager.Wow.Helpers.EventsLuaWithArgs.OnEventsLuaWithArgs":

            wManager.Wow.Helpers.EventsLuaWithArgs.OnEventsLuaWithArgs += delegate (LuaEventsId id, List<string> args)
            {
                if (id == LuaEventsId.UNIT_COMBAT && args[0] == "TARGET" && args[1] == "WOUND")
                {
                    //your code
                }
            };

I belive the arguments are right. You just need to setup timer & get actual attack speed.

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
×
×
  • Create New...