-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alt bots learn dropped book spells (#123)
* Added config settings to config file. Added config variables to PlayerbotAIConfig.cpp and PlayerbotAIConfig.h Added the spell list to and function to AutoLearnSpellsAction.cpp and AutoLearnSpellsAction.h * Finished AutoLearnSpellAction::LearnDroppedSpells. Just needs testing. * Fixed bug that classes only learned spell if they were the level, not if there were greater than the level and did not have the skill. * Update aiplayerbot.conf.dist.in Added a more detailed explanation of what AiPlayerbot.AutoLearnDroppedSpells does. * Review changes Added default values to TBC and WoTLK aiplayerbot.conf files. Added ifdef surounding call for LearnDroppedSpells if statement.
- Loading branch information
Showing
7 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -612,7 +612,8 @@ bool PlayerbotAIConfig::Initialize() | |
autoPickTalents = config.GetStringDefault("AiPlayerbot.AutoPickTalents", "no"); | ||
autoLearnTrainerSpells = config.GetBoolDefault("AiPlayerbot.AutoLearnTrainerSpells", false); | ||
autoLearnQuestSpells = config.GetBoolDefault("AiPlayerbot.AutoLearnQuestSpells", false); | ||
autoDoQuests = config.GetBoolDefault("AiPlayerbot.AutoDoQuests", true); | ||
autoLearnDroppedSpells = config.GetBoolDefault("AiPlayerbot.AutoLearnDroppedSpells", false); | ||
autoDoQuests = config.GetBoolDefault("AiPlayerbot.AutoDoQuests", false); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Pip1987
Author
Contributor
|
||
syncLevelWithPlayers = config.GetBoolDefault("AiPlayerbot.SyncLevelWithPlayers", false); | ||
syncLevelMaxAbove = config.GetIntDefault("AiPlayerbot.SyncLevelMaxAbove", 5); | ||
syncLevelNoPlayer = config.GetIntDefault("AiPlayerbot.SyncLevelNoPlayer", randombotStartingLevel); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Was it intended to change the default for
autoDoQuests
back tofalse
?