Commit graph

8 commits

Author SHA1 Message Date
fyorl
d799fb1c56
[#25] Ensure resource attribute values are clamped between their min and max. Ensure token attribute update deltas are applied correctly to resource attributes. Draw attribute bars appropriately when attribute min is non-zero. 2022-01-13 13:31:41 +00:00
Matt Smith
6eee073a24 28: Fix issue with reserved groups 2022-01-12 17:44:20 +00:00
fyorl
84562bd9c2
[#35] Use different ID attributes for sidebar documents depending on foundry version. 2021-12-13 17:16:03 +00:00
fyorl
e966775723
Update for v9 compatibility. 2021-12-13 15:45:53 +00:00
Andrew
fb0add4cbc Update Simple Worldbuilding for Foundry 0.8.x Compatibility 2021-05-23 19:35:02 -04:00
Matt Smith
b385af307a 22: Refactor roll attributes in helper class
- Updated `rollData` in helper.js to use actor as the data source rather
  than the object. This allows for items to reference attributes by
  assuming the parent actor is the source of truth and item attributes
  would be referenced as either `@item.attr` or `@items.ITEMNAME.attr`
- Refactored formula replacement to prevent values from being replaced
  with 0s unintentionally.
2020-10-30 10:21:58 -05:00
Andrew
6bf056b3d4 Tidy the worldbuilding system for 0.40 release 2020-10-19 17:34:32 -07:00
Matt Smith
8b958dd232 10: Refactor actor sheet code
- Refactored actor-sheet.js to move most of its logic into a separate
  helper.js module as static methods on a new SimpleHelper class. This
  doesn't add anything functional at the moment, but it's in
  preparation of re-using the same code for the item-sheet.js file.
2020-10-06 17:20:00 +00:00