camelot10 155 Posted March 28, 2018 Share Posted March 28, 2018 is it possible? coz some quests required no pets at all. as example this quest http://bfa.wowhead.com/quest=47203 kill pet in void and fc keep spamming pet summoning Quote Link to post Share on other sites
Droidz 2494 Posted March 29, 2018 Share Posted March 29, 2018 Hello, the more easy way is to dispose fightclass: wManager.Wow.Helpers.CustomClass.DisposeCustomClass(); wManager.Wow.Helpers.CustomClass.LoadCustomClass(); You can also try to cancel spell state (but this will works only with xml fightclasses): robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += delegate (robotManager.FiniteStateMachine.Engine engine, robotManager.FiniteStateMachine.State state, System.ComponentModel.CancelEventArgs cancelable) { try { var s = state as wManager.Wow.Bot.States.SpellState; if (s != null) { if (s.Spell.Name.StartsWith("Call Pet")) cancelable.Cancel = true; } } catch { } }; Quote Link to post Share on other sites
camelot10 155 Posted March 29, 2018 Author Share Posted March 29, 2018 3 hours ago, Droidz said: Hello, the more easy way is to dispose fightclass: wManager.Wow.Helpers.CustomClass.DisposeCustomClass(); wManager.Wow.Helpers.CustomClass.LoadCustomClass(); You can also try to cancel spell state (but this will works only with xml fightclasses): robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += delegate (robotManager.FiniteStateMachine.Engine engine, robotManager.FiniteStateMachine.State state, System.ComponentModel.CancelEventArgs cancelable) { try { var s = state as wManager.Wow.Bot.States.SpellState; if (s != null) { if (s.Spell.Name.StartsWith("Call Pet")) cancelable.Cancel = true; } } catch { } }; main problem is there is mob in void who can agro your character and required fightclass. if load fc on fightstart then it start summoning pet, void kill pet, repeat summoning pet. wManager.Wow.Helpers.CustomClass.LoadCustomClass(); Quote Link to post Share on other sites
Droidz 2494 Posted March 30, 2018 Share Posted March 30, 2018 second code don't works? Quote Link to post Share on other sites
camelot10 155 Posted March 31, 2018 Author Share Posted March 31, 2018 On 3/30/2018 at 5:08 PM, Droidz said: second code don't works? yup. its work Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.