foundryvtt / pf2e

A community contributed game system for Pathfinder Second Edition.
https://foundryvtt.com/packages/pf2e
Apache License 2.0
372 stars 306 forks source link

Add Action Frequency Tracking to Familiar and NPC sheets #15291

Closed velara closed 1 day ago

velara commented 6 days ago

Updates action.hbs, _red-action-boxes.scss, data-types.ts familiar/sheets.ts and npc/sheets.ts to prepare frequency data for use in the .hbs file and updates the template to include it on the sheet. image

the .tracking class in _red-action-boxes.scss appeared to be unused. With only the npc, familiar and hazard sheets importing the .scss file and none using the class. Thus I've updated the css to produce visually consistent results.

Additional the interface AbilityViewData appeared to only be imported for the familiar and npc so it should have limited/no downstream effects.