Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RandomBot Buff Module

mod-rndbot-buffs

Created by Rockhopper1776

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 RandomPlayerbotMgr participate;
  • 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.

Supported buffs

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.

Requirements

Installation

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.

Configuration

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.

Compatibility target

The module was written against the public master version of mod-playerbots and the corresponding Playerbot core APIs available on June 14, 2026.

License

GNU Affero General Public License v3.0 or later.

About

An AzerothCore module for [mod-playerbots](https://github.com/mod-playerbots/mod-playerbots) that lets idle random bots cast useful class buffs on nearby real player characters.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages