Commit Graph

937 Commits

Author SHA1 Message Date
avirar
9f1b9df9d1 Update ArmsWarriorStrategy.cpp 2024-12-29 15:55:04 +11:00
avirar
6eef410689 Missing ) 2024-12-29 15:47:38 +11:00
avirar
85efe3fbbd Adjusted priorities 2024-12-29 15:45:19 +11:00
avirar
68b48ce573 Adjusted priorities 2024-12-29 15:45:10 +11:00
avirar
920b3c7b08 Lowered Heroic Strike priority 2024-12-29 15:00:55 +11:00
avirar
adc0d6e72c Worldbuff feral druid bear/cat logic (#816)
* Add logic to separate cat and bear druid buffs

Check for Thick Hide (16929) talent, use regular buffs if found, use new fourth row if not.

* Added cat druid buffs (ArP food, AP flask)

* Update playerbots.conf.dist

* Refined logic for feral druids

* Use rank 3 of Thick Hide and GetActiveSpec

* Update WorldBuffAction.cpp

* Added DK Blood DPS buffs

AP Flask, STR food

* Added logic for DPS Blood DKs
2024-12-28 15:27:31 +01:00
Yunfan Li
1ed6645119 Fix rpg move far (#822)
* Fix rpg move far

* Don't go innkeeper with diff zone
2024-12-27 18:11:39 +01:00
Revision
2b758c9624 Merge pull request #817 from nl-saw/defchaosform
Poll results: Change default formation to Chaos
2024-12-27 17:46:26 +01:00
SaW
2f78db81e3 Change default formation to Chaos
This as it looks more natural than the default near.
2024-12-24 16:46:51 +01:00
avirar
85370cd30d Merge branch 'liyunfan1223:master' into razorscale_final 2024-12-24 14:49:42 +11:00
SaW
d9f9d980cf Fix various formations - Issue #749 (#807)
* Fix various formations

* Refactor Formation::GetFollowAngle()

* Update Formations.cpp

* Refactored Formation::GetFollowAngle()

Final refactor of Formation::GetFollowAngle()

 - By combining the group member iteration, unnecessary loops are avoided.
- Clearer Structure: The code is more readable, with fewer redundant operations.
- Better Maintainability: Comments and logical grouping make it easier to modify or extend the function in the future.

* Logic order improvement
2024-12-22 23:08:47 +01:00
kadeshar
e5f1b862dd [Bugfix] (#809)
- reverted changes in need world buff trigger
2024-12-22 12:46:11 +01:00
avirar
f9d945ce33 Adjusted priority for fuse armor 2024-12-22 19:49:37 +11:00
avirar
11c9ee4d72 Removed Static declarations for role assignment cooldowns 2024-12-22 19:48:02 +11:00
avirar
c265a5e018 Refined assignment cooldowns and logic for bot tanks 2024-12-22 19:46:59 +11:00
avirar
900a922d34 Added logic for bots to offtank
Bot tanks will mark targets and establish themselves as main tank when necessary, announcing when ever re-assignment occurs
2024-12-22 19:45:51 +11:00
avirar
b897593d76 Update RaidUlduarBossHelper.cpp 2024-12-22 15:19:49 +11:00
avirar
4694de7ce0 Update RaidUlduarBossHelper.cpp 2024-12-22 15:17:34 +11:00
avirar
b42a40b8f4 Role assignment cooldown mapped per bot 2024-12-22 15:00:04 +11:00
avirar
67bc4a8e8f Allowed tank bots to reassign roles if human main tank is affected by fused armor 2024-12-22 13:37:42 +11:00
avirar
5c63e6faf3 Allowed tank bots to reassign roles if human main tank is affected by fused armor 2024-12-22 13:37:37 +11:00
avirar
a6de87f6fc Allowed tank bots to reassign roles if human main tank is affected by fused armor 2024-12-22 13:37:33 +11:00
avirar
39c6fb8daa Resolved issues with IsRealPlayer and GET_PLAYERBOT_AI 2024-12-22 13:05:14 +11:00
avirar
f72a6bf53b Still fixing bot say 2024-12-22 11:15:57 +11:00
avirar
eacce5adf3 Fixed bot say 2024-12-22 10:54:19 +11:00
avirar
10fd4fb014 Update RaidUlduarBossHelper.cpp 2024-12-22 10:29:07 +11:00
avirar
27441e9369 Update RaidUlduarBossHelper.cpp 2024-12-22 09:47:39 +11:00
avirar
de14e4e2e3 Merge branch 'liyunfan1223:master' into razorscale_final 2024-12-22 09:33:20 +11:00
avirar
e71c5e4e91 Bots say when giving main tank to a real player as request player taunt 2024-12-22 09:32:35 +11:00
SaW
848401be67 Make bots use mounts when player is in travel form as well (#806)
Addition to https://github.com/liyunfan1223/mod-playerbots/pull/805
2024-12-21 17:22:06 +01:00
Revision
7ccc18c7d6 Merge pull request #804 from kadeshar/worldbuff-strategy
Added worldbuff strategy
2024-12-21 14:50:00 +01:00
SaW
99dd094a5b Feature: Bots use flying mounts when player has flight form (#805)
* Make bots use flying mounts when player goes into flight form

* add && !bot->InBattleground() check

* Final commit
2024-12-21 13:33:47 +01:00
kadeshar
eef41ab3b7 Added worldbuff strategy 2024-12-20 23:04:22 +01:00
Yunfan Li
360dc27c9c Comment for threadsafe 2024-12-19 22:50:59 +08:00
Yunfan Li
4e64745861 Fix JoinLFG crash 2024-12-19 22:44:54 +08:00
SaW
570787ff16 Improve check to work in custom defines zones as well (#797) 2024-12-18 18:29:35 +01:00
avirar
7c8563ef7d Update RaidUlduarTriggers.h 2024-12-18 16:20:06 +11:00
avirar
a8d42fbe03 Update RaidUlduarTriggers.cpp 2024-12-18 16:18:58 +11:00
avirar
09f648eb9f Update RaidUlduarTriggerContext.h 2024-12-18 16:17:41 +11:00
avirar
42156f5306 Update RaidUlduarStrategy.cpp 2024-12-18 16:17:02 +11:00
avirar
556c9186f2 Moved ULDUAR_MAP_ID definition outside RazorscaleBossHelper
RazorscaleBossHelper::ULDUAR_MAP_ID
2024-12-18 16:15:36 +11:00
avirar
1e5e38dcc2 Update RaidUlduarBossHelper.h 2024-12-18 16:14:57 +11:00
avirar
4d7fba0dcc Create RaidUlduarBossHelper.cpp 2024-12-18 16:09:58 +11:00
avirar
67591ffdb3 Update RaidUlduarActions.h 2024-12-18 16:07:34 +11:00
avirar
e2ec637882 Update RaidUlduarActions.cpp 2024-12-18 16:05:51 +11:00
avirar
0dccc9ea50 Implemented Razorscale logic 2024-12-18 16:00:45 +11: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
2e4db37c4d Merge pull request #791 from avirar/stop_attacking_argent_tournament_dummy_targets
Prevent bots attacking dummy targets at the Argent Tournament Grounds
2024-12-17 20:48:36 +08:00
Yunfan Li
42404ac403 Merge pull request #759 from liyunfan1223/new_rpg_strats
New rpg strategy
2024-12-17 20:43:38 +08:00
avirar
649e55dd84 Prevent bots attacking dummy Targets at the Argent Tournament Grounds
There was existing code to ignore practice targets (anything with Dummy in the name) so I've just added the names of practice targets located in the tournament grounds:

Charge Target
Melee Target
Ranged Target

I considered just using the phrase "Target", but it is too generic and there are 246 creature_template names containing Target.
2024-12-17 12:35:49 +11:00