mirror of
https://github.com/RoY7x/worldbuilding.git
synced 2025-04-30 02:31:41 -04:00
- Added a new "Formula" attribute type for both actors and items. - When iterating through attributes, formula attributes are noted in an array so that they can be iterated through in a second pass to evaluate their referenced attributes. The second iteration just handles attribute replacement rather than rolling the formula, that's deferred until the attributes are used in an actual roll formula. - Items also have the same behavior. If an attribute isn't on the item, it will fall back to check the parent actor instead. - Likely areas with issues would be formula attributes that reference other formula attributes, or item formula attributes that reference actor formula attributes. |
||
---|---|---|
.. | ||
actor-sheet.js | ||
actor.js | ||
item-sheet.js | ||
simple.js |