ITADN

Encounter budget party adjustment not updated for remaster rules

#22439ClosedDropTheSquid 创建于 2026-05-29
D
DropTheSquidcommented
Hello! I have noticed a place where the code has not been updated to account for changes made in the PF2e remaster, and it leads to giving incorrect results for the combat threat level in the encounter tab when the party size is not 4. Specifically, pre remaster, the adjustments per character were 10 or less for trivial, 15 for low, 20 for moderate, 30 for severe, and 40 for extreme. (per CRB 488 or [AoN](https://2e.aonprd.com/Rules.aspx?ID=497)) Post remaster, they are 10 or less for trivial, **20** for low, 20 for moderate, 30 for severe, and 40 for extreme. (per GM Core page 75 or [AoN](https://2e.aonprd.com/Rules.aspx?ID=2716)) Due to the change in the character adjustment for low threat encounters, the budget for nonstandard party sizes is different. For example, for a party of 6, the budget for a low encounter is 90 pre remaster, and 100 in remaster rules. As the game system is trying to follow remaster rules wherever possible, it should be using the budget of 100 for low threat encounters, but that is not what it is doing. The math in [generateEncounterBudgets](https://github.com/foundryvtt/pf2e/blob/6160225b436b7c9589138e56aa0053ee8ac35d2b/src/scripts/macros/xp/index.ts#L85) is following pre remaster rules, and thus incorrectly showing such an encounter as moderate threat instead of low. This also affects modules like [PF2E XP Budget Tool](https://foundryvtt.com/packages/pf2e-xp-tool) because it calls the same underlying function to determine the budget for each threat level. Other tools like [this](https://pf2calc.com/encounter/) are correctly following the remaster rules. This should be a very simple fix, confined entirely to the function I linked to, and I will submit a very small PR to address this soon.
关闭于 2026-05-29 1 条评论