Commit Graph

80 Commits

Author SHA1 Message Date
ThePenguinMan96
393a65a15b Warlock Curse/Spellstone and Firestone Strategies, Soul Shard Replenish
This PR aims to achieve 4 main things:

1. Manual Curse Strategies - Each curse has it's own toggleable combat strategy, with curse of agony being the default for affliction and demonology, and curse of the elements being default for destro. The other curses that are available are curse of exhaustion (if specced for it), curse of doom, curse of weakness, and curse of tongues (6 total). You can add these by typing "co +curse of weakness", or similar. Note: Curses are part of the WarlockCurseStrategyFactoryInternal(), so there can only be one active.

2. Firestone/Spellstone Non-Combat Strategies - Players requested to me that they can decide if they want to use a spellstone or firestone for their weapon enchant, so I added them as non-combat strategies. Spellstone is the default for affliction and demonology, firestone is the default for destro. To add these, type "nc +firestone" or similar.

3. Soul Shard Replenishment - I noticed after hours of running a server (15+ hours) that altbots and rndbots would only cast imp and not use their soul shards. This is because they were actually running out of soul shards, without the ability to maintain themselves accordingly. I added a trigger (no soul shard) and action (create soul shard) that triggers if they are out of soul shards, creating only 1 soul shard (to not clog up the inventory). This way, you should never have a warlock using the wrong pet, or failing to cast shadowburn, failing to create soulstone/spellstone/firestone/healthstone, or failing to cast soul shatter.

4. Tidying up the code -

I removed the built-in curse code from the DPS strategies, and migrated it to the manual curse strategies.

I clumped the curse triggers and actions together in the associated files.

I added logic for Curse of Weakness to check for conflicting debuffs.

I moved the summoning strategies and curse strategies to their own strategy factories - WarlockPetStrategyFactoryInternal, and WarlockCurseStrategyFactoryInternal. This way they can only have one curse and one pet strategy active at once. I also renamed the "NonCombatBuffStrategyFactoryInternal" to "WarlockSoulstoneStrategyFactoryInternal", which was more accurate.

I changed a single talent point in the Affliction Warlock PVE spec, taking one from destructive reach and adding it into nightfall for those sweet, sweet free shadowbolts.

