From 41ab593059025335ea96f882af2950ae3c4e07b3 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Tue, 24 Oct 2023 22:24:54 +0200 Subject: [PATCH] Fix: fabrication de potion depuis l'herbe La fabrication ne marchait plus --- module/item-sheet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/item-sheet.js b/module/item-sheet.js index e8864c86..a85ba8a4 100644 --- a/module/item-sheet.js +++ b/module/item-sheet.js @@ -195,7 +195,7 @@ export class RdDItemSheet extends ItemSheet { this.html.find('.creer-tache-livre').click((event) => this._getEventActor(event).creerTacheDepuisLivre(this.item)); this.html.find('.consommer-potion').click((event) => this._getEventActor(event).consommerPotion(this.item, this.getActionRenderItem())); - this.html.find('.creer-potion-base').click((event) => this._getEventActor(event).dialogFabriquerPotion(this.item)); + this.html.find('.creer-potion-base').click((event) => this._getEventActor(event).actionHerbe(this.item)); this.html.find('.alchimie-tache a').click((event) => { let actor = this._getEventActor(event);