Closed Silvertower closed 1 year ago
Tested with a fresh world with Token Action Hud PF2E 1.4.12 on Foundry v11 build 306 and PF2E 5.2.1 system using Google Chrome 115.0.5790.102 without any extensions installed. This affects any Versatile B weapon. The weapon used for the screenshot above was the Gaff.
Looks like line 1794 in action-handler.js is missing the 'hammer' option:
From pf2e values.ts:
And line 34-36 in constants.js is missing the hammer info for the Font Awesome icon:
Can confirm that updating the scripts/token-action-hud-pf2e.min.js file as follows resolves the issue:
Replace:
s={1:"<span style='font-family: \"Pathfinder2eActions\"; font-size: var(--font-size-20);'>A</span>",2:"<span style='font-family: \"Pathfinder2eActions\"; font-size: var(--font-size-20);'>R</span>","bow-arrow":"fa-solid fa-bow-arrow fa-fw",axe:"fa-solid fa-axe fa-fw"}
With:
s={1:"<span style='font-family: \"Pathfinder2eActions\"; font-size: var(--font-size-20);'>A</span>",2:"<span style='font-family: \"Pathfinder2eActions\"; font-size: var(--font-size-20);'>R</span>","hammer:"fa-solid fa-hammer fa-fw",bow-arrow":"fa-solid fa-bow-arrow fa-fw",axe:"fa-solid fa-axe fa-fw"}
And replace:
#M(e,t=""){return["bow-arrow","axe"].includes(e)
With:
#M(e,t=""){return["hammer","bow-arrow","axe"].includes(e)
On holiday for a few days, but will sort when I get back.
Fixed in Token Action HUD Pathfinder 2 1.4.13.