Chona 0 Posted September 22, 2017 Share Posted September 22, 2017 Hi, I would like to know if there is some kind of condition for casting something AFTER a normal attack, the idea would be to cast slam after a white attack. if not, is there a way to do this? thanks, Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/ Share on other sites More sharing options...
Droidz 2742 Posted September 23, 2017 Share Posted September 23, 2017 Hello, this is managed by your fightclass Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-32470 Share on other sites More sharing options...
Chona 0 Posted September 23, 2017 Author Share Posted September 23, 2017 Hi Droidz, i meant if there is a <tag> in an xml file of the fightclass like = <afterattack></afterattack>, or must i do it by code? Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-32474 Share on other sites More sharing options...
Chona 0 Posted September 30, 2017 Author Share Posted September 30, 2017 Bump for someone that knows. thanks, Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-32866 Share on other sites More sharing options...
Droidz 2742 Posted October 1, 2017 Share Posted October 1, 2017 Hello, wManager.Events.FightEvents.OnFightEnd += guid => { if (wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !wManager.Wow.Helpers.Conditions.IsAttackedAndCannotIgnore) { // your code here } }; Chona 1 Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-32893 Share on other sites More sharing options...
Chona 0 Posted October 3, 2017 Author Share Posted October 3, 2017 Hi droidz, been trying to make it work but i believe the problem is in OnFightEnd, it tries to do it after the fight ends instead of after each normal attack (white attack) //Slam wManager.Events.FightEvents.OnFightEnd += guid => { if (wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !wManager.Wow.Helpers.Conditions.IsAttackedAndCannotIgnore) { Slam.Launch(); return; } }; OnFightLoop says it does not take 1 argument. do you know how to make it slam after each normal attack?. many thanks, Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-33021 Share on other sites More sharing options...
Droidz 2742 Posted October 3, 2017 Share Posted October 3, 2017 Do you have instantiate "Slam" ? Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-33023 Share on other sites More sharing options...
Chona 0 Posted October 3, 2017 Author Share Posted October 3, 2017 Droidz, Yes: public Spell Slam = new Spell("Slam"); 20 hours ago, Chona said: OnFightEnd are you sure the above is correct?, since only when the fight ends the character tries to cast slam undefinately with no target ofc. Edit: this is for TBC private server. Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-33075 Share on other sites More sharing options...
Chona 0 Posted October 5, 2017 Author Share Posted October 5, 2017 Bump :D Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-33186 Share on other sites More sharing options...
Job Schipper 0 Posted September 1, 2018 Share Posted September 1, 2018 I found a solution to this, without needing to to know if an auto attack "just happened". Heres what to do (DIY with fightclass editor): Add "Slam" to your fightclass, and for timer put down your weapon speed. So for instance, for my WW axe with speed 3.6, put down timer: 3600 This way, it will work as intended most of the time. When you start attacking, it will autoattack + instantly slam, and repeat. I will upload a fight class that does this soon (vanilla), that also incorporates the adjusted speed for Flurry. Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-47018 Share on other sites More sharing options...
Job Schipper 0 Posted September 1, 2018 Share Posted September 1, 2018 @Chona see my previous reply. Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-47019 Share on other sites More sharing options...
Job Schipper 0 Posted September 1, 2018 Share Posted September 1, 2018 I submitted my slam fightclass to the downloads section: Its for vanilla only, but it should show you how to make your own for other versions. Link to comment https://wrobot.eu/forums/topic/7161-fightclass-autoatack-slam-warrior/#findComment-47020 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