supersurfer 23 Posted August 29, 2015 Share Posted August 29, 2015 (edited) 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 August 29, 2015 by supersurfer Link to comment https://wrobot.eu/forums/topic/2332-incombat/ Share on other sites More sharing options...
Droidz 2738 Posted August 29, 2015 Share Posted August 29, 2015 (edited) 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 August 29, 2015 by Droidz Link to comment https://wrobot.eu/forums/topic/2332-incombat/#findComment-10834 Share on other sites More sharing options...
supersurfer 23 Posted August 29, 2015 Author Share Posted August 29, 2015 Thank you, i will try that :) Link to comment https://wrobot.eu/forums/topic/2332-incombat/#findComment-10836 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now