queryluke / masseffect-5e

Mass Effect Universe mapped onto Dungeons & Dragons 5th Edition
https://n7.world
GNU General Public License v3.0
23 stars 8 forks source link

Refactor Attack/Action Components and Data Flow #536

Closed queryluke closed 2 years ago

queryluke commented 2 years ago

The initial goal of the rewrite for v1.4 was to keep all data transformation with the state, however, this has caused a lot of interconnected state bloat between the various state files.

Ideally, components should not need to call these large transformations, and, instead, be passed minimal data about the object it needs to render. For example:

A "power card" on the character sheet should only need: id, power level, advancement, and source

This will become increasingly important when wanting to reuse these components within the homebrew editing interfaces.