normaliser reveActuel en reve-actuel
This commit is contained in:
parent
e8f69b74c7
commit
ce3c2f21cd
@ -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;
|
||||
|
@ -1432,7 +1432,7 @@ export class RdDActor extends Actor {
|
||||
getCaracByName(caracName) {
|
||||
switch (caracName)
|
||||
{
|
||||
case 'reveActuel':
|
||||
case 'reve-actuel':
|
||||
return {
|
||||
label: 'Rêve Actuel',
|
||||
value: this.getReveActuel(),
|
||||
|
Loading…
Reference in New Issue
Block a user