Jump to content

How does "Hostile Unit near target work"


Recommended Posts

When i Set it to 1, it executes even when there is NO additional unit next to my target, when i set it to 2, it exectuse ONLY when there are at least 2 additional units near by, is it bugged?
Condition value is Bigger or equal

Link to comment
Share on other sites

Hello, in fightclass this option count target (it doesn't make sense but I won't change it to avoid breaking the existing fightclass)

Use this c# condition to don't count target:

ObjectManager.GetWoWUnitHostile().Count(u => u.Position.DistanceTo(ObjectManager.Target.Position) <= 10 && !u.IsMyTarget && u.IsAttackable) <= 3

replace 10 by the range, and 3 by number of unit

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...