Expand Roll Data with Equipment Info and Roll Source #271
Labels
api
dice calculation
Enhancement
Improvements not directly related to features/bugs
ux
User experience related issue
Milestone
Is your feature request related to a problem? Please describe.
A lot of abilities modify the damage of specific types of attacks or rolls under certain circumstances. Currently we have no way to differentiate different rolls.
Describe the solution you'd like
Include information from equipped weapons and armor in the metadata of a roll, along with the source of the roll (weapon, skill test, talent). Add a 'modifiers' object to the actor data model with keys for common triggers (
ranged-attack
,strike-damage
,cognitive-skill
, etc) so they can be modified by Active Effects. Apply the modifiers from this object when their key matches the predicate information provided to a roll.Describe alternatives you've considered
None of this is necessary and may cross the line for automation provided by the system officially. At the very least, hooks for modules to add such things to the system should be considered if not supporting this functionality outright.
Version
0.3.0
Additional context
This is most likely post-1.0 functionality.
Checklist:
The text was updated successfully, but these errors were encountered: