Commit Graph
100 Commits
Author SHA1 Message Date
nytmyr 4e6e6f06d6 Cleanup spelltarget grabbing logic, consolidate group heals in to GetNumberNeedingHealedInGroup 2025-02-02 15:27:53 -06:00
nytmyr 3e8ad56b07 Fix DetermineSpellTargets for group spells (this also wasn't properly checking the rule Character:EnableTGB in master) 2025-02-02 12:02:19 -06:00
nytmyr 6338bd8acd Formatting 2025-02-02 09:14:39 -06:00
nytmyr 4fe90b1e05 Merge branch 'bot-rewrite' of https://github.com/nytmyr/Server into bot-rewrite 2025-02-02 09:08:46 -06:00
nytmyr d71e121c89 Fix casting for GetIllusionBlock checks 2025-02-02 09:08:42 -06:00
nytmyr 23960b9c77 Cleanup CanThisClassTripleAttack 2025-02-02 08:47:04 -06:00
nytmyr f2df8ababd Cleanup StopMoving for bots 2025-02-02 08:45:51 -06:00
nytmyr 91996f15f0 Cleanup IsAttackAllowed checks for bots and their pets 2025-02-02 08:45:06 -06:00
nytmyr b57be45b51 Cleanup bot logic in TryBackstab 2025-02-02 08:42:02 -06:00
nytmyr a3085be4c3 Cleanup DetermineSpellTargets->ST_Pet 2025-02-02 08:40:27 -06:00
nytmyr 53876e2072 Cleanup DetermineSpellTargets->ST_Self for bot summon corpse 2025-02-02 08:39:23 -06:00
nytmyr 32a7c01f33 Cleanup DetermineSpellTargets->ST_GroupNoPets 2025-02-02 08:37:50 -06:00
nytmyr 8a31caab6b Cleanup range/aoe_range check in SpellFinished 2025-02-02 08:29:41 -06:00
nytmyr b90f11f635 Cleanup IsBot() checks for DetermineSpellTargets->ST_GroupClientAndPet 2025-02-02 08:28:06 -06:00
nytmyr cbb619c2d9 Clean up InterruptSpell 2025-02-02 08:22:24 -06:00
nytmyr db9fe0f284 Simplify case SE_Illusion and SE_IllusionCopy for GetIllusionBlock 2025-02-02 08:21:07 -06:00
nytmyr 9b928e0725 Merge branch 'master' into bot-rewrite 2025-02-02 00:26:32 -06:00
nytmyr 3a0ea236d1 formatting 2025-02-01 18:13:47 -06:00
nytmyr 46a1b26529 Move GetSpellTargetList to only get called when necessary to reduce overhead 2025-02-01 09:11:50 -06:00
nytmyr 498b64fea2 Bots:BotsUseLiveBlockedMessage filter to spell failure 2025-01-31 22:51:11 -06:00
nytmyr c3cbc4bcd4 Update bot.cpp 2025-01-31 20:29:21 -06:00
nytmyr 2fdc4e8667 Make all spell shortnames plural where applicable 2025-01-31 18:57:04 -06:00
nytmyr a008e75a1c Use GetTempSpellType() for announce check in RaidGroupSay 2025-01-31 17:27:13 -06:00
nytmyr 980aa65ecc Rename SpellHold, SpellDelay, SpellMinThreshold, SpellMaxThreshold, SpellRecastDelay to fit SpellType style naming 2025-01-31 17:05:50 -06:00
nytmyr fef8c623ff Add more logic for necros/shaman for default heal thresholds due to lich and canni 2025-01-31 16:45:20 -06:00
nytmyr 660cf91297 Fix defaults for clients 2025-01-31 16:35:54 -06:00
nytmyr e5bcb6acfc Correct pet buff type logic to catch DS/Resists with other spell effects in them 2025-01-31 15:40:47 -06:00
nytmyr c5aa1ea06f Add rules (Bots, AICastSpellTypeDelay, Bots, AICastSpellTypeHeldDelay) to prevent spamming of failed spell type AI casts 2025-01-31 15:30:25 -06:00
nytmyr 09bbe87268 Correct pet checks on GetUltimateSpell functions 2025-01-31 15:27:25 -06:00
nytmyr 2211e125d8 Set lower limit of spell delays to 100 rather than 1 2025-01-31 14:45:00 -06:00
nytmyr 939e5ea38e Move ^attack response back to normal chat window (other) 2025-01-31 14:34:13 -06:00
nytmyr a765e3239c Remove unused no_pets option from GatherSpellTargets 2025-01-31 14:33:19 -06:00
nytmyr 11963a158c Update bot.h 2025-01-31 14:32:38 -06:00
nytmyr af4bbff05f Remove rule Bots:BardsAnnounceCasts 2025-01-31 14:31:59 -06:00
nytmyr bd97453852 Implement ^spellannouncecasts to toggle announcing casts of spell types 2025-01-31 14:31:48 -06:00
nytmyr bf8a576003 Add remove option to list for ^blockedbuffs / ^blockedpetbuffs 2025-01-31 14:27:02 -06:00
nytmyr 54717ec8a5 Merge branch 'master' into bot-rewrite 2025-01-31 00:24:05 -06:00
nytmyr d810d32069 IsPetOwner fixes 2025-01-31 00:16:18 -06:00
nytmyr 3ce9579a6c Linux fix? 2025-01-30 23:17:22 -06:00
nytmyr 01a0b7f579 Prevent bots from forming their own group if a bot that is a group leader is removed from the raid 2025-01-30 23:10:56 -06:00
nytmyr c08893ffcb Rename BotGroupSay to RaidGroupSay 2025-01-30 23:03:57 -06:00
nytmyr e695f1c499 Return for GetRawBotList
This checks offline bots too
2025-01-30 22:38:03 -06:00
nytmyr e039ce2e37 Move functions out of mob.h and cleanup 2025-01-30 22:25:54 -06:00
nytmyr 9b72672945 Implement missing ^spellresistlimits/^resistlimits command 2025-01-30 22:24:33 -06:00
nytmyr fdadde49de Remove unused methods 2025-01-28 23:13:25 -06:00
nytmyr 6b5b19a8cf Add default delay to cures 2025-01-28 23:11:09 -06:00
nytmyr f99c19d3ee Allow duplicate casts of same spell on target for heals and cures 2025-01-28 23:11:00 -06:00
nytmyr db00064028 Make struct BotSpellSettings snake case 2025-01-28 23:04:13 -06:00
nytmyr 626b7fd028 Add comment to CheckLosCheat/CheckLosCheatExempt 2025-01-28 22:10:05 -06:00
nytmyr 548e3ca81b Cleanup some commands 2025-01-28 22:08:20 -06:00
nytmyr 60d96d6ac6 Give ^copysettings/^defaultsettings more options, cleanup. 2025-01-28 22:08:07 -06:00
nytmyr 989c6a43d6 Reimplement secondary colors to BotSendCommandHelpWindow 2025-01-28 21:30:48 -06:00
nytmyr 56a9853e63 todo 2025-01-27 23:42:42 -06:00
nytmyr b5a200554b Fix ^cast summoncorpse 2025-01-27 23:33:16 -06:00
nytmyr 69d5d1a883 todo 2025-01-27 22:47:09 -06:00
nytmyr 249fb0f5dd hardcode BotCommandHelpWindow colors 2025-01-27 22:46:09 -06:00
nytmyr ef0ff104cf Rename _assistee to bot_assistee 2025-01-27 19:46:54 -06:00
nytmyr 49ad193dcc Remove unused variables 2025-01-27 19:46:06 -06:00
nytmyr 421e590a3d Merge branch 'master' into bot-rewrite 2025-01-27 12:14:34 -06:00
nytmyr 2c78803137 Enable recastdelay support for clients 2025-01-27 00:46:53 -06:00
nytmyr 65b2fa3533 Remove unnecessary return in CanBuffStack, cleanup 2025-01-26 22:40:57 -06:00
nytmyr b84ccab24a Rename spawn/create status bypass rules, fix return for spawn limit 2025-01-26 22:36:29 -06:00
nytmyr b3a550f193 Rename BotSpells_Struct/BotSpells_Struct_wIndex 2025-01-26 22:27:15 -06:00
nytmyr 323f144984 Cleanup BlockedBuffs logic in SpellOnTarget 2025-01-26 22:23:55 -06:00
nytmyr 3dfa099718 Wrap bot setting loading for clients in bots enabled rule 2025-01-26 21:56:25 -06:00
nytmyr 975af5ee9c Remove comment 2025-01-26 21:11:42 -06:00
nytmyr 187665f7b6 Wrap SaveBotSettings in Bots Enabled check 2025-01-26 21:11:37 -06:00
nytmyr f51d13ee7c Add bot check to IsAttackAllowed for GetUltimateOwner to skip entity list where possible 2025-01-26 21:09:06 -06:00
nytmyr 41b8cb3e71 Remove _Struct from struct declarations 2025-01-26 20:05:36 -06:00
nytmyr 72fb75a6a2 Remove Log TestDebug 2025-01-26 19:43:47 -06:00
nytmyr fbb2341fca Correct DoLosChecks 2025-01-26 10:21:56 -06:00
nytmyr 764715f625 New lines 2025-01-25 23:19:09 -06:00
nytmyr d5be066fee update todo 2025-01-25 07:24:29 -06:00
nytmyr abaefc8e7f Add bot and bot pet checks to various spells, auras and targeting checks that were missing. 2025-01-25 07:01:39 -06:00
nytmyr 2df4a4e436 Move toggleranged, togglehelm and illusionblock to new help window. Add actionable support 2025-01-25 07:01:21 -06:00
nytmyr b82ed57cd4 Add bots to UseSpellImpliedTargeting 2025-01-24 20:29:16 -06:00
nytmyr 41f362ce61 Add bot pet check for AIYellForHelp 2025-01-24 20:26:48 -06:00
nytmyr fbaa09569e Add bot pet pvp damage to tune 2025-01-24 20:25:18 -06:00
nytmyr 22121b7419 Make bot pets only do half damage in pvp 2025-01-24 20:10:42 -06:00
nytmyr 58a7d25899 Line fixes 2025-01-24 15:42:25 -06:00
nytmyr 06dcd62d8c Reduce GetCorrectBotSpellType branching slightly
This is still an ugly ass function but my brain is melted
2025-01-24 13:09:39 -06:00
nytmyr f50b64cb11 Linux test? 2025-01-24 12:56:20 -06:00
nytmyr f8ff6794c1 Missing p_item, s_item in CombatRangeInput 2025-01-24 12:45:20 -06:00
nytmyr cec1dbda94 Add GetBuffTargets helper 2025-01-24 12:23:54 -06:00
nytmyr 8b863f4402 Move melee distance calculations to better function 2025-01-24 12:23:54 -06:00
nytmyr 9134516847 Add check in distance calculations to stay at range if set even if no ammo or ranged 2025-01-24 11:01:39 -06:00
nytmyr e1925d1b13 Cleanup ranged and ammo calculations - Adds throwing check for match 2025-01-24 11:01:16 -06:00
nytmyr aea4b1f201 Remove log 2025-01-24 10:27:13 -06:00
nytmyr 389c861767 Add back hpmanaend update to bot raid, force timer update to prevent spamming 2025-01-23 15:25:52 -06:00
nytmyr 88d3bcfdf5 Correct GetStopMeleeLevel checks for some buff checks 2025-01-23 15:16:30 -06:00
nytmyr b836e78adb Fix BotMeditate to med at proper percentages 2025-01-23 15:14:12 -06:00
nytmyr 6364b00efd More cleanup 2 2025-01-23 13:58:27 -06:00
nytmyr 529d26a132 More cleanup 1 2025-01-23 13:28:12 -06:00
nytmyr 3ac3861007 More alignment fixes 2025-01-23 12:27:06 -06:00
nytmyr fa69e4ac1a Fix alignment issues 2025-01-23 12:21:45 -06:00
nytmyr 400bf12795 Move client commands for bot spells from gm commands to existing bot commands 2025-01-23 11:51:58 -06:00
nytmyr 4ff7e98c68 Set #illusionblock for players to guide access 2025-01-23 11:50:30 -06:00
nytmyr 850e996b71 Cleanup command format changes, remove hardcoded class IDs in examples. 2025-01-22 16:41:48 -06:00
nytmyr 42b4174861 Fix typo on merge conflict 2025-01-22 16:13:47 -06:00
nytmyr dec2eba6e5 Merge branch 'master' into bot-rewrite 2025-01-22 15:56:37 -06:00