Pf2eToolsOrg/Pf2eTools

Hazards do not display attacks

Closed this issue · 1 comments

Jnosh commented

Steps to reproduce

Hazards do not display any entries from the attacks section in hazard data.

For example compare:

Attacks embedded in routines seem to work correctly but some traps have attacks but not routines and in the data these are currently modeled as top level attacks sections.

Severity
High

Additional Information

I'm not sure that embedding of attacks (or afflictions for that matter) in routines is even really needed - attacks & afflictions could always be associated with the hazard directly.
The statblocks place the attack & affliction descriptions in the routine section of the hazard statblock (if it has a routine) but I'm not sure that needs to be reflected in the structure of the data or if it could just be handled as part of the display logic.

But then I don't have any knowledge of how & why the current structure was chosen so I might certainly be wrong here.

Fixed in 0.7.12