Boutons soins&blessures

This commit is contained in:
2023-03-15 00:46:08 +01:00
parent afc23dfa7b
commit 83e2d56fd4
4 changed files with 20 additions and 14 deletions

View File

@ -40,7 +40,7 @@ export class RdDItemBlessure extends RdDItem {
}
return mergeObject(duplicate(BASE_TACHE_SOIN_BLESSURE), tache)
}
static async createBlessure(actor, gravite, localisation) {
static async createBlessure(actor, gravite, localisation = '') {
const definition = RdDItemBlessure.getDefinition(gravite)
const blessure = {
name: definition.labelGravite,