Class RandomPlayerBotMgr [-] [+]

Methods

AddTradeDiscount Adds the given amount to the trade discount the bot grants to the master.
AssignAccountTypes Assigns the playerbot account types to every bot account.
ChangeStrategy Randomly changes the strategies of the given bot.
ChangeStrategyOnce Applies a one shot random strategy change to the given bot.
CheckBgQueue Re-evaluates the battleground queues of the random bots.
CheckLfgQueue Re-evaluates the lfg queues of the random bots.
CheckPlayers Re-evaluates the list of real players the random bots react to.
Clear Clears the stored randomization data of the given bot.
GetActiveBotsCount Returns how many random bots are currently active.
GetActivityMod Returns the current activity modifier applied to every random bot.
GetActivityPercentage Returns the current activity modifier as a percentage.
GetAllBots Returns a table with every random bot Player currently logged in.
GetBattleMasterGUID Returns the GUID of the battlemaster the given bot would queue with.
GetBuyMultiplier Returns the price multiplier the given bot applies when buying.
GetData Returns the free form data stored alongside a value for the given bot.
GetMaxAllowedBotCount Returns the maximum amount of random bots allowed by the configuration.
GetPlayers Returns a table with the real Players tracked by the random bot manager.
GetRandomPlayer Returns a random real Player currently online, or nil.
GetRandomPlayerbotMgr Returns the [RandomPlayerbotMgr] singleton, which drives the random bot pool.
GetSellMultiplier Returns the price multiplier the given bot applies when selling.
GetTeamClassIdx Returns the cache index matching the given faction and class.
GetTradeDiscount Returns the trade discount the given bot grants to the given master.
GetValue Returns a value stored by the random bot manager for the given bot.
HandleCommand Sends a chat command to every random bot as if a Player had said it.
HandleRemoteCommand Runs a remote random bot command and returns its textual answer.
IncreaseLevel Raises the level of the given bot by one and re-equips it accordingly.
InitArenaTeams Creates the arena teams the random bots compete in.
IsAccountType Returns true if the given account is of the given playerbot account type.
IsAddclassBot Returns true if the given Player is an addclass bot.
IsRandomBot Returns true if the given Player is a random bot.
IsSpecPvp Returns true if the given bot uses a pvp spec.
LoadBattleMastersCache Reloads the battlemaster cache from the world database.
PrepareAddclassCache Rebuilds the addclass bot cache.
ProcessBot Runs one AI processing pass on the given bot.
RandomTeleportForLevel Randomly teleports the given bot to a spot suited to its level.
RandomTeleportForRpg Randomly teleports the given bot to an rpg spot.
RandomTeleportGrindForLevel Randomly teleports the given bot to a grinding spot suited to its level.
Randomize Fully randomizes the given bot: level, gear, talents and strategies.
RandomizeFirst Randomizes the given bot as if it had just logged in for the first time.
RandomizeMin Randomizes the given bot at the minimum configured level.
Refresh Refreshes the given bot: heals it and restores its consumables and buffs.
Remove Removes the given bot from the random bot pool.
Revive Revives the given bot at the closest graveyard.
ScheduleChangeStrategy Schedules a strategy change for the given bot.
ScheduleTeleport Schedules a random teleport for the given bot.
SetActivityPercentage Sets the activity modifier applied to every random bot, as a percentage.
SetTradeDiscount Sets the trade discount the given bot grants to the given master.
SetValue Stores a value for the given bot in the random bot manager.