Commit Graph

721 Commits

Author SHA1 Message Date
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 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 94717ee459 more backstab to mob cleanup 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
nytmyr 6ef9753df3 remove ht/loh from attack ai 2024-12-12 22:14:11 -06:00
nytmyr f715924b99 More castcheck improvements 2024-12-12 22:14:11 -06:00
nytmyr 1aa71598a0 Add missing alert round for ranged attacks 2024-12-12 22:14:10 -06:00
nytmyr 693abdd42c ^cast adjustments for spellid casts 2024-12-12 22:14:10 -06:00
nytmyr 49e15d8944 Add spellid option to ^cast to allow casting of a specific spell by ID 2024-12-12 22:14:10 -06:00
nytmyr c345187464 Add IsBlockedBuff to CastChecks 2024-12-12 22:14:09 -06:00
nytmyr 92ba83e308 rewrite GetCorrectSpellType 2024-12-12 22:14:09 -06:00
nytmyr d3617a56f5 remove unneeded checks on IsValidSpellTypeBySpellID 2024-12-12 22:14:09 -06:00
nytmyr 9d5b679fc4 Add more checks for CommandedSubTypes::AETarget 2024-12-12 22:14:08 -06:00
nytmyr bf4f2f5623 Add lull/aelull to ^cast 2024-12-12 22:14:08 -06:00
nytmyr 2bffc1b79c Remove misc target_type checks 2024-12-12 22:14:07 -06:00
nytmyr e9534e3f75 Implement AAs and harmtouch/layonhands to ^cast --- fix IsValidSpellRange 2024-12-12 22:14:06 -06:00
nytmyr a8f048c4e4 Correct IsValidSpellRange 2024-12-12 22:14:05 -06:00
nytmyr 0081d7673c Add back !IsBotNonSpellFighter() check to the different CastCheck 2024-12-12 22:14:05 -06:00
nytmyr 88b0e4f15e Move fizzle message to define 2024-12-12 22:14:05 -06:00
nytmyr 912b6f0a28 cleanup ST_Self logic in CastChecks 2024-12-12 22:14:04 -06:00
nytmyr 9207be96d3 Rewrite ^pull logic and handling. **MORE**
Add ^setassistee command to set who your bots will assist. Bots will always assist you first before anyone else.

If the rule Bots, AllowCrossGroupRaidAssist is enabled bots will assist the group or raid main assists.

Rewrites logic in handling of pull and returning to ensure bots make it back to their location.
2024-12-12 22:14:04 -06:00
nytmyr 6c19f3dbda fully implement ^pull logic to always return, can still be overidden by ^attack 2024-12-12 22:14:03 -06:00
nytmyr cc5efa4372 holding check at start of ai process 2024-12-12 22:14:03 -06:00
nytmyr efbf0b1fe9 more pull tweaks 2024-12-12 22:14:03 -06:00
nytmyr faf372d31d Implement spell AI pulling, fix throw stone 2024-12-12 22:14:03 -06:00
nytmyr 036b524459 add !commandedspell() check to aggro checks on cast 2024-12-12 22:14:02 -06:00
nytmyr 8c923a6c51 rename BOT_SPELL_TYPE functions 2024-12-12 22:14:02 -06:00
nytmyr 53d4bc4e48 remove unnecessary messages on silence /block for bots 2024-12-12 22:14:02 -06:00
nytmyr 7a68b4d70c Clean up and fix any melee attacks to line up with clients 2024-12-12 22:14:01 -06:00
nytmyr c54cb2f423 fix AA loading and expansionbitmask saving/loading 2024-12-12 22:14:01 -06:00
nytmyr 8840ecb221 misc cleanup 2024-12-12 22:14:00 -06:00
nytmyr 99926ee102 Allow bots to bypass los checks for positioning if no detrimental types allowed 2024-12-12 22:13:27 -06:00
nytmyr cd3cd9ef1a commanded spell fixes. All should be working now minus depart 2024-12-12 22:13:26 -06:00
nytmyr 9279eaa767 debug cleanup 2024-12-12 22:13:26 -06:00
nytmyr 4bb1fd9dcd add aehateline spell type 2024-12-12 22:13:26 -06:00
nytmyr b2590b5056 Implement more commanded types properly, move shadownight hate to hateline type...
Add incapacitated checks to casting logic and checks.
Add candocombat zone check, summon other's corpse for bot, in/out combat spell checks, mute checks, level restriction
2024-12-12 22:13:24 -06:00
nytmyr ee9651b4f1 implement commanded cast types 2024-12-12 22:13:18 -06:00
nytmyr 4702d74722 fix resistbuffs and damageshields spell type checks 2024-12-12 22:13:04 -06:00
nytmyr 484b88ddbc misc cleanup 2024-12-12 22:13:04 -06:00
nytmyr aa7632d3df Add AllowBotEquipAnyClassGear to bot trades 2024-12-12 22:13:03 -06:00
nytmyr dbacd80760 Add more checks to bot names to prevent spacing or invalid characters 2024-12-12 22:13:03 -06:00
nytmyr abefd1ccce Add loregroup 0 bypass for lore conflicts for bots like clients 2024-12-12 22:13:02 -06:00
nytmyr f3c0ddd4be correct and tweak all combat positioning and combat range 2024-12-12 22:13:02 -06:00
nytmyr 161d6b3b66 apply ranged setting on spawn to show correct weapons 2024-12-12 22:13:02 -06:00
nytmyr b0768454c1 adjust spell hold checks to rely on caster and
Implement pet resist buffs and pet damage shields
2024-12-12 22:13:00 -06:00
nytmyr 10ddcb0151 passivecheck response 2024-12-12 22:13:00 -06:00