Larkinabout / fvtt-token-action-hud-pf2e

Token Action HUD is a repositionable HUD of actions for a selected token.
10 stars 15 forks source link

Implement https://github.com/Larkinabout/fvtt-token-action-hud-pf2e/issues/107 #113

Closed Silvertower closed 7 months ago

Silvertower commented 7 months ago

Two items of note:

  1. The way Elemental Blast is implemented in PF2e is by using a single attack for all blast options, with handling done by Rules Elements. This means that fvtt-token-action-hud-pf2e can't return a normal item for this kind of attack. Instead, I have opted to return the specific ActiveEffectLike Rules Element for the element that is being used when activating Elemental Blast. This Rules Element contains the range, but it is in a non-standard location that tactical-grid (and any other modules) will have to handle.
  2. Familiar Attacks do not have a range specified. It would be best for tactical-grid (and any other modules) to handle this case. It'd probably be best to look for the following two slugs, which are present on Familiar Attacks, to verify that a familiar attack item was returned by this feature: { "slug": "attack-roll", "modifiers": [ { "slug": "master-level" } ] }