Commit Graph

41 Commits

Author SHA1 Message Date
nytmyr 783a5f0adf ^cast adjustments for spellid casts 2024-12-12 07:59:54 -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 f3e0fdae73 Add lull/aelull to ^cast 2024-12-10 14:03:33 -06:00
nytmyr ef36f2873c Implement AAs and harmtouch/layonhands to ^cast --- fix IsValidSpellRange 2024-12-08 22:36:56 -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 f12e597ff3 more pull tweaks 2024-12-02 09:16:11 -06:00
nytmyr ead31d2cd4 Update cast.cpp 2024-12-01 23:37:39 -06:00
nytmyr a22502a13d rename BOT_SPELL_TYPE functions 2024-12-01 23:33:21 -06:00
nytmyr 338985634f Add taunting update on stance change when necessary 2024-12-01 20:46:17 -06:00
nytmyr 867771e76b add default spawned note to ^cast 2024-11-28 23:35:35 -06:00
nytmyr 08387560b3 implement depart to use spell lists 2024-11-28 23:35:21 -06:00
nytmyr 6846bdc56c commanded spell fixes. All should be working now minus depart 2024-11-27 21:09:51 -06:00
nytmyr df6c6c3ea0 add aehateline spell type 2024-11-27 20:50:21 -06:00
nytmyr f6cb63a89b more command cleanup 2024-11-27 19:02:37 -06:00
nytmyr 10effce2a6 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-11-27 13:51:37 -06:00
nytmyr b200bdd04e implement commanded cast types 2024-11-26 13:17:57 -06:00
nytmyr 1f82e12b34 Command help cleanup 2024-11-26 13:17:57 -06:00
nytmyr e6aeb01ddf update and expand ^itemuse options and add lore checks 2024-11-15 13:26:00 -06:00
nytmyr 464c69190d correct and tweak all combat positioning and combat range 2024-11-11 22:09:05 -06:00
nytmyr 8fa429c02d add sanity check to campCount on ^camp 2024-11-11 22:08:52 -06:00
nytmyr 18b6fc2667 adjust spell hold checks to rely on caster and
Implement pet resist buffs and pet damage shields
2024-11-11 22:08:51 -06:00
nytmyr d3d53c5a74 remove circle/teleport, tweak depart 2024-11-10 10:14:23 -06:00
nytmyr 0d970844d3 add passive stance checks to commands and loading/saving. shouldn't be ` 2024-11-09 22:00:20 -06:00
nytmyr 2d1b34d0cb command cleanup 2024-11-08 08:41:18 -06:00
nytmyr 31a4f053b5 bot movement cleanup and tweaks, move casterrange to distanceranged 2024-11-07 16:34:29 -06:00
nytmyr c22d687d72 misc command and rule cleanup 2024-11-07 16:34:29 -06:00
nytmyr 32a10f4219 Implement and rewrite stances 2024-11-06 00:30:40 -06:00
nytmyr c16e1e5954 misc cleanup 2024-11-02 22:05:55 -05:00
nytmyr cd4ebb5a73 Rewrite ^followd command and remove squared values from command 2024-11-01 14:58:37 -05:00
nytmyr f9762e041d command cleanup 2024-11-01 14:56:49 -05:00
nytmyr a4e6bc5c19 remove commented lines for ^follow 2024-11-01 14:26:51 -05:00
nytmyr 4aa7a18b4f 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-10-31 07:32:16 -05:00
nytmyr 32e37660d8 Bot Rework 2024-10-26 00:33:36 -05:00
nytmyr 7eaee2649e [Bots] Add "silent" option to ^spawn and mute raid spawn (#4494)
When zoning or forming a raid, bots would spam their spawn message. They will now be muted.

Adds an optional argument "silent" to the ^spawn command. This will bypass ^oo spawnmessage settings and not send a spawn message. Example: ^spawn Warbot silent
2024-10-04 20:20:52 -04:00
nytmyr 56608e84bd [Bots] Add attack flag when told to attack (#4490)
This adds a flag to mobs that are told to attack by their owner to prevent unintended attacks.

Previously, if you were to send your bots to attack a target and then switch targets: before casters land their spell or if melee (especially anyone with pets)  hasn't engaged before the target switch, they could switch to your new target and attack.

This adds a flag upon attack and bots will only attack flagged targets.
2024-09-29 17:59:26 -04:00
Alex King a85f4fb703 [Cleanup] Cleanup Stance Code (#4368)
* [Cleanup] Cleanup Stance-based Code

* Command

* Update emu_constants.h

* Update stance.cpp

* Cleanup
2024-07-02 21:50:34 -04:00
Alex King 3f46210639 [Bots] Cleanup empty bot_commands files (#4095)
* [Bots] Cleanup empty `bot_commands` files

# Notes
- These files were part of the conversion of bot commands to individual files, these commands are part of overarching commands and therefore do not have their own files.
- These were not removed when initially committed.

* Update bot_command.cpp

* Update bot_command.cpp
2024-02-19 02:19:56 -06:00
Alex King 0adca46a73 [Bots] Remove Alt Combat Functionality (#4067)
* [Bots] Remove Alt Combat Functionality

# Notes
- This functionality needlessly complicates bot targeting logic and causes crashes and unintended behavior for players when accidentally enabled or enabled by default.

* Cleanup
2024-02-12 03:00:11 -06:00
hg e920e35a5c [Cleanup] Use explicit conversions for enum formatting (#4064)
This is prep for updating to fmt 10 which removed implicit conversions
for enums.
2024-02-12 02:58:48 -06:00
Chris Miles c654c1d674 [Loot] Remove from shared memory, simplification (#3988)
* First pass of pulling loot out of shared memory, functional

* More code cleanup

* More cleanup

* More cleanup

* More cleanup

* Add loot reload type

* Reload, logging

* Update npc.h

* Cleanup

* Logging, don't load attempt to load loottable id 0

* Update worldserver.cpp

* Update client.cpp

* Update zone_loot.cpp

* PR feedback

* Update zone.cpp

* Memory leak suggestion

* Update CMakeLists.txt

* Post rebase issues
2024-02-05 15:17:53 -06:00
Alex King 6297c56db2 [Bot Commands] Separate Bot Commands into Individual Files (#4035)
# Notes
- Separate all bot commands into individual files like regular commands.

# Images
2024-02-01 04:35:33 -06:00