I added "ss self" as the default non-combat soulstone strategy, as before, they didn't have one assigned. The player can still of course remove that NC strategy and apply another, such as "ss master", "ss tank", or "ss healer".
2025-07-07 18:51:33 -07:00
Yunfan Li
f0c6aaff0b Random bots gear related enhancements 2025-07-05 20:29:34 +08:00
ThePenguinMan96
00cc2468f1 Warlock overhaul (#1397)
This is a complete overhaul of the warlock class, making 3 new strategies (affliction, demonology, and destruction), as well as finishing the warlock tank strategy (shadow ward and searing pain). It also includes a soulstone fix, where the bots can change who they soulstone based on the non-combat strategies you set for them. It also includes a self-resurrect action and trigger that allows the bots to resurrect using a soulstone or reincarnation. Many other skills were added to finish out the warlock skillset.
2025-06-27 20:00:38 +02:00
kadeshar
fc6309c521 - Added Blessing of Sanctuary to paladin health buff strategy (#1345)
- Removed Blessing of Sanctuary from paladin dps buff strategy
- Added health buff strategy as default for protection paladin
2025-06-06 12:10:45 +02:00
Yunfan Li
19447c3914 Enable new rpg strategy by default (#1192)
* Add RandomBotMinLevelChance

* Save mana only for healer

* Disable addclass dk for low level player

* Target selection and debuff cast with less players in group

* Change default rpg strategy and bots count in config

* Logs clean up

* Improve init=auto

* Remove login logs after initialization

* Rndbots stats for quest

* Prediction chase in reach combat

* Poor & Normal items ensurence for init=auto
2025-04-11 20:31:38 +08: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
95c2ba9105 Permission check and readability improvements (#997)
* AiFactory check by spell instead of level

* Ignore group security for guild invitation
2025-02-23 20:09:59 +01:00
SaW
a44650c7f6 Include pvp as default non-combat strat for alt/class bots (#1001) 2025-02-22 10:59:18 +08: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
achyles222
1c2ec60e6b Added Frostfire spec for fire mage (#936) 2025-02-03 19:48:41 +08:00
Yunfan Li
b0b3fef222 Revert "Paladins use Greater Blessings" 2025-01-04 21:24:12 +08:00
avirar
2679b851d4 Add to Paladin default strats 2025-01-04 16:16:42 +11:00
Yunfan Li
1ccde41fea Remove mark rti strats for tank warrior 2024-12-19 22:58:26 +08:00
Yunfan Li
0fd894176b [New Rpg] New rpg start up (add GO_GRIND and NEAR_RANDOM status) 2024-11-30 23:48:29 +08:00
Yunfan Li
11377436cd [Strategy] Rename "assist dps" to "healer dps" 2024-10-04 21:49:47 +08:00
Yunfan Li
a0dd00bba1 [Spell] Handle tree of life and assist dps 2024-10-04 14:14:16 +08:00
Yunfan Li
008d098eda [Assist Dps] Healer assist dps strats 2024-10-04 14:14:16 +08:00
Yunfan Li
eea652f5d5 Tank face and dps behind 2024-09-24 11:46:39 +08:00
Yunfan Li
3d1920675b Keep bear strategy for bear druid in bg 2024-08-31 23:45:24 +08:00
Yunfan Li
a63fbb3b5f Improve druid cat spec 2024-08-31 23:16:14 +08:00
Yunfan Li
2ddaae9ef0 Dynamic delay 2024-08-14 18:37:21 +08:00
Atidot3
25b010dd1e Merge code line 2024-08-04 12:04:06 +02:00
Atidot3
7227211ddf Chat tweak, guild bots management tooggle 2024-08-04 10:14:07 +02:00
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08:00
Atidot3
0008d84f71 Bot should be more consistent at doing quest +several fixes 2024-07-30 14:50:37 +02:00
Yunfan Li
8171093101 Fix spec tabs error 2024-07-29 14:40:47 +08:00
Atidot3
d21d1e9b68 Suggest dungeon implementation + log action unknown to help debug 2024-07-27 10:13:33 +02:00
Atidot3
50bd63575d Progress on channels and say yell etc 2024-07-25 23:18:04 +02:00
Yunfan Li
5c7fb89591 Merge branch 'master' into self-command 2024-07-22 09:08:29 +08:00
Revision
838bfe333d Fix: Updated to work with newer commits of AzerothCore 2024-07-22 00:39:06 +02:00
Yunfan Li
e7fe79d946 [Initialization] Send talent packet after intialization 2024-07-21 22:14:15 +08:00
Yunfan Li
b1f5c1313c [Strategy] Enable cat strategy, remove threat by default, reset strategy on talents change 2024-07-09 17:33:09 +08:00
Yunfan Li
f26227027d [Combat formation] Combat formation set up 2024-07-07 13:10:50 +08:00
Fuzz
ed14afc2f6 fixed bot endlessly resetting strats in nagrand and blades edge 2024-07-04 19:04:08 +10:00
yang
3fb3610ad3 [optimization] Fixed several compilation warnings 2024-05-29 20:23:08 +08:00
Yunfan Li
26faac914e [Class spell] Fix healing priests stop casting due to threat 2024-05-07 22:21:38 +08:00
Yunfan Li
0499e5da46 Auto avoid aoe config 2024-04-14 13:03:18 +08:00
Yunfan Li
953e4acdee AiFactory add save mana 2024-03-24 00:40:35 +08:00
Yunfan Li
5f31941820 Auto save mana strategy 2024-03-23 18:11:46 +08:00
Yunfan Li
a1903ad888 Item use check 2024-02-14 01:01:28 +08:00
Yunfan Li
1a11ec0717 Miscs for spell casting 2024-01-30 14:02:50 +08:00
Yunfan Li
1d21feb1ea Rebuild talents command 2024-01-14 14:54:48 +08:00
Yunfan Li
af3f083a8c Increase level for fury warrior 2024-01-06 01:13:10 +08:00
Yunfan Li
93cdd79718 allow grinding 2023-12-18 17:15:54 +08:00
Yunfan Li
b2089c5935 bdps for enhancement shaman 2023-10-27 19:22:37 +08:00
Yunfan Li
618f2cd95e shaman bdps 2023-10-22 17:00:50 +08:00
Yunfan Li
a63c6b6709 smarter dps target and tank target 2023-10-22 01:27:37 +08:00
Yunfan Li
29b748803e enable battleground 2023-10-19 00:20:45 +08:00
Yunfan Li
ac6f7a1e98 init=auto 2023-10-05 00:59:08 +08:00
Yunfan Li
4a30326733 shaman bmana 2023-09-04 17:05:36 +08:00