Test a skill-tree upgrade as a state transition
A passive-tree guide can show the final allocation and still leave a player guessing what to refund. A useful upgrade checker compares two snapshots of the same tree version. Each snapshot needs the allocated node IDs and a separate map of effect choices keyed by node ID.
Derive the changes from data
Given the current and next allocations, compute three lists: the intersection (keep), the old-only IDs (refund), and the new-only IDs (add). Compare effect choices separately on the kept nodes. A node can remain allocated while its chosen effect changes, so a diff that only checks IDs will miss that case. If the snapshots use different tree versions, check the version and migrate the identifiers before comparing.
In pseudocode:
keep = old.nodes ∩ next.nodes
refund = old.nodes − next.nodes
add = next.nodes − old.nodes
effectChanges = kept nodes whose old and next choices differ
Test a straight upgrade and a real switch
The public 3.30 Atlas progression examples provide two different test shapes. Big Ducks' 37-to-78-point route keeps all 37 earlier nodes and adds 41, so the refund list is empty. Fubgun's 73-to-134-point route refunds one and adds 62. Both end at a higher point count, but only the first can be described as adding points without a refund. Count the node changes and check that they reconcile with the two point totals.
Keep the allocation from the original author available for comparison. In the 78-point example, the original leaves two effect slots open. The site's preset fills them and labels the selections as its own. That distinction is worth representing alongside the IDs: otherwise a diff can look correct and still misstate what the author recommended.
Check the reader's path
Open each checkpoint independently and check the displayed point budget before comparing the change summary. Check that the original source and any adaptation are labeled near the relevant tree. Save the two examples separately if you're experimenting; loading a second checkpoint is a comparison, not proof that every old point can stay.
This is a development note from the independent PoE Atlas Tree Planner project. Drafted with AI and based on the linked public examples.
原文:https://www.a8q9.cn/en/article/test-a-skill-tree-upgrade-as-a-state-transition-8967b9.html