Skip to content

Conversation

dcollinsn
Copy link

This patch fixes an issue with amulet anoints where a notable shares a
name with an ascendancy node. Sanctuary is both a normal notable, and a
node in the Inquisitor ascendancy. When building the notableMap in
PassiveTree.lua, the ascendancy node overwrites the normal notable. This
notableMap is only used to look up notables for "allocates X" stats,
which cannot allocate ascendancy nodes. Accordingly, this patch checks
whether a node is part of an ascendancy before adding it to the
notableMap.

Test notes:
Create an amulet with "Allocates Sanctuary". Without this patch, you
will not get the benefits of Sanctuary, the notable will not be lit up
on the tree, and the Inquisitor ascendancy notable will be lit. With
this patch, the correct node will be lit, and (if you have a shield) you
will see the effects of the notable.

This patch fixes an issue with amulet anoints where a notable shares a
name with an ascendancy node. Sanctuary is both a normal notable, and a
node in the Inquisitor ascendancy. When building the `notableMap` in
PassiveTree.lua, the ascendancy node overwrites the normal notable. This
`notableMap` is only used to look up notables for "allocates X" stats,
which cannot allocate ascendancy nodes. Accordingly, this patch checks
whether a node is part of an ascendancy before adding it to the
`notableMap`.

Test notes:
Create an amulet with "Allocates Sanctuary". Without this patch, you
will not get the benefits of Sanctuary, the notable will not be lit up
on the tree, and the Inquisitor ascendancy notable will be lit. With
this patch, the correct node will be lit, and (if you have a shield) you
will see the effects of the notable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant