-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added the optional ability to learn spells from drops such as the ones from AQ20. And warlock pet training for all bots. #114
Conversation
Forgot to remove an extra include that wasn't needed.
I think you should specify when and what happens in config at least. Book spells are learned on randomise for all random bots lvl 60 already. |
also not sure why cmath is needed to get item requiredClass. Is it how it's done in core files? |
I used cmath to break down the required class out of that's in base2 to the format that is in the core (ie required class for. rogue only item is 8, the class in the get class of a rogue returns 4. I don't know about core how it was done in the core I'll check on that and modify to the core structure. |
I think I understand what your saying.
|
… and logs to get class mask to 1-11 value.
Updated AutoLearnBookSpells description to show that randomly generated bots automatically do this.
I've done another minor update to the description to help clarify that not only is the learn class spells from books is a alt bot thing but that also randomly generated bots automatically do this. |
I'm having to go through AutoLearnSpellAction and make some major changes. I'm going to close this PR and reopen once I get all the bot pets sorted. |
Added an option in the configs to learn spells that are gained from drops in classic such as Arcane Brilliance or Gift of the Wild.
Modified
GeneralActions
functionbool InitializePetAction::isUseful()
to include train all bot warlock pets IF autoLearnTrainerSpells is enabled.