Gestion des signes draconiques #455

Closed
vincent.vandeme wants to merge 233 commits from v1.4-signes-draconiques into master
Showing only changes of commit 208dfef83f - Show all commits

View File

@ -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
};