February 24, 20233 yr 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?
February 26, 20233 yr 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