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,
|
oeuvre: oeuvre,
|
||||||
art: oeuvre.type,
|
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),
|
diffLibre: - (oeuvre.data.niveau ?? 0),
|
||||||
diffConditions: 0,
|
diffConditions: 0,
|
||||||
use: { libre: false, conditions: true },
|
use: { libre: false, conditions: true },
|
||||||
@ -2402,8 +2402,8 @@ export class RdDActor extends Actor {
|
|||||||
async rollRecetteCuisine(id) {
|
async rollRecetteCuisine(id) {
|
||||||
const oeuvre = Misc.data(this.getRecetteCuisine(id));
|
const oeuvre = Misc.data(this.getRecetteCuisine(id));
|
||||||
const artData = {
|
const artData = {
|
||||||
art: 'cuisine',
|
|
||||||
verbe: 'Cuisiner',
|
verbe: 'Cuisiner',
|
||||||
|
compName: 'cuisine',
|
||||||
proportions: 1,
|
proportions: 1,
|
||||||
ajouterEquipement: false
|
ajouterEquipement: false
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user