Enter Project FU: an unofficial foundry system for Fabula Ultima, channeling the essence of the book while delivering the immersive experience of playing a JRPG in tabletop format.
Adds two hooks to the damage pipeline.
'projectfu.damage.beforeApply' => altering overall values just before any meaningful calculations start
'projectfu.damage.applyTarget' => altering data per-target just before application
The hooks can modify the provided data structure and the changes will be picked up and propagated to the logic.
Refactors out duplicate code
Repairs and adds some JSDoc typedefs
Centralizes some hook constants for ease of lookup, enumeration, and hopefully documentation
Adds two hooks to the damage pipeline. 'projectfu.damage.beforeApply' => altering overall values just before any meaningful calculations start 'projectfu.damage.applyTarget' => altering data per-target just before application The hooks can modify the provided data structure and the changes will be picked up and propagated to the logic.
Refactors out duplicate code
Repairs and adds some JSDoc typedefs
Centralizes some hook constants for ease of lookup, enumeration, and hopefully documentation