Jump to content

Recommended Posts

maybe something like this?

    private bool rangedPull;
    public float Range
    {
        get
        {
            if (!Fight.InFight && ObjectManager.GetWoWUnitHostile().Count(u => u.Position.DistanceTo(ObjectManager.Target.Position) <= 30 && u.IsAttackable) > 1) // if there is more than one mob within 30 yards of the your target's position
            {
                rangedPull = true;
                return 29f;
            }
            else
            {
                rangedPull = false;
                return 5f;
            }
        }
    }

To note, that will only stay at range while out of fight because if the mob you're attacking is a caster, you'll want to run to it. You can of course edit that and add more logic

Link to comment
https://wrobot.eu/forums/topic/9369-dont-move-after-pull/#findComment-43488
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
×
×
  • Create New...