Commit Graph

781 Commits

Author SHA1 Message Date
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
nytmyr 7d670e674d add passive stance checks to commands and loading/saving. shouldn't be ` 2024-12-12 22:12:59 -06:00
nytmyr 77da29f940 Add viral, fear, stun, knockback, gravityeffect support to bots 2024-12-12 22:12:58 -06:00
nytmyr e73f1259be bot movement cleanup and tweaks, move casterrange to distanceranged 2024-12-12 22:11:27 -06:00
nytmyr 95bf30740f more target validation for bots to prevent pets from getting hit with AEs and pets trying to attack invalid targets 2024-12-12 22:11:26 -06:00
nytmyr 1d6d6a0f36 Make rogue/monk evade logic more accurate to players 2024-12-12 22:11:26 -06:00
nytmyr 63233d11e8 Implement and rewrite stances 2024-12-12 22:11:25 -06:00
nytmyr 0f16601e5d Rewrite ^followd command and remove squared values from command 2024-12-12 22:11:24 -06:00
nytmyr 4dcaef65cd oopsies 2024-12-12 22:11:23 -06:00
nytmyr 9b87aaf39b More fixes
TGB, ^cast, group/ae checks, in group/raid checks, inviting others bots to group, group disband fix, prevent rogue bs spam, ^follow fixes and cleanup, follow owner only by default when joining raid/group, group buff fixes for bots, range fixes for group buffs
2024-12-12 22:11:23 -06:00
nytmyr 6574f780db Bot Rework 2024-12-12 22:10:36 -06:00
nytmyr 372fd044de more backstab to mob cleanup 2024-12-12 22:06:54 -06:00
nytmyr 872abdc795 move bot backstab to mob 2024-12-12 15:33:11 -06:00
nytmyr 67ce8d44bb Add RangedAttackImmunity checks before trying to ranged attack 2024-12-12 14:36:09 -06:00
nytmyr d9ab4a5f27 remove SetCombatRoundForAlerts that triggered every engagement 2024-12-12 14:35:55 -06:00
nytmyr a142298e34 remove ht/loh from attack ai 2024-12-12 12:58:25 -06:00
nytmyr 4019e7da65 More castcheck improvements 2024-12-12 08:01:15 -06:00
nytmyr 90fe8a31d7 Add missing alert round for ranged attacks 2024-12-12 08:00:12 -06:00
nytmyr 783a5f0adf ^cast adjustments for spellid casts 2024-12-12 07:59:54 -06:00
Chris Miles 66a7dd0143 [Databuckets] Improved Reliability and Performance of Databuckets (#4562)
* [Databuckets] Don't broadcast client-scoped updates

* Remove temp feature flag

* Remove distributed caching, only cache for character scoped data, simplify

* Update bot.cpp

* Cleanup

* Update data_bucket.cpp

* Cleanup

* Cleanup

* Remove BulkLoadEntities from LoadNPCTypes

* Update data_bucket.cpp

* Cleanup

* More cleanup

* More cleanup

* BulkLoadEntities to BulkLoadEntitiesToCache

* Add CanCache in DeleteData to gate an unnecessary call
2024-12-12 01:17:08 -06:00
Alex King 5c6e7a8b09 [Cleanup] Convert Event Parses to Single Line (#4569)
* [Cleanup] Convert Event Parses to Single Line

* Push

* Update spells.cpp

* Update spells.cpp

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
2024-12-12 00:43:22 -06:00
nytmyr 186b06ef47 Add spellid option to ^cast to allow casting of a specific spell by ID 2024-12-11 07:19:17 -06:00
nytmyr afbf1b74c4 Add IsBlockedBuff to CastChecks 2024-12-11 07:18:40 -06:00
nytmyr 1536e26b31 rewrite GetCorrectSpellType 2024-12-11 07:18:12 -06:00
nytmyr 51711e799b remove unneeded checks on IsValidSpellTypeBySpellID 2024-12-10 14:07:21 -06:00
nytmyr 57a81fc310 Add more checks for CommandedSubTypes::AETarget 2024-12-10 14:04:07 -06:00
nytmyr f3e0fdae73 Add lull/aelull to ^cast 2024-12-10 14:03:33 -06:00
nytmyr 211908196e Remove misc target_type checks 2024-12-10 14:01:29 -06:00
nytmyr ef36f2873c Implement AAs and harmtouch/layonhands to ^cast --- fix IsValidSpellRange 2024-12-08 22:36:56 -06:00
nytmyr 9917be3094 Correct IsValidSpellRange 2024-12-08 22:35:36 -06:00
nytmyr 221333a7ba Add back !IsBotNonSpellFighter() check to the different CastCheck 2024-12-08 22:32:49 -06:00
nytmyr 8e40e5357c [Bots] Fix AA ranks to account for level (#4567)
Previously level requirement was only being checked on the initial rank of an AA. If passed, bots would gain all ranks for that AA regardless of level, this will now check for the level requirement for each rank before granting the AA
2024-12-06 23:58:11 -05:00
nytmyr 347a916bbb Move fizzle message to define 2024-12-06 22:32:34 -06:00
nytmyr 0f3c112972 [Bots] Fix AA ranks to account for level
Previously level requirement was only being checked on the initial rank of an AA. If passed, bots would gain all ranks for that AA regardless of level, this will now check for the level requirement for each rank before granting the AA
2024-12-06 22:29:18 -06:00
nytmyr 67ff004d61 cleanup ST_Self logic in CastChecks 2024-12-06 11:38:37 -06:00
nytmyr 3d4474861c 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-05 07:21:34 -06:00
nytmyr d6df4aae3f fully implement ^pull logic to always return, can still be overidden by ^attack 2024-12-04 20:56:09 -06:00
nytmyr b69ac7dc21 holding check at start of ai process 2024-12-02 21:25:06 -06:00
nytmyr f12e597ff3 more pull tweaks 2024-12-02 09:16:11 -06:00
nytmyr 1af85092f7 Implement spell AI pulling, fix throw stone 2024-12-02 07:32:30 -06:00
nytmyr 51eb75523e add !commandedspell() check to aggro checks on cast 2024-12-01 23:35:21 -06:00