normaliser reveActuel en reve-actuel

This commit is contained in:
2020-12-06 21:56:59 +01:00
parent e8f69b74c7
commit ce3c2f21cd
2 changed files with 7 additions and 5 deletions

View File

@ -263,8 +263,8 @@ export class RdDActorSheet extends ActorSheet {
this.actor.rollCarac( caracName.toLowerCase() );
});
html.find('#chance-actuel').click((event) => {
this.actor.rollCarac( 'chance-actuel' );
html.find('#chance-actuelle').click((event) => {
this.actor.rollCarac( 'chance-actuelle' );
});
html.find('#chance-appel').click((event) => {
@ -276,10 +276,12 @@ export class RdDActorSheet extends ActorSheet {
let compName = event.currentTarget.text;
this.actor.rollCompetence( compName);
});
// Points de reve actuel
html.find('.ptreve-actuel a').click((event) => {
this.actor.rollCarac( 'reveActuel' );
});
this.actor.rollCarac( 'reve-actuel' );
});
// Roll Weapon1
html.find('.arme-label a').click((event) => {
let armeName = event.currentTarget.text;