Skip to content

Commit

Permalink
Merge pull request ben#1007 from ben/uncap-attributes
Browse files Browse the repository at this point in the history
Uncap attributes
  • Loading branch information
ben authored Aug 10, 2024
2 parents 5386f76 + 4a2a4d0 commit 51282c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Next Release

- Allow edge/heart/etc. attributes to range from -5 to +10 ([#1007](https://github.com/ben/foundry-ironsworn/pull/1007))
- Behind the scenes
- Build compendiums from source, which makes management of this data a lot easier ([#1006](https://github.com/ben/foundry-ironsworn/pull/1006))

Expand Down
4 changes: 2 additions & 2 deletions src/module/fields/StatField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export class StatField extends foundry.data.fields.NumberField {
label,
integer: true,
required: true,
min: 0,
max: 4,
min: -5,
max: 10,
initial: 1
})
}
Expand Down
1 change: 0 additions & 1 deletion src/module/vue/components/resource-meter/attr-slider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ const value = computed(
async function onChange(newValue: number) {
const data = { [targetKey.value]: newValue }
console.log('updating with data', data)
// redundant with the below if it's global, but fires anyway so that a single message appears in the chatlog.
await $document?.update(data)
if (props.global) {
Expand Down

0 comments on commit 51282c7

Please sign in to comment.