mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 10:30:01 +01:00
Fix on autoLearnQuestSpells
This commit is contained in:
parent
6d11df0209
commit
c7f0fece76
@ -38,7 +38,7 @@ void AutoLearnSpellAction::LearnSpells(std::ostringstream* out)
|
|||||||
sRandomPlayerbotMgr->IsRandomBot(bot))
|
sRandomPlayerbotMgr->IsRandomBot(bot))
|
||||||
LearnTrainerSpells(out);
|
LearnTrainerSpells(out);
|
||||||
|
|
||||||
if (sPlayerbotAIConfig->autoLearnTrainerSpells &&
|
if (sPlayerbotAIConfig->autoLearnQuestSpells &&
|
||||||
sRandomPlayerbotMgr->IsRandomBot(bot))
|
sRandomPlayerbotMgr->IsRandomBot(bot))
|
||||||
LearnQuestSpells(out);
|
LearnQuestSpells(out);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user