Fix creature competence
This commit is contained in:
@ -114,7 +114,7 @@ export class RdDActorCreatureSheet extends ActorSheet {
|
||||
// On competence change
|
||||
html.find('.creature-carac').change((event) => {
|
||||
let compName = event.currentTarget.attributes.compname.value;
|
||||
this.actor.updateCreatureCompetence( compName, "carac-value", parseInt(event.target.value) );
|
||||
this.actor.updateCreatureCompetence( compName, "carac_value", parseInt(event.target.value) );
|
||||
} );
|
||||
html.find('.creature-niveau').change((event) => {
|
||||
let compName = event.currentTarget.attributes.compname.value;
|
||||
|
Reference in New Issue
Block a user