Gunneremil 0 Posted June 9, 2020 Share Posted June 9, 2020 Hello . I tryed to modify this profile to add wand. I added and work but the bot keep spam frostbolt even if no mana and i tryed to add a conditionto use frostbolt only if mana <=25% but dont work.and to use wand if mana is less than 15% or no mana for vanilla Any help ? iMage-Basic.cs Link to comment https://wrobot.eu/forums/topic/12255-mage-adding-wand-and-condition-for-use/ Share on other sites More sharing options...
Zer0 148 Posted June 9, 2020 Share Posted June 9, 2020 Line 82, you're casting a spell (wand) in a method that is only supposed to define a state. Line 422, you're casting wand in a method that is supposed to be a trigger for the Frost nova / Frostbite debuff. The Pull() method is never called anywhere. I've only had a quick glance at the FC and there seems to be a lot of issues on this one. Also, the overall structure of the code is pretty confusing and unnecessarily complicated. You should try to make it simpler and cleaner. I'd advise you check @Marsbar's tutorial on how to create a fightclass. You would most likely be better off starting from scratch instead of trying to fix this one. If you need further inspiration, you can also check https://github.com/Wholesome-wRobot/Z.E.TBC_AllInOne_FightClasses/tree/master/Wrobot/Z.E.FrostMage Link to comment https://wrobot.eu/forums/topic/12255-mage-adding-wand-and-condition-for-use/#findComment-58740 Share on other sites More sharing options...
h20bong 0 Posted December 26, 2023 Share Posted December 26, 2023 Working 100% on vanilla, thanks to Droidz. Link to comment https://wrobot.eu/forums/topic/12255-mage-adding-wand-and-condition-for-use/#findComment-69117 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