Jump to content
  • [Cataclysm] Visit trainer only if there are spells to be trained


    Hashira
    • Product: WRobot General Type: Suggestion Status: Unconfirmed
     Share

    Currently the bot may visit a class trainer even if there is no spell to be trained. It would be nice if in Cataclysm the bot would take into account the spell book information while deciding if it should visit the trainer or not:

    image.png.b0cc9001d231ca89ab39d9d591017990.png

     

    I guess the training state could be cancelled via "robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState", but I don't see any method in the Spell/SpellInfo/SpellManger that could return if a method is 'learnable' - is this something that can be added to the API ? (and maybe throw an error on other expansions, since WoTLK and lower would need static lists, and MoP and higher don't have training anymore).


     Share


    User Feedback

    Recommended Comments

    you should be able to use Lua if there is a function. i'd recommend looking at the backend of spellbook the mpq file and see if there is a script you could run then over ride training

     

    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.

    Guest
    Add a comment...

    ×   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...