mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
removed unwanted changes because of branch merging
This commit is contained in:
@@ -216,7 +216,7 @@ bool GuildManageNearbyAction::Execute(Event event)
|
|||||||
|
|
||||||
if (sPlayerbotAIConfig->inviteChat && (sRandomPlayerbotMgr->IsRandomBot(bot) || !botAI->HasActivePlayerMaster()))
|
if (sPlayerbotAIConfig->inviteChat && (sRandomPlayerbotMgr->IsRandomBot(bot) || !botAI->HasActivePlayerMaster()))
|
||||||
{
|
{
|
||||||
std::map<std::string, std::string> placeholders;
|
/* std::map<std::string, std::string> placeholders;
|
||||||
placeholders["%name"] = player->GetName();
|
placeholders["%name"] = player->GetName();
|
||||||
placeholders["%members"] = std::to_string(guild->GetMemberSize());
|
placeholders["%members"] = std::to_string(guild->GetMemberSize());
|
||||||
placeholders["%guildname"] = guild->GetName();
|
placeholders["%guildname"] = guild->GetName();
|
||||||
@@ -281,7 +281,7 @@ bool GuildManageNearbyAction::Execute(Event event)
|
|||||||
bot->GetGroup()->BroadcastPacket(&data, true);
|
bot->GetGroup()->BroadcastPacket(&data, true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
bot->Say(line, (bot->GetTeamId() == TEAM_ALLIANCE ? LANG_COMMON : LANG_ORCISH));
|
bot->Say(line, (bot->GetTeamId() == TEAM_ALLIANCE ? LANG_COMMON : LANG_ORCISH));*/
|
||||||
}
|
}
|
||||||
|
|
||||||
if (botAI->DoSpecificAction("guild invite", Event("guild management", guid), true))
|
if (botAI->DoSpecificAction("guild invite", Event("guild management", guid), true))
|
||||||
|
|||||||
Reference in New Issue
Block a user