Commit Graph

33 Commits

Author SHA1 Message Date
brighton-chi
a6c07ca16d Improve attackaction failure message system (#1498) 2025-08-03 23:12:33 +02:00
Yunfan Li
24efa7efa2 General improvement on init and strats (#1064)
* Potions strats and potions init

* Druid and shaman spell in low level

* Ammo init improvement

* Rogue low level

* Fix melee attack action (for caster with no mana)

* Disable pet spells that reduce dps

* Talents improvement

* Remove CanFreeMove check

* Reduce penalty for non-dagger weapon for rogue
2025-03-08 12:36:06 +01:00
Yunfan Li
bb729e35b9 Fix stuck on knockback, enhance movement & flee and trap weave strats (#980)
* Hunter trap weave strats

* Do not allow actions to stack

* Remove trap weave by default

* Refactor on Engine

Co-authored-by: SaW <swerkhoven@outlook.com>

* Remove unused funcs in Queue

* Remove ExpireActionTime config

---------

Co-authored-by: SaW <swerkhoven@outlook.com>
2025-02-18 22:55:44 +08:00
SaW
10a45fcbde Put IsValidAttackTarget check on both bots and their pets (#833)
* Prevent PetAttackAction on invalid targets

* Prevent AttackAction on invalid targets in general
2024-12-30 19:21:38 +01:00
SaW
570787ff16 Improve check to work in custom defines zones as well (#797) 2024-12-18 18:29:35 +01:00
SaW
3dd92b7fd8 Fix bots attacking others despite being in a prohibited zone - Issue 227 (#793)
* Fix bots attacking despite being in a prohibited zone

* Protect pets as well and move logic to not skip IsFriendlyTo

* Fix prohibited typo

* Update AttackAction.cpp
2024-12-17 23:31:38 +01:00
Yunfan Li
f1c7071b93 Fix hunter melee attack 2024-08-14 23:26:09 +08:00
Yunfan Li
7b0bb20078 Movement priority 2024-08-14 18:37:21 +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
Revision
f1104d5315 Optimize the check for PvP flag 2024-07-22 04:17:28 +02:00
Revision
d0d8f3a40f Fix: Bots attacking players not flagged 2024-07-21 22:43:39 +02:00
Yunfan Li
53c4198afd [Attack target] Cancel mount aura and remove within dist check 2024-07-13 11:39:47 +08:00
Yunfan Li
d4c0390a2e [Class spell] Fix attack action for ranged 2024-06-23 15:53:33 +08:00
Yunfan Li
55eecba11b [Crash fix] Target IsInWorld check 2024-06-04 09:47:40 +08:00
Yunfan Li
d5d1bb3904 [Attack Target] Prioritized targets 2024-06-02 19:05:50 +08:00
Yunfan Li
9e78a0b36a Pet attack (fix shadowfiend) 2024-02-08 00:36:16 +08:00
Yunfan Li
e772aba5c9 Fix attack action 2024-01-04 19:54:39 +08:00
Yunfan Li
3525e30305 Hunter pet happiness set 2023-12-25 18:48:51 +08:00
Yunfan Li
8f3c1ecd58 pet attack 2023-12-18 17:16:30 +08:00
Yunfan Li
897ee35b4e crash fix 4 2023-12-17 17:16:38 +08:00
Yunfan Li
a24e60f03d facing to & reach party member to resurrect 2023-09-14 23:29:09 +08:00
Yunfan Li
bb1ea0c395 naxxramas gluth 2023-09-03 17:52:44 +08:00
Yunfan Li
252b2f259c fix hunter auto shot 2023-07-30 15:46:11 +08:00
Yunfan Li
7c70f42f34 refactor: naxxramas and kel'thuzad strategy 2023-07-18 17:58:51 +08:00
Yunfan Li
cef7402677 pet attack status fix 2023-07-15 13:37:55 +08:00
Yunfan Li
86f7a6e9d1 pet react state & reach target for autoshoot 2023-07-14 16:58:50 +08:00
Yunfan Li
63573b5c7e set pet react state to defensive during attack 2023-07-14 16:33:41 +08:00
Yunfan Li
7f0b5c2f03 ammo, pet return 2023-05-30 17:10:51 +08:00
Yunfan Li
dc21fa9d41 pet attack and bot target selection 2023-05-28 10:55:56 +08:00
郑佩茹
0c09ba2b2e Remove some annoying emotes 2023-03-21 13:32:34 -06:00
qudzy
c9166213f9 Remove sightDistance from attack angle calculation 2022-05-24 20:40:19 +02:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00