kekail 2 Posted September 6, 2017 Share Posted September 6, 2017 Hiya! Does anyone know if it's possible to make the bot ignore the mob that is attacking it, and try to run away from it until it's out of combat? Thanks in advance. Link to comment https://wrobot.eu/forums/topic/7008-make-the-bot-run-away-from-attacking-target/ Share on other sites More sharing options...
Droidz 2738 Posted September 6, 2017 Share Posted September 6, 2017 Hello, https://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/?do=findComment&comment=13088 Link to comment https://wrobot.eu/forums/topic/7008-make-the-bot-run-away-from-attacking-target/#findComment-31692 Share on other sites More sharing options...
kekail 2 Posted September 6, 2017 Author Share Posted September 6, 2017 9 hours ago, Droidz said: Hello, https://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/?do=findComment&comment=13088 Great stuff, but is it possible to only enable this for specific mobs? As in, if an elite is attacking you, ignore and keep running, but if normal mob is attacking, fight back. Link to comment https://wrobot.eu/forums/topic/7008-make-the-bot-run-away-from-attacking-target/#findComment-31727 Share on other sites More sharing options...
Droidz 2738 Posted September 7, 2017 Share Posted September 7, 2017 You can try code like: wManager.Events.FightEvents.OnFightStart += (target, cancelable) => { if (target.Entry == 1233) { //wManager.wManagerSetting.AddBlackList(target.Guid, 1000 * 60 * 5, true); cancelable.Cancel = true; } }; (run this code only one time) Link to comment https://wrobot.eu/forums/topic/7008-make-the-bot-run-away-from-attacking-target/#findComment-31738 Share on other sites More sharing options...
kekail 2 Posted September 7, 2017 Author Share Posted September 7, 2017 3 hours ago, Droidz said: You can try code like: wManager.Events.FightEvents.OnFightStart += (target, cancelable) => { if (target.Entry == 1233) { //wManager.wManagerSetting.AddBlackList(target.Guid, 1000 * 60 * 5, true); cancelable.Cancel = true; } }; (run this code only one time) This does stop fighting back, but the bot does not try to run away, instead just stands there, taking it. I'd like it to continue on its path even if it gets dismounted by an elite. Link to comment https://wrobot.eu/forums/topic/7008-make-the-bot-run-away-from-attacking-target/#findComment-31749 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