Supprimer code de templates

This commit is contained in:
Vincent Vandemeulebrouck 2020-12-18 01:11:51 +01:00
parent 30d1ddef78
commit 18545d5e88

View File

@ -1319,10 +1319,6 @@ export class RdDActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
async rollCompetence( name ) { async rollCompetence( name ) {
if (name == 'queue') {
await this.ajouterQueue({chat: true});
return;
}
let rollData = { let rollData = {
competence: duplicate(this.getCompetence(name)), competence: duplicate(this.getCompetence(name)),
needSignificative : !this.isEntiteCauchemar() && this.data.data.sante.sonne.value needSignificative : !this.isEntiteCauchemar() && this.data.data.sante.sonne.value