Le coeur s'applique à ChâteauDormant

This commit is contained in:
2023-11-27 23:45:33 +01:00
parent 50db9ba709
commit 33ced5715d
9 changed files with 74 additions and 35 deletions

View File

@ -130,7 +130,7 @@ export class RdDActorSheet extends RdDBaseActorSangSheet {
this.html.find('.subacteur-coeur-toggle a').click(async event => {
const subActorIdactorId = RdDSheetUtility.getEventItemData(event, 'subactor-id')
const coeurNombre = $(event.currentTarget).data('coeur-nombre')
const coeurNombre = $(event.currentTarget).data('numero-coeur')
RdDCoeur.toggleSubActeurCoeur(this.actor.id, subActorIdactorId, coeurNombre)
})
this.html.find('.subacteur-tendre-moment').click(async event => {