Commit Graph

12193 Commits

Author SHA1 Message Date
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
nytmyr 21f8bc0f95 add GetBotSpellCategoryIDByShortName and CopyBotBlockedPetBuffs, update ^defaultsettings command 2024-12-17 23:20:39 -06:00
nytmyr ffd92017e0 Move getnames for categories and settings to mob, rename hptomed/manatomed 2024-12-17 23:03:42 -06:00
nytmyr 8377797523 missing ) 2024-12-17 15:15:11 -06:00
nytmyr e1d4a68d89 command grammar 2024-12-17 13:10:34 -06:00
nytmyr 7ce37819f7 add beneficial check to ^blockedbuffs 2024-12-17 13:10:24 -06:00
nytmyr f33ed3d4cd more blocked buff tweaks 2024-12-17 13:09:22 -06:00
nytmyr e220163153 Implement blocked_buffs and blocked_pet_buffs 2024-12-15 23:09:32 -06:00
nytmyr d144d58abc Remove id from bot_settings, correct types 2024-12-15 23:08:23 -06:00
nytmyr 606cc11040 Update bot.cpp 2024-12-13 15:39:35 -06:00
nytmyr 42ff352917 Merge branch 'bot-rewrite' of https://github.com/nytmyr/Server into bot-rewrite 2024-12-13 15:38:10 -06:00
nytmyr 1c72d879cf add "confirm" check to ^delete 2024-12-13 14:58:54 -06:00
nytmyr 3009942ca3 Get rid of Bots:BotGroupXP and change logic to support Bots:SameRaidGroupForXP
Bots won't do anything if not in the same group so this should more accurately control only when in the same raid group.
2024-12-13 14:48:59 -06:00
nytmyr 1905debb14 add sanity checks for classattacks 2024-12-13 14:45:52 -06:00
nytmyr cac5bcb943 add back m_mob_check_moving_timer, necessary? 2024-12-12 22:19:07 -06:00
nytmyr 046006cfaa adjust version number for bots 2024-12-12 22:16:23 -06:00
nytmyr 5457d14d85 add bot checks to tryheadshot / tryassassinate 2024-12-12 22:14:12 -06:00
nytmyr 94717ee459 more backstab to mob cleanup 2024-12-12 22:14:12 -06:00
nytmyr adedd5969d fix MinStatusToBypassCreateLimit 2024-12-12 22:14:12 -06:00
nytmyr f44af609e1 move bot backstab to mob 2024-12-12 22:14:12 -06:00
nytmyr 96bc292ad6 Add RangedAttackImmunity checks before trying to ranged attack 2024-12-12 22:14:11 -06:00
nytmyr 8094352eaa remove SetCombatRoundForAlerts that triggered every engagement 2024-12-12 22:14:11 -06:00