Commit Graph

24 Commits

Author SHA1 Message Date
Bobblybook
a430786133 Reapply "Preferred mount selection for bots"
This reverts commit eb5dd450cd.
2024-10-19 22:44:11 +11:00
Bobblybook
eb5dd450cd Revert "Preferred mount selection for bots"
This reverts commit 312c661311.
2024-10-19 22:42:21 +11:00
Bobblybook
312c661311 Preferred mount selection for bots
Added a new table to store user-specified mount ids.
Can specify flying and ground mounts for a character which will prioritise that mount. If multiple entries, a random entry will be selected from that list.

Currently no way to add entries other than manual DB editing, but can be developed into a whisper command pretty easily.

This should gracefully fail (if no entries exist for the character, or the db table does not exist) and fallback to the default random selection as usual.
2024-10-19 22:40:26 +11:00
Bobblybook
1165442505 Winged Steed of the Ebon Blade northrend fix
Winged Steed of the Ebon Blade gets incorrectly categorised as a ground mount, causes issues and bots will not be able to ground mount if they have this mount in the account spellbook.

There may by other scaling mounts that have the same issue, either we blacklist them all or figure out a way to correctly read them as flyers.
2024-10-19 18:16:44 +11:00
Fuzz
87cbaa9527 bot will no longer mount to reach target within 21 units (as this is the distance at which the time taken to cast mount spell is more than the time saved by moving faster), warrior bot will now dismount with enough distance to perform charge (rather than right infront of target which real warrior wouldnt do) 2024-08-20 16:32:08 +10:00
Fuzz
bb34a09afe fixed bug I introduced in f87c87f5d4 where bots wont dismount when they should 2024-08-20 16:25:28 +10:00
Fuzz
f87c87f5d4 fix for bots trying to mount in WSG and AV tunnels 2024-08-15 21:26:09 +10:00
Yunfan Li
7b0bb20078 Movement priority 2024-08-14 18:37:21 +08:00
Yunfan Li
1a92743dfd Allow spell casting during movement 2024-08-05 10:37:33 +08:00
Yunfan Li
de37cfd5aa Code style 2024-08-04 23:44:24 +08:00
Yunfan Li
fe94083a3f Dismount distance check 2024-08-04 23:35:55 +08:00
Yunfan Li
d33c565e31 Check mount state 2024-08-04 23:34:28 +08:00
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08:00
Yunfan Li
54c06887d5 Enable mount for random bots 2024-08-03 00:02:34 +08:00
Fuzz
c69d828a51 Merge branch 'master' into more-av-fixes 2024-07-22 14:26:01 +10:00
Fuzz
6417e836e1 [BattleGrounds] Bots no longer needlessly dismount in BG's when near a creature (eg: AV rams). AV: attacking bots now concentrate on final GY and boss when all enemy towers are down (prevents them running back to previous GY's when they should just down the boss), attacking bots now try to get first enemy GY before first tower (helps alliance), bots respawning in cave starting area's now leave cave before selecting path (they were making bad selections due to all paths starting too far away from spawn point, defending horde bots would try to clip through walls and go directly to horde base GY), new path to get from horde cave to horde base (prevents horde defenders trying to scale the hills/walls to get in), overall balance between teams much improved. new playerbots debug bg commands (that I used to develop/test these changes) 2024-07-22 09:02:00 +10:00
Revision
838bfe333d Fix: Updated to work with newer commits of AzerothCore 2024-07-22 00:39:06 +02:00
Yunfan Li
ac6f7a1e98 init=auto 2023-10-05 00:59:08 +08:00
Yunfan Li
5f5faf00cd move & knockback 2023-09-02 10:43:13 +08:00
Yunfan Li
25da0af70e tank target, formation arrow, mount fix, miscs 2023-06-02 15:49:49 +08:00
Yunfan Li
0fa640959f mount state 2023-05-30 17:09:55 +08:00
Yunfan Li
09463feb8f movement, disable hearthstone 2023-05-27 23:59:59 +08:00
Yunfan Li
5d570a81a0 feat: fix initialization 2023-05-27 13:59:37 +08:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00