mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 09:47:20 +00:00
Script and server code query updates for bots_updater
This commit is contained in:
1 parent
bcf2a5c852
commit
ecd695ff9b
14 files changed
+1722
-803
No files matched your search
@@ -883,7 +883,7 @@ bool Bot::AIDoSpellCast(uint8 i, Mob* tar, int32 mana_cost, uint32* oDontDoAgain
|
||||
int32 hasMana = GetMana();
|
||||
|
||||
// Allow bots to cast buff spells even if they are out of mana
|
||||
if(RuleB(Bots, BotFinishBuffing)) {
|
||||
if(RuleB(Bots, FinishBuffing)) {
|
||||
if(manaCost > hasMana) {
|
||||
// Let's have the bots complete the buff time process
|
||||
if(AIspells[i].type & SpellType_Buff) {
|
||||
|
||||
Reference in new issue
Block a user