Jump to content

wow20230625

Members
  • Posts

    16
  • Joined

  • Last visited

Reputation Activity

  1. Thanks
    wow20230625 reacted to Droidz in Snippets codes for quest profiles   
    Ignore fighting back
    To disable detection when the character is attacked, use this c# code:
    wManager.Wow.Helpers.Conditions.ForceIgnoreIsAttacked = true; To reactivate attack detection:
    wManager.Wow.Helpers.Conditions.ForceIgnoreIsAttacked = false; (don't forget to reactivate it, or restart WRobot if you want use other profile/product)
     
    You can also ignore fighting back with specific mob:
    WoWUnit unit = new WoWUnit(0); if (unit.IsValid && !wManager.Wow.ObjectManager.ObjectManager.BlackListObjectManagerGuid.Contains(unit.Guid)) wManager.Wow.ObjectManager.ObjectManager.BlackListGetUnitAttackPlayerGuidTime.Add(unit.Guid, System.DateTime.Now + System.TimeSpan.FromMinutes(2));  
×
×
  • Create New...