mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 23:43:37 +02:00
Fixes
This commit is contained in:
parent
98a28ac7b9
commit
5ee86e258b
6 changed files with 6 additions and 37 deletions
|
|
@ -719,8 +719,8 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
* Rolls an attribute check based on the clicked button's dataset attribute.
|
||||
* @type {ApplicationClickAction}
|
||||
*/
|
||||
static async #rollAttribute(event, button) {
|
||||
const result = await this.document.traitDiceRoll(button.dataset.attribute);
|
||||
static async #rollAttribute(_event, button) {
|
||||
const result = await this.document.rollTrait(button.dataset.attribute);
|
||||
if (!result) return;
|
||||
|
||||
/* This could be avoided by baking config.costs into config.resourceUpdates. Didn't feel like messing with it at the time */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue