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