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() );
|
this.actor.rollCarac( caracName.toLowerCase() );
|
||||||
});
|
});
|
||||||
|
|
||||||
html.find('#chance-actuel').click((event) => {
|
html.find('#chance-actuelle').click((event) => {
|
||||||
this.actor.rollCarac( 'chance-actuel' );
|
this.actor.rollCarac( 'chance-actuelle' );
|
||||||
});
|
});
|
||||||
|
|
||||||
html.find('#chance-appel').click((event) => {
|
html.find('#chance-appel').click((event) => {
|
||||||
@ -276,10 +276,12 @@ export class RdDActorSheet extends ActorSheet {
|
|||||||
let compName = event.currentTarget.text;
|
let compName = event.currentTarget.text;
|
||||||
this.actor.rollCompetence( compName);
|
this.actor.rollCompetence( compName);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Points de reve actuel
|
// Points de reve actuel
|
||||||
html.find('.ptreve-actuel a').click((event) => {
|
html.find('.ptreve-actuel a').click((event) => {
|
||||||
this.actor.rollCarac( 'reveActuel' );
|
this.actor.rollCarac( 'reve-actuel' );
|
||||||
});
|
});
|
||||||
|
|
||||||
// Roll Weapon1
|
// Roll Weapon1
|
||||||
html.find('.arme-label a').click((event) => {
|
html.find('.arme-label a').click((event) => {
|
||||||
let armeName = event.currentTarget.text;
|
let armeName = event.currentTarget.text;
|
||||||
|
@ -1432,7 +1432,7 @@ export class RdDActor extends Actor {
|
|||||||
getCaracByName(caracName) {
|
getCaracByName(caracName) {
|
||||||
switch (caracName)
|
switch (caracName)
|
||||||
{
|
{
|
||||||
case 'reveActuel':
|
case 'reve-actuel':
|
||||||
return {
|
return {
|
||||||
label: 'Rêve Actuel',
|
label: 'Rêve Actuel',
|
||||||
value: this.getReveActuel(),
|
value: this.getReveActuel(),
|
||||||
|
Loading…
Reference in New Issue
Block a user