Jump to content

Recommended Posts

I'm building a custom profile/healing fight class for PvP and the Battleground Free State is force targeting hostile players and trying to attack them in the short window between targeting the intended friendly target and casting the heal spells.

Along with the targeting, the forced movement is messing with the class as well. 

Is there a way to force stop the movement and fighting until re-enabled by a function?

As in:

Me.InCombat = true;

Battleground.Dispose();

...fight class with personal movement and targeting...

Me.InCombat = false;

Battleground.Run();

Hello,

 wManager.Events.FightEvents.OnFightStart += (target, cancelable) =>
        {
            cancelable.Cancel = true;
            while (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && ObjectManager.Me.InCombat)
            {
                // you custom move....
            }
        };

 

14 hours ago, Droidz said:

Hello,


 wManager.Events.FightEvents.OnFightStart += (target, cancelable) =>
        {
            cancelable.Cancel = true;
            while (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && ObjectManager.Me.InCombat)
            {
                // you custom move....
            }
        };

 

There is any way to add the fight class profile to block the bot to control the movement?

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