Jump to content

Recommended Posts

Hello, why bot dont see the unit when i use CreatureTypeTarget? Without CreatureTypeTarget work is good. Unit is 100% Humanoid.

var unit = ObjectManager.GetWoWUnitAttackables()
                     .Where(o =>
                         o.GetDistance < 6 &&
                         o.CreatureTypeTarget == "Humanoid" &&
                         o.IsAlive).OrderBy(o => o.GetDistance).FirstOrDefault();

Link to comment
https://wrobot.eu/forums/topic/10809-dont-check-any-condition/
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...