mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
fix
removed unexisting spells for mounting moved condition for check Guild on top of method
This commit is contained in:
@@ -2021,7 +2021,7 @@ void PlayerbotFactory::InitMounts()
|
|||||||
fast = { 23225, 23223, 23222 };
|
fast = { 23225, 23223, 23222 };
|
||||||
break;
|
break;
|
||||||
case RACE_TROLL:
|
case RACE_TROLL:
|
||||||
slow = { 8588, 10796, 8592, 472 };
|
slow = { 10796, 472 };
|
||||||
fast = { 23241, 23242, 23243 };
|
fast = { 23241, 23242, 23243 };
|
||||||
break;
|
break;
|
||||||
case RACE_DRAENEI:
|
case RACE_DRAENEI:
|
||||||
@@ -2412,15 +2412,15 @@ void PlayerbotFactory::InitInventoryEquip()
|
|||||||
|
|
||||||
void PlayerbotFactory::InitGuild()
|
void PlayerbotFactory::InitGuild()
|
||||||
{
|
{
|
||||||
|
if (bot->GetGuildId())
|
||||||
|
return;
|
||||||
|
|
||||||
bot->SaveToDB(false, false);
|
bot->SaveToDB(false, false);
|
||||||
|
|
||||||
// add guild tabard
|
// add guild tabard
|
||||||
if (bot->GetGuildId() && !bot->HasItemCount(5976, 1))
|
if (bot->GetGuildId() && !bot->HasItemCount(5976, 1))
|
||||||
StoreItem(5976, 1);
|
StoreItem(5976, 1);
|
||||||
|
|
||||||
if (bot->GetGuildId())
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (sPlayerbotAIConfig->randomBotGuilds.empty())
|
if (sPlayerbotAIConfig->randomBotGuilds.empty())
|
||||||
RandomPlayerbotFactory::CreateRandomGuilds();
|
RandomPlayerbotFactory::CreateRandomGuilds();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user