Changed ProcessItem() two-handed search to right hand #86
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PlayerREF.GetEquippedItemId(0) returns 0 when a two-handed weapon is equipped
PlayerREF.GetEquippedObject(0) seems to work OK.
e.g. Output from PrintGroupItems()
[04/10/2021 - 08:33:50PM] PrintGroupItems called on group 1
[04/10/2021 - 08:33:50PM] 37 is -102131405, form is [Form < (020176F1)>]: Dragonbone Bow
[04/10/2021 - 08:33:50PM] Group icon is -102131405, form is [Form < (020176F1)>]: Dragonbone Bow
But output from
Debug.Trace("PlayerREF.GetEquippedObject(0) is " + PlayerREF.GetEquippedObject(0) + ", PlayerREF.GetEquippedObject(1) is " + PlayerREF.GetEquippedObject(1))
Debug.Trace("PlayerREF.GetEquippedItemId(0) is " + PlayerREF.GetEquippedItemId(0) + ", PlayerREF.GetEquippedItemId(1) is " + PlayerREF.GetEquippedItemId(1))
is
[04/10/2021 - 08:32:15PM] PlayerREF.GetEquippedObject(0) is [WEAPON < (000240D2)>], PlayerREF.GetEquippedObject(1) is [Form < (02014FCE)>]
[04/10/2021 - 08:32:15PM] PlayerREF.GetEquippedItemId(0) is 0, PlayerREF.GetEquippedItemId(1) is -102131405