A lot of the bot commands have hard coded spells that they use depending on level, etc. The bots usually don't have those same spells in their spell lists (or they would try to cast them when they shouldn't). Check in bots.cpp to find the commands for mez, resist buffs, cures, etc. For mez, specifically, the command calls Bot::MesmerizeTarget(Mob* target) which has the spell ids for the mez spells.
|