Jump to content

InCombat


supersurfer
 Share

Recommended Posts

Hi Droidz,

It seems ObjectManager.Me.InCombat works a little different from => Lua.LuaDoString<bool>("return UnitAffectingCombat(\"player\")");

could you implement this alternative version of InCombat into the api please ?

Best regards,

surfer

Edited by supersurfer
Link to comment
Share on other sites

Hello, 

Try to use ObjectManager.Me.InCombatFlagOnly if you want same result than UnitAffectingCombat (tell me if this works).

In the bot I use Conditions.IsAttackedAndCannotIgnore (and Fight.InFight is true when WRobot has started combat).

Edited by Droidz
Link to comment
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
 Share

×
×
  • Create New...