Jump to content

Recommended Posts

I'm currently looking for a solution on how to remove Blood elves as a detectable race by Wrobot.

I use Wrobot for pvp and a server I play on has blood elves on the alliance side which is my current obstacle to get over to make Wrobot functional in a pvp scenario. Instead of attacking the horde it will also try to attack my friendly's which has made me turn off attacking people first.

Is there anyway to remove Blood elves as a detectable race by Wrobot? 

Hi, try plugin like 

using wManager.Wow.Enums;
using wManager.Wow.ObjectManager;

public class Main : wManager.Plugin.IPlugin
{
    public void Initialize()
    {
        wManager.Events.FightEvents.OnFightStart += (unit, cancelable) =>
        {
            if (unit.Type == WoWObjectType.Player)
            {
                var player = new WoWPlayer(unit.GetBaseAddress);
                if (player.PlayerRace == PlayerFactions.BloodElf)
                {
                    cancelable.Cancel = true;
                    ObjectManager.BlackListObjectManagerGuid.Add(player.Guid);
                }
            }
        };
    }

    public void Dispose()
    {
    }

    public void Settings()
    {
    }
}

 

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