An AzerothCore module for mod-playerbots that lets idle random bots cast useful class buffs on nearby real player characters.
The module is intentionally conservative:
- only rndbots managed by
RandomPlayerbotMgrparticipate; - the bot must be alive, unmounted, out of combat, and not casting;
- the bot must remain above a configurable mana threshold;
- only real, living, visible players in range are considered;
- by default, targets must be same-faction and out of combat;
- each bot casts at most one buff per check;
- existing single-target and group versions of a buff are respected;
- paladins do not replace any blessing already on the player.
| Rndbot class | Buffs |
|---|---|
| Priest | Power Word: Fortitude, Divine Spirit, Shadow Protection |
| Mage | Arcane Intellect |
| Druid | Mark of the Wild, Thorns |
| Paladin | Blessing of Kings, or Wisdom/Might based on the target's role |
The module asks PlayerbotAI to resolve and cast the spell, so the bot uses the
highest rank it knows and keeps the normal range, mana, cooldown, reagent, and
target validation performed by mod-playerbots.
- mod-playerbots/azerothcore-wotlk
on its
Playerbotbranch - mod-playerbots/mod-playerbots
on its
masterbranch
Place this directory beside mod-playerbots:
azerothcore-wotlk/
└── modules/
├── mod-playerbots/
└── mod-rndbot-buffs/
Re-run CMake, rebuild the server, and install it. AzerothCore will install
mod_rndbot_buffs.conf with the other module configuration files.
Edit mod_rndbot_buffs.conf if you want to change the
defaults, then restart the worldserver. Configuration reloads are also
supported through AzerothCore's normal config reload path.
The defaults check every five seconds, search 30 yards, and preserve 35% mana.
See conf/mod_rndbot_buffs.conf.dist for all
settings and comments.
The module was written against the public master version of mod-playerbots
and the corresponding Playerbot core APIs available on June 14, 2026.
GNU Affero General Public License v3.0 or later.