mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
automatically initpet
This commit is contained in:
@@ -119,6 +119,7 @@ class PlayerbotFactory : public InventoryAction
|
||||
void InitAvailableSpells();
|
||||
void InitClassSpells();
|
||||
void InitEquipment(bool incremental);
|
||||
void InitPet();
|
||||
|
||||
private:
|
||||
void Prepare();
|
||||
@@ -136,7 +137,6 @@ class PlayerbotFactory : public InventoryAction
|
||||
void InitTalents(uint32 specNo);
|
||||
void InitTalentsByTemplate(uint32 specNo);
|
||||
void InitQuests(std::list<uint32>& questMap);
|
||||
void InitPet();
|
||||
void ClearInventory();
|
||||
void ClearAllItems();
|
||||
void ResetQuests();
|
||||
|
||||
@@ -43,6 +43,7 @@ void AutoLearnSpellAction::LearnTrainerSpells(std::ostringstream* out)
|
||||
PlayerbotFactory factory(bot, bot->GetLevel());
|
||||
factory.InitClassSpells();
|
||||
factory.InitAvailableSpells();
|
||||
factory.InitPet();
|
||||
// bot->LearnDefaultSkills();
|
||||
|
||||
// CreatureTemplateContainer const* creatureTemplateContainer = sObjectMgr->GetCreatureTemplates();
|
||||
|
||||
Reference in New Issue
Block a user