Editer la protection naturelle
This commit is contained in:
@ -435,6 +435,10 @@ export class RdDActorSheet extends ActorSheet {
|
||||
this.actor.setPointsDeSeuil(event.currentTarget.value);
|
||||
} );
|
||||
|
||||
html.find('#attribut-protection-edit').change((event) => {
|
||||
this.actor.updateProtectionValue( event.currentTarget.attributes.name.value, parseInt(event.target.value) );
|
||||
} );
|
||||
|
||||
// On stress change
|
||||
html.find('.compteur-edit').change((event) => {
|
||||
let fieldName = event.currentTarget.attributes.name.value;
|
||||
|
Reference in New Issue
Block a user