Amélioration du split

Bouton split géré avec itemActions

Ajout d'un bouton pour augmenter les piles (pour le MJ)
This commit is contained in:
2025-01-19 17:56:55 +01:00
parent 8969d5e0ed
commit 6083dd41fa
8 changed files with 39 additions and 38 deletions

View File

@ -108,7 +108,6 @@ export class RdDBaseActorSheet extends ActorSheet {
this.html.find('.item-equip-armure').click(async event => this.actor.equiperObjet(this.getItem(event)))
this.html.find('.item-delete').click(async event => RdDUtility.confirmActorItemDelete(this.getItem(event), this.actor));
this.html.find('.item-split').click(async event => RdDSheetUtility.splitItem(this.getItem(event), this.actor))
this.html.find('.item-quantite-plus').click(async event => this.actor.itemQuantiteIncDec(this.getItemId(event), 1));
this.html.find('.item-quantite-moins').click(async event => this.actor.itemQuantiteIncDec(this.getItemId(event), -1));