Fixed opening trade window while using DBM or Questie addon (#1363)

* - Fixed opening trade window while using DBM or Questie addon

* - Added excluded prefixes for trade actions to config

* -Fixed config description
This commit is contained in:
kadeshar
2025-06-08 16:23:51 +02:00
committed by GitHub
parent d15ec79252
commit dfa87faf5e
4 changed files with 9 additions and 2 deletions

View File

@@ -484,6 +484,8 @@ bool PlayerbotAIConfig::Initialize()
}
randomBotAccountPrefix = sConfigMgr->GetOption<std::string>("AiPlayerbot.RandomBotAccountPrefix", "rndbot");
tradeActionExcludedPrefixes = sConfigMgr->GetOption<std::string>("AiPlayerbot.TradeActionExcludedPrefixes",
"RPLL_H_,DBMv4,{звезда} Questie,{rt1} Questie");
randomBotAccountCount = sConfigMgr->GetOption<int32>("AiPlayerbot.RandomBotAccountCount", 0);
deleteRandomBotAccounts = sConfigMgr->GetOption<bool>("AiPlayerbot.DeleteRandomBotAccounts", false);
randomBotGuildCount = sConfigMgr->GetOption<int32>("AiPlayerbot.RandomBotGuildCount", 20);