Jump to content

Mage adding wand and condition for use

Recommended Posts

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 ?


Link to comment
Share on other sites

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
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...