2646 Commits

Author SHA1 Message Date
bash
e052ec3b17 fix(Core/Travel): Match cmangos buildPath stitching, drop 75y guard 2026-05-30 13:53:17 +02:00
bash
4a991c194d fix(Core/Travel): Preserve walk paths from taxi-path overwrite 2026-05-30 13:53:17 +02:00
bash
ed31f8f8a7 chore(Core/Travel): Warn admins to shutdown after generatenode 2026-05-30 13:53:17 +02:00
bash
479794b66b fix(Core/Travel): Skip 5y dedup when loading nodes from DB 2026-05-30 13:53:17 +02:00
bash
337fbca8c0 chore(DB/Travel): Temporarily disable Aldrassil ramp anchors 2026-05-30 13:53:17 +02:00
bash
fe12f1a708 fix(Core/Travel): Drop 2-point check, keep last-segment teleport guard 2026-05-30 13:53:17 +02:00
bash
8916cf83c0 fix(Core/Travel): Reject paths with >75y final-segment teleport jumps 2026-05-30 13:53:17 +02:00
bash
77caf85fd1 fix(Core/Travel): Reject 2-point BuildShortcut paths between non-adjacent nodes 2026-05-30 13:53:17 +02:00
bash
5e5d41f878 chore(Core/Travel): Bump 2-point shortcut threshold to 75y 2026-05-30 13:53:17 +02:00
bash
63c5d674d6 fix(Core/Travel): Reject 2-point BuildShortcut teleports in chained probe 2026-05-30 13:53:17 +02:00
bash
43ee732003 Revert non-progress chained-probe detection (broke valid paths) 2026-05-30 13:53:17 +02:00
bash
f42f37399f fix(Core/Travel): Loosen chained-probe non-progress threshold 2026-05-30 13:53:17 +02:00
bash
c7929482c4 fix(Core/Travel): Bail chained probe on non-progress oscillation 2026-05-30 13:53:17 +02:00
bash
e1489f213e fix(Core/Travel): Chunk all saveNodeStore phases (deletes, nodes, links) 2026-05-30 13:53:17 +02:00
bash
007189fd5c fix(Core/Travel): Chunk saveNodeStore path inserts to avoid mega-tx 2026-05-30 13:53:17 +02:00
bash
eabefb1d33 feat(DB/Travel): Add Aldrassil ramp travelnode anchors 2026-05-30 13:53:17 +02:00
bash
2208c80caa chore(Core/Debug): Compact debug-move whisper format 2026-05-30 13:53:17 +02:00
bash
a472fc2d68 feat(Core/Travel): Sparse-segment clip in LaunchWalkSpline 2026-05-30 13:53:17 +02:00
bash
bac63e2a8c feat(Core/RPG): Prefix-trim and sparse-segment clip on path dispatch 2026-05-30 13:53:17 +02:00
bash
690288b5cc feat(Core/RPG): Port cmangos 8-angle LOS+navmesh-snap to MoveWorldObjectTo 2026-05-30 13:53:17 +02:00
bash
57134918cb chore(Core/RPG): Loosen Z-mismatch threshold from 5y to 10y 2026-05-30 13:53:17 +02:00
bash
324b50f1be fix(Core/RPG): Reject mmap paths whose endpoint Z misses dest 2026-05-30 13:53:17 +02:00
bash
7d8d8c6b31 fix(Core/RPG): Reject mmap paths that LOS-fail any segment 2026-05-30 13:53:17 +02:00
bash
34b0432aaa feat(Core/RPG): Switch POI when current cluster is empty 2026-05-30 13:53:17 +02:00
bash
edc999c8ac fix(Core/RPG): Stop next to quest objects instead of on top of them 2026-05-30 13:53:17 +02:00
bash
85e2a940a1 chore: Drop bot movement console logs 2026-05-30 13:53:17 +02:00
bash
6754a95890 chore: Tighten comments in travel and movement code 2026-05-30 13:53:17 +02:00
bash
d0fac16c85 chore(Core/Travel): Drop cmangos reference in RefineWalkPoints comment 2026-05-30 13:53:17 +02:00
bash
a64c721f35 fix(Core/RPG): LOS check on MoveRandomNear samples to avoid tree tunneling 2026-05-30 13:53:17 +02:00
bash
27503a9c37 Revert "fix(Core/Travel): LOS check before trusting raw cmangos waypoints" 2026-05-30 13:53:17 +02:00
bash
1a7e6db0c9 fix(Core/Travel): LOS gate on empty-probe single-waypoint fallback 2026-05-30 13:53:16 +02:00
bash
6ae973bb8e fix(Core/Travel): LOS check before trusting raw cmangos waypoints 2026-05-30 13:53:16 +02:00
bash
101da6ecd3 chore(Core/Travel): Revert travelnode threshold to 50y 2026-05-30 13:53:16 +02:00
bash
605e7586c5 chore(Core/Travel): Bump travelnode threshold to 75y 2026-05-30 13:53:16 +02:00
bash
129cb252cf fix(Core/Travel): Trust travelnode waypoints when AC mmap rejects segments 2026-05-30 13:53:16 +02:00
bash
088537277c feat(Core/Travel): Hardcode 50y travelnode threshold 2026-05-30 13:53:16 +02:00
bash
6944da8d69 core filter isnt working yet 2026-05-30 13:53:16 +02:00
bash
980c1b8cd8 refactor(Core/Travel): Drop redundant NAV_GROUND_STEEP excludes (core handles via IsBot) 2026-05-30 13:53:16 +02:00
bash
ad14420400 fix(Core/Travel): Exclude NAV_GROUND_STEEP at all bot PathGenerator sites 2026-05-30 13:53:16 +02:00
bash
1d0aeec7b9 feat(Core/Travel): Align MoveFarTo and probe pipeline with cmangos 2026-05-30 13:53:16 +02:00
bash
7741626631 feat(Core/Travel): Cap bots at 50° via NAV_GROUND_STEEP exclude 2026-05-30 13:53:16 +02:00
bash
806013a4c9 feat(Core/Debug): Trace movement entry points and visualize travel nodes 2026-05-30 13:53:16 +02:00
bash
3269d1a4b3 feat(Core/RPG): MoveFarTo flow, quest-pursuit at POI, MoveRandomNear retries 2026-05-30 13:53:16 +02:00
bash
1ae72b0888 feat(Core/Travel): Travel-node graph routing for long-distance pathing 2026-05-30 13:53:16 +02:00
bash
0a9bf70305 feat(Core/Loot): Quest GO loot, bag-make-room, item-pursuit 2026-05-30 13:53:16 +02:00
bash
e18fdd02cd chore(Tools): Add mmap/vmap client-data extraction script 2026-05-30 13:53:16 +02:00
bash
a23158ef52 feat(DB/Travel): Import cmangos travel-node graph 2026-05-30 13:53:16 +02:00
dillyns
4a63ee37e2
Shadow Priest Vampiric Embrac (#2410)
<!--
Thank you for contributing to mod-playerbots, please make sure that
you...
1. Submit your PR to the test-staging branch, not master.
2. Read the guidelines below before submitting.
3. Don't delete parts of this template.

DESIGN PHILOSOPHY: We prioritize STABILITY, PERFORMANCE, AND
PREDICTABILITY over behavioral realism.

Every action and decision executes PER BOT AND PER TRIGGER. Small
increases in logic complexity scale
poorly across thousands of bots and negatively affect all. We prioritize
a stable system over a smarter
one. Bots don't need to behave perfectly; believable behavior is the
goal, not human simulation.
Default behavior must be cheap in processing; expensive behavior must be
opt-in.

Before submitting, make sure your changes aligns with these principles.
-->

## Pull Request Description
<!-- Describe what this change does and why it is needed -->
Shadow priest's Vampiric Embrace was incorrectly set as a debuff, and
was in the combat strategy.
Fixed it to be a buff, and move it to the noncombat strategy with other
buffs

## Feature Evaluation
<!--
If your PR is very minimal (comment typo, wrong ID reference, etc), and
it is very obvious it will not have
any impact on performance, you may skip these question. If necessary, a
maintainer may ask you for them later.
-->

<!-- Please answer the following: -->
- Describe the **minimum logic** required to achieve the intended
behavior.
- Describe the **processing cost** when this logic executes across many
bots.



## How to Test the Changes
<!--
- Step-by-step instructions to test the change.
- Any required setup (e.g. multiple players, number of bots, specific
configuration).
- Expected behavior and how to verify it.
-->
Get a shadow priest bot. They should now buff themselves with Vampiric
Embrace.


## Impact Assessment
<!-- As a generic test, before and after measure of pmon (playerbot pmon
tick) can help you here. -->
- Does this change increase per-bot/per-tick processing or risk scaling
poorly with thousands of bots?
    - - [x] No, not at all
    - - [ ] Minimal impact (**explain below**)
    - - [ ] Moderate impact (**explain below**)



- Does this change modify default bot behavior?
    - - [x] No
    - - [ ] Yes (**explain why**)



- Does this change add new decision branches or increase maintenance
complexity?
    - - [x] No
    - - [ ] Yes (**explain below**)



## AI Assistance
<!--
AI assistance is allowed, but all submitted code must be fully
understood, reviewed, and owned by the contributor.
We expect contributors to be honest about what they do and do not
understand.
-->
Was AI assistance used while working on this change?
- - [x] No
- - [ ] Yes (**explain below**)
<!--
If yes, please specify:
- Purpose of usage (e.g. brainstorming, refactoring, documentation, code
generation).
- Which parts of the change were influenced or generated, and whether it
was thoroughly reviewed.
-->



<!--
TRANSLATIONS:
Anything new that the bots say in chat must be in a translatable format.
This is done using GetBotTextOrDefault,
which you can search for in the codebase to find examples. Your code
needs to have English as the default fallback,
while the full translations need to be in an SQL update file. The
languages in the file are the nine language
options supported by AzerothCore: English, Korean, French, German,
Chinese, Taiwanese, Spanish, Spanish Mexico, and
Russian. See
data/sql/playerbots/updates/2025_12_27_ai_playerbot_fishing_text.sql as
an example of a translation SQL
update, whose content are called within the codebase at
src/strategy/actions/FishingAction.cpp
-->

## Final Checklist

- - [x] Stability is not compromised.
- - [x] Performance impact is understood, tested, and acceptable.
- - [x] Added logic complexity is justified and explained.
- - [x] Any new bot dialogue lines are translated.
- - [x] Documentation updated if needed (Conf comments, WiKi commands).

## Notes for Reviewers
<!-- Anything else that's helpful to review or test your pull request.
-->
2026-05-29 23:09:28 -07:00
Crow
9bba4b78dd
Overhaul party buff/greater blessing system (#2358)
## Pull Request Description

These changes I originally made for myself because as a person who
really likes to raid with bots, I felt like the current group buff
system is fundamentally broken, and I needed something more consistent
and optimal. I debated a lot whether to PR this because it's such an
extensive overhaul that was almost entirely reliant on AI, and I know
that wishmaster still has a PR open regarding the greater blessings. I
decided to after a couple of conversations so at least people can look
at it and see if it's something that they want.

The tl;dr version is that this PR overhauls buff handling in two related
areas:
1. It adds a dedicated greater blessing assignment system.
2. It generalizes party/raid reagent-buff handling for Paladins, Druids,
Mages, and Priests.

Under this PR, greater blessings are determined by assignments for the
current group, and those assignments are determined based on:

1. a hardcoded priority list of blessings for each spec;
2. the number of Paladins in the group; and 
3. whether any Paladins have talents for Blessing of Sanctuary, Improved
Blessing of Might, or Improved Blessing of Wisdom.

Assignment determinations are cached in a value to avoid constant
reevaluation.

The exact priority list is:

- All casters: Kings, Wisdom, Sanctuary, Might
- Physical-only DPS (Rogues, Warriors, DKs): Might, Kings, Sanctuary,
N/A
- Hybrid DPS (Enh, Ret, Hunters, Cats): Might, Kings, Wisdom, Sanctuary
- Druid tanks: Kings, Might, Sanctuary, Wisdom
- Warrior and DK tanks: Kings, Might, Sanctuary, N/A
- Paladin tank: Sanctuary, Might, Wisdom, Kings

Note that Sanctuary is preferred over Kings for Paladin tanks because of
the mana regen component but deprioritized for other tanks because Kings
provides Agility. The extra 3% damage reduction from Sanctuary does not
stack with Disc Priests’ Renewed Hope, which will have 100% uptime.

For group buffs, logic is centralized so that class triggers use the
same gating and upgrade rules for Gift of the Wild, Arcane Brilliance,
Prayer of Fortitude, Prayer of Spirit, and Prayer of Shadow Protection.
Also, Shadow Protection is now a default strategy for Priests (rshadow,
which existed before but wasn’t added by default).

I’ve added a config setting for the greater blessing system and adjusted
the current config setting for group buffs. In each case, you can pick
whether to disable the feature entirely, use it in all groups, or use it
only in raid groups. The default is raid only for greater blessings and
all groups for group buffs. Note that for group buffs, even if the
config is enabled, they will be used only if at least 3 group/raid
members on the same map are missing the buff family. This is mainly to
stop group buff spamming during wipe recovery as bots are revived
one-by-one.

I renamed the Paladin buff strategies to align them with the actual
blessing names:
- `bhealth` -> `bsanc`
- `bmana` -> `bwisdom`
- `bdps` -> `bmight`
- `bstats` -> `bkings`

This is an intentional breaking change for saved strategy strings. Bots
will need a one-time strategy reset after update.

I removed bots telling you when they are out of reagents for greater
blessings. If people like that though, I can add it back.

A small cleanup is also included in TankPaladinStrategy: Holy Shield was
subject to three overlapping health triggers with the same priority; I
removed the two lower health thresholds which have no purpose.

## Feature Evaluation

- Describe the **minimum logic** required to achieve the intended
behavior.

I’m going to let the AI answer this one.
> The minimum logic is:
> - a shared config-gated check for whether group/raid buff variants are
allowed
> - a shared way to treat single and group variants as equivalent aura
families
> - a shared upgrade path from single-target buff to group buff when the
group variant is appropriate
> - a Paladin-only cached assignment model that decides which blessing
family each Paladin should cover for the current group
> - trigger/action wiring that only attempts casts when a group member
is actually missing the assigned buff
>
> This avoids scattering separate per-class heuristics across many
triggers and actions.

- Describe the **processing cost** when this logic executes across many
bots.

Processing cost should be minimal but non-zero. The general party buff
changes are limited to existing buff trigger paths and mostly replace
duplicated checks with shared helpers. They do not add expensive default
per-tick behavior outside those existing trigger evaluations.

The Paladin greater blessing logic does add extra decision-making, but
it is limited to Paladins, gated by config and group eligibility,
subject to a delayed trigger evaluation of only once per 4s, and cached
per group assignment set instead of recomputing the full assignment
model on every action attempt.

This PR also increases the throttle duration for group buff triggers to
limit performance impact; I’m open to adjustments to these durations:
- Mark of the Wild triggers were increased from 4s to 8s
- Arcane Intellect triggers were increased from 4s to 8s
- Priest buff triggers were increased to 8s (previously, Fortitude was
6s, Spirit was 4s, and Shadow Protection had no throttle)
- There is now a 5s delay on buffing (greater blessings and group buffs)
after bots log in—I was getting bots spamming buffs as soon as they
logged in even when it was not necessary

I’ve tested with pmon, and the impact is minimal—these are very cheap
triggers even compared to standard bot rotational ability triggers.

## How to Test the Changes

1. Try different config settings to confirm that they work to
enable/disable greater blessings/group buffs in the configured scenarios

2. For greater blessing changes:
   - test with one Paladin in a party/raid
   - test with multiple Paladins in a party/raid
- confirm the Paladins divide blessing coverage instead of repeatedly
overwriting each other
- include at least one Paladin with Improved Blessing of Might and make
sure it casts Might over Paladins without the talent; check the same
with a Paladin with Improved Blessing of Wisdom
- do not include a Paladin that knows Sanctuary, confirm any Paladin
tank receives Kings instead (you’ll need a low-level Paladin for this
since Sanctuary is a prot talent)
- confirm bots cast blessings only when a member is actually missing the
relevant blessing family
   - confirm there is a 5s delay on buffing when bots log in

3. For group buff changes:
   - confirm there is a 5s delay on buffing when bots log in
- confirm that single buffs are used when there aren’t at least three
unbuffed members in the same map, even if group buffs are enabled in the
config

4. For all buffs, test with reagents missing to confirm fallback to
single-target buffs and single blessings

5. Confirm the Paladin buff strategy names are changed after resetting
AI

## Impact Assessment

- Does this change increase per-bot/per-tick processing or risk scaling
poorly with thousands of bots?
    - - [ ] No, not at all
    - - [x] Minimal impact (**explain below**)
    - - [ ] Moderate impact (**explain below**)

Discussed above in processing costs.

- Does this change modify default bot behavior?
    - - [ ] No
    - - [x] Yes (**explain why**)

Yes—that is the purpose of this PR, to change default buffing behavior.

- Does this change add new decision branches or increase maintenance
complexity?
    - - [ ] No
    - - [x] Yes (**explain below**)

Yes, but I think it’s inevitable to add complexity to get greater
blessings to function consistently, given the challenges brought by
their mechanic of applying across each class.

## AI Assistance

Was AI assistance used while working on this change?
- - [ ] No
- - [x] Yes (**explain below**)

I used GPT-5.4 extensively for this overhaul. It’s much more complicated
than I could handle on my own. I’ve done a lot of testing and have
reviewed the code and provided plenty of revisions, but I cannot say I
can perfectly explain each addition and how it works, not even close.

## Final Checklist

- - [x] Stability is not compromised.
- - [x] Performance impact is understood, tested, and acceptable.
- - [x] Added logic complexity is justified and explained.
- - [x] Any new bot dialogue lines are translated.
- - [x] Documentation updated if needed (Conf comments, WiKi commands).

## Notes for Reviewers

---------

Co-authored-by: Keleborn <22352763+Celandriel@users.noreply.github.com>
Co-authored-by: bash <hermensb@gmail.com>
Co-authored-by: Revision <tkn963@gmail.com>
Co-authored-by: kadeshar <kadeshar@gmail.com>
2026-05-29 23:08:21 -07:00
Keleborn
82a92f6296 Modify Illidan distbeyondtrap 2026-05-26 09:01:56 -07:00