Version 11.2.11 #692
| @@ -896,7 +896,7 @@ export class RdDActor extends RdDBaseActorSang { | |||||||
|  |  | ||||||
|   /* -------------------------------------------- */ |   /* -------------------------------------------- */ | ||||||
|   async ajouterRefoulement(value = 1, refouler) { |   async ajouterRefoulement(value = 1, refouler) { | ||||||
|     const refoulement = this.system.reve.refoulement.value + value; |     let refoulement = this.system.reve.refoulement.value + value; | ||||||
|     const roll = new Roll("1d20"); |     const roll = new Roll("1d20"); | ||||||
|     await roll.evaluate({ async: true }); |     await roll.evaluate({ async: true }); | ||||||
|     await roll.toMessage({ flavor: `${this.name} refoule ${refouler} pour ${value} points de refoulement (total: ${refoulement})` }); |     await roll.toMessage({ flavor: `${this.name} refoule ${refouler} pour ${value} points de refoulement (total: ${refoulement})` }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user