Skip to content

Commit

Permalink
Fix data usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Cornell Daly committed Jun 19, 2024
1 parent ad6f285 commit a509555
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions scripts/sheets/LumenHeroSheet.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,19 @@ export default class LumenHeroSheet extends ActorSheet {
html
.find('.roll-force')
.click(() => {
performRoll(actor.system.force, 'Force')
performRoll(actor.system.approaches.force, 'Force')
})

html
.find('.roll-flow')
.click(() => {
performRoll(actor.system.flow, 'Flow')
performRoll(actor.system.approaches.flow, 'Flow')
})

html
.find('.roll-focus')
.click(() => {
performRoll(actor.system.focus, 'Focus')
performRoll(actor.system.approaches.focus, 'Focus')
})

html
Expand Down
6 changes: 3 additions & 3 deletions templates/sheets/hero-sheet.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
type="number"
class="c-input u-large align-right p-2"
name="system.force"
value="{{data.system.force}}"
value="{{data.system.approaches.force}}"
min="0"
max="6"
step="1"
Expand All @@ -78,7 +78,7 @@
type="number"
class="c-input u-large align-right p-2"
name="system.flow"
value="{{data.system.flow}}"
value="{{data.system.approaches.flow}}"
min="0"
max="6"
step="1"
Expand All @@ -90,7 +90,7 @@
type="number"
class="c-input u-large align-right p-2"
name="system.focus"
value="{{data.system.focus}}"
value="{{data.system.approaches.focus}}"
min="0"
max="6"
step="1"
Expand Down

0 comments on commit a509555

Please sign in to comment.