Fix cuisine/recettecuisine
Utiliser le nom de la compétence ou le nom de l'objet
This commit is contained in:
parent
3fe8e834c8
commit
208dfef83f
@ -2320,7 +2320,7 @@ export class RdDActor extends Actor {
|
||||
{
|
||||
oeuvre: oeuvre,
|
||||
art: oeuvre.type,
|
||||
competence: duplicate(Misc.data(this.getCompetence(oeuvre.data.competence ?? artData.art))),
|
||||
competence: duplicate(Misc.data(this.getCompetence(artData.compName ?? oeuvre.data.competence ?? artData.art))),
|
||||
diffLibre: - (oeuvre.data.niveau ?? 0),
|
||||
diffConditions: 0,
|
||||
use: { libre: false, conditions: true },
|
||||
@ -2402,8 +2402,8 @@ export class RdDActor extends Actor {
|
||||
async rollRecetteCuisine(id) {
|
||||
const oeuvre = Misc.data(this.getRecetteCuisine(id));
|
||||
const artData = {
|
||||
art: 'cuisine',
|
||||
verbe: 'Cuisiner',
|
||||
compName: 'cuisine',
|
||||
proportions: 1,
|
||||
ajouterEquipement: false
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user