Jump to content
  • Shai Hu problem with ignore list


    tottoro
    • Version: All Product: Gatherer Type: Bug Status: Fixed

    Bot is attacking this elite mob even if i add him to ignore list. To kill it u have to lure some other mob to take off his shield buff so bot stuck there sometimes for hours. Tryed to add this zone to ignore list too but that also doesnt work. Im using gatherer profile.



    User Feedback

    Recommended Comments

    Hello, use plugin like  Main.cs:

    using System.ComponentModel;
    using wManager.Wow.ObjectManager;
    
    public class Main : wManager.Plugin.IPlugin
    {
        public void Initialize()
        {
            wManager.Events.FightEvents.OnFightStart += delegate(WoWUnit unit, CancelEventArgs cancelable) {
                if (unit != null && unit.IsValid && unit.Entry == 12345)
                {
                    if (!wManager.Wow.ObjectManager.ObjectManager.BlackListObjectManagerGuid.Contains(unit.Guid))
                        wManager.Wow.ObjectManager.ObjectManager.BlackListObjectManagerGuid.Add(unit.Guid);
                    cancelable.Cancel = true;
                }
            };
        }
    
        public void Dispose()
        {
        }
    
        public void Settings()
        {
        }
    }

    Replace 12345 by mob entry id

    Link to comment
    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...