forked from public/foundryvtt-reve-de-dragon
#150 : Gestion du cas Thanatos
This commit is contained in:
@ -80,6 +80,12 @@ export class RdDItemSheet extends ItemSheet {
|
||||
// Select competence categorie
|
||||
html.find("#categorie").on("click", this._onClickSelectCategorie.bind(this) );
|
||||
|
||||
html.find('#sheet-competence-xp').change((event) => {
|
||||
if ( this.object.data.type == 'competence') {
|
||||
RdDUtility.checkThanatosXP( this.object.data.name );
|
||||
}
|
||||
} );
|
||||
|
||||
html.find('#creer-tache-livre').click((event) => {
|
||||
let actorId = event.currentTarget.attributes['data-actor-id'].value;
|
||||
let actor = game.actors.get( actorId );
|
||||
|
Reference in New Issue
Block a user