Jump to content

Recommended Posts

Hello, 


        wManager.Events.FightEvents.OnFightEnd += guid =>
        {
            if (wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause &&
                !wManager.Wow.Helpers.Conditions.IsAttackedAndCannotIgnore)
            {
                // your code here
            }
        };

 

Hi droidz,

been trying to make it work but i believe the problem is in OnFightEnd, it tries to do it after the fight ends instead of after each normal attack (white attack)

 

        //Slam
        wManager.Events.FightEvents.OnFightEnd += guid =>
        {
            if (wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause &&
                !wManager.Wow.Helpers.Conditions.IsAttackedAndCannotIgnore)
            {
                Slam.Launch();
                return;
            }
        };

 

OnFightLoop says it does not take 1 argument.

do you know how to make it slam after each normal attack?.

 

many thanks,

Droidz,

Yes:

public Spell Slam = new Spell("Slam");

20 hours ago, Chona said:

OnFightEnd

are you sure the above is correct?, since only when the fight ends the character tries to cast slam undefinately with no target ofc.

Edit: this is for TBC private server.

  • 10 months later...

I found a solution to this, without needing to to know if an auto attack "just happened".

 

Heres what to do (DIY with fightclass editor):

Add "Slam" to your fightclass, and for timer put down your weapon speed.

So for instance, for my WW axe with speed 3.6, put down timer: 3600

 

This way, it will work as intended most of the time.  When you start attacking, it will autoattack + instantly slam, and repeat.

I will upload a fight class that does this soon (vanilla), that also incorporates the adjusted speed for Flurry.

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...