NoxMax
dde16674c3
Fix: Stop pets from fighting in PVP prohibited zones ( #1829 )
...
Stripped down version of #1818 . No new features. Refactors
IsPossibleTarget in AttackersValue.cpp to a better style and makes sure
pets don't attack in prohibited zones.
Testing:
Confirmed that aggro pets no longer attack in PVP prohibited areas, but
still do outside them. Zim'Torga in Zul'Drak is a good example to test
this (ID 4323). Lookout for death knights with a Risen Ally
(uncontrolled and naturally aggro) now they respect PVP prohibition like
their master.
Note: If you manually teleport a bot that is in mid combat to a PVP
prohibited area, its aggro pet might still attack, because its master is
still in combat strategy. Otherwise the pet will not attack if its
master has switched to non-combat.
2025-12-08 12:34:16 +01:00
bash
0cc15411c1
license update ( #1674 )
2025-09-30 15:19:44 +02:00
Revision
f0ccb0a371
Fix compiler errors and switch to using available helpers
2024-12-02 00:16:06 +01:00
Yunfan Li
53611c9040
Run clang-format
2024-08-04 10:23:36 +08:00
Revision
3a4ebb7a9f
Remove StartTime from PvP check
2024-07-23 16:33:14 +02:00
Revision
f1104d5315
Optimize the check for PvP flag
2024-07-22 04:17:28 +02:00
Yunfan Li
53c4198afd
[Attack target] Cancel mount aura and remove within dist check
2024-07-13 11:39:47 +08:00
Fuzz
72eb38af88
fixed bots of same faction not fighting in arena until player triggers it
2024-07-11 13:06:17 +10:00
Yunfan Li
4661715fca
[Optimization] Valid target check order
2024-06-28 20:16:29 +08:00
Yunfan Li
6abc8d51e9
[Attack target] Valid target check
2024-06-28 20:09:04 +08:00
Yunfan Li
405c20fdd2
[Attack target] Skull mark icon index fix
2024-06-24 10:36:01 +08:00
Yunfan Li
be3b2c82f8
[Attack target] Fix
2024-06-04 22:42:48 +08:00
Yunfan Li
05236fddec
[Attack target] Crash fix
2024-06-02 23:22:20 +08:00
Yunfan Li
d5d1bb3904
[Attack Target] Prioritized targets
2024-06-02 19:05:50 +08:00
Yunfan Li
2f4579db5f
Remove polymorphed target from attackers
2024-01-06 20:16:03 +08:00
Yunfan Li
a28d096bef
Pvp Prohibited Areas
2023-10-28 19:22:58 +08:00
Yunfan Li
1f839d950e
attackers value
2023-08-28 15:45:10 +08:00
Yunfan Li
0cd1fa4db3
grind, teleport, move random for rndbot
2023-07-31 12:49:27 +08:00
Yunfan Li
4a5efe6642
miscs: teleport & grind target
2023-07-30 16:41:01 +08:00
Yunfan Li
ced13e5370
attacker checker & strategy init
2023-07-30 15:14:43 +08:00
Yunfan Li
e93b1edcd5
fix strategies conflict for rndbot
2023-07-30 14:33:52 +08:00
Yunfan Li
944e0fa1ed
disable heavy-cost rpg action
2023-07-29 10:55:54 +08:00
Yunfan Li
209fdbd6b5
chore(value): attackers value
2023-06-13 01:02:37 +08:00
Yunfan Li
81149246c4
feat(performance): reduce lag impact by attackers and yieldthread
2023-06-11 22:30:47 +08:00
Yunfan Li
516366a74d
paladin and attackers value
2023-06-03 23:33:39 +08:00
Yunfan Li
96f439bf22
attacker value with LOS
2023-05-30 01:06:33 +08:00
Yunfan Li
429dc03100
feat: fix warning
2023-05-24 19:44:53 +08:00
Yunfan Li
c16e587854
fix: bot stuck after drink or food && initialization customized
2023-05-23 23:39:20 +08:00
郑佩茹
47b13bf73a
Revert "Fix GetTargetIcons calls (thanks xuanfeng66)"
...
This reverts commit 4abe553f27 .
2023-03-28 13:00:57 -06:00
郑佩茹
4abe553f27
Fix GetTargetIcons calls (thanks xuanfeng66)
2023-03-28 09:30:11 -06:00
郑佩茹
bd909ca92a
PvP: ignore Spirit of Redemption and pets
2022-09-26 11:08:20 -06:00
whipowill
f9eb041827
Compile bug fixes.
2022-05-20 14:04:16 -05:00
whipowill
4c0db8eda8
Compile bug fixes.
2022-05-20 13:55:36 -05:00
whipowill
6ba6044e22
Compile bug fixes.
2022-05-20 13:36:49 -05:00
郑佩茹
f1bcca1a7b
Port fixes until b4094bf - flying, mount animations, bot attack range, free food option
2022-03-22 17:13:10 -06:00
UltraNix
b952636f0d
Big update.
2022-03-12 22:27:09 +01:00