Commit Graph

12215 Commits

Author SHA1 Message Date
nytmyr 61a3987d25 Remove plural on ^spelltypeidsand ^spelltypenames 2024-12-30 22:54:00 -06:00
nytmyr 85dbdb7f2c Add missing bot_blocked_buffs to schema 2024-12-30 13:16:38 -06:00
nytmyr 8c3058034d Merge branch 'master' into bot-rewrite 2024-12-30 13:10:59 -06:00
nytmyr 4d7ac703fd todo list 2024-12-30 13:08:32 -06:00
nytmyr f182294648 Add BotGroupSay method 2024-12-30 13:06:40 -06:00
nytmyr d13a48fc93 cleanup 2024-12-30 13:02:06 -06:00
nytmyr d3ccff2d65 remove this for a separate PR 2024-12-30 01:16:36 -06:00
nytmyr 2d7d58b4ef remove ^aggressive/^defensive 2024-12-29 20:18:12 -06:00
nytmyr a0c2abfedf Implement ^discipline 2024-12-29 20:01:18 -06:00
nytmyr 1c01b716d5 Move spell range check to proper location 2024-12-29 20:01:01 -06:00
nytmyr 8ed6dece34 more raid optimizations, should be final.
10 clients, 710 bots, 10 raids, ~250 pets sits around 3.5% CPU idle
2024-12-28 22:58:07 -06:00
nytmyr e652bc02b9 Allow pet types to ^cast, prevent failure spam, add cure check 2024-12-24 08:56:23 -06:00
nytmyr 8b7ffd7117 Add pet option to ^taunt
No longer has toggle, required on/off option and an optional "pet" option to control pets' taunting state
2024-12-24 08:07:13 -06:00
nytmyr 5a000f1259 Cleanup ^copysettings command and add new commands 2024-12-23 23:50:37 -06:00
nytmyr 9b5eca3b2d Fix client spell commands from saving the wrong setting 2024-12-23 23:44:48 -06:00
nytmyr 25ff56ca23 Remove unnecessary checks in bot process (closescanmoving timer, verify raid, send hp/mana/end packet 2024-12-23 23:28:49 -06:00
nytmyr f438650e86 TempPet owned by bots that get the kill will now give exp like a client would 2024-12-23 23:28:07 -06:00
nytmyr 6ced4e6a9c Fix missing raid assignment for GetStoredRaid in IsInGroupOrRaid 2024-12-23 23:27:42 -06:00
nytmyr ef983c3d47 Move bot_list from std::list to std::unordered_map like other entities 2024-12-23 20:50:36 -06:00
nytmyr c7741efbe5 todo 2024-12-22 22:39:39 -06:00
nytmyr 69b4c3a5a4 Add _tempSpellType as placeholder for any future passthru 2024-12-22 22:39:27 -06:00
nytmyr 83d41f00d2 Implement AIBot_spells_by_type to reduce looping when searching for spells 2024-12-22 22:38:52 -06:00
nytmyr 998f34842b Missing IsInGroupOrRaid cleanup 2024-12-22 00:35:29 -06:00
nytmyr 39b1f57ef3 comment out precheck, delays, thresholds, etc logging
missed some in "organize some checks in IsImmuneToBotSpell"
2024-12-22 00:29:58 -06:00
nytmyr f6fa28681b Move GatherSpellTargets and Raid to stored variables.
Missing some in "organize some checks in IsImmuneToBotSpell"
2024-12-22 00:29:15 -06:00
nytmyr 0c0fee1c67 Change GetPrioritizedBotSpellsBySpellType to vector
Some slipped through in "organize some checks in IsImmuneToBotSpell"
2024-12-22 00:26:01 -06:00
nytmyr 2a149f2949 Move GatherSpellTargets to mob 2024-12-22 00:24:31 -06:00
nytmyr e6081e0d2c Fix GetRaidByBotName and GetRaidByBot checks to not loop unnecessarily 2024-12-22 00:22:27 -06:00
nytmyr e4e7a30e71 organize some checks in IsImmuneToBotSpell 2024-12-22 00:22:10 -06:00
nytmyr 2460f78015 more name checks and add proper soft deletes to bots 2024-12-22 00:05:45 -06:00
nytmyr 600376274f correct name checking to match players 2024-12-21 23:47:30 -06:00
nytmyr d05dcb5d60 raid optimizations 2024-12-20 21:21:14 -06:00
nytmyr c02259aceb move IsValidSpellRange further down castchecks 2024-12-20 21:20:38 -06:00
nytmyr e930a1b7fc remove default hold for resist buffa 2024-12-20 21:19:22 -06:00
nytmyr a46478468c Remove Bot_AICheckCloseBeneficialSpells and use AttemptCloseBeneficialSpells for better performance 2024-12-20 13:10:50 -06:00
nytmyr 62111da16d Fix ^petsettype to account for usable levels of spells and remove hardcoded level limits. 2024-12-20 13:09:42 -06:00
nytmyr 1d0899fa0a Cleanup IsTargetAlreadyReceivingSpell 2024-12-20 09:50:27 -06:00
nytmyr 665d7e3641 Combine GatherGroupSpellTargets and GatherSpellTargets 2024-12-20 09:50:07 -06:00
nytmyr da5cb9c936 Reorder IsTargetAlreadyReceivingSpell/CheckSpellLevelRestriction/IsBlockedBuff 2024-12-20 09:48:06 -06:00
nytmyr e085780c0a merge with cls cleanup 2024-12-20 09:45:39 -06:00
nytmyr 7870499fa5 merge with prev 2024-12-20 09:44:00 -06:00
nytmyr e710fbea34 Fix performance in IsValidSpellRange by flipping HasProjectIllusion 2024-12-20 09:43:51 -06:00
nytmyr 66356a3d6e missing from GetChanceToCastBySpellType 2024-12-20 09:43:00 -06:00
nytmyr e031b4d1e0 Change GetSpellListSpellType to GetParentSpellType 2024-12-20 09:42:01 -06:00
nytmyr d120b45880 Typo on PetBuffs implement 2024-12-20 09:40:47 -06:00
nytmyr d64af967ea Change GetRaidByBotName to GetRaidByBot 2024-12-20 09:40:01 -06:00
nytmyr 322f8c5ffd Implmenet PetCures, add some missing types for defaults/chance to cast 2024-12-20 09:38:40 -06:00
nytmyr 54b9825537 Add PercentChanceToCastGroupCure 2024-12-20 09:33:47 -06:00
nytmyr fbecac0938 Allow bots to clear HasProjectIllusion flag 2024-12-20 09:29:59 -06:00
nytmyr eaa1f67802 cls cleanup 2024-12-20 00:44:49 -06:00