GetPlayer()->CastSpell(GetPlayer(), 12345);

If you want, I can:

.bot addnew Garrosh Warrior Orc 10

You don't need to be a coder to control your bots. The new Playerbot utilizes an intuitive . By whispering your bot or using party chat, you can tell them to: [item link] – Equip a specific piece of gear. stay / follow – Manage positioning. grind – Set them to kill nearby mobs for XP. talent – Assign specific talent builds. 4. Auction House Interaction

AzerothCore Playerbots Module is a significant community project designed to facilitate solo play in World of Warcraft: Wrath of the Lich King