#67 Ajout d'un bouton de création d'objet sur les fiches de personnage

This commit is contained in:
sladecraven 2020-12-15 23:08:13 +01:00
parent b4ed460030
commit 62f2a21c01
2 changed files with 3 additions and 1 deletions

View File

@ -1820,6 +1820,8 @@ export class RdDActor extends Actor {
forceValue : attackerRoll ? this.getForceValue() : 0, // Utilisé pour le jet de recul
diffLibre: (attackerRoll) ? attackerRoll.diffLibre : 0,
attackerRoll: attackerRoll,
editLibre: true,
editConditions: true,
finalLevel: 0,
coupsNonMortels: false,
malusArmureValue: 0,

View File

@ -48,7 +48,7 @@ export class RdDRoll extends Dialog {
encValueForNatation: actor.encombrementTotal ? Math.floor(actor.encombrementTotal) : 0,
ajustementAstrologique: actor.ajustementAstrologique()
}
mergeObject(rollData, defaultRollData, { overwrite: false, insertValues:false } );
mergeObject(rollData, defaultRollData, { overwrite: false } );
}
/* -------------------------------------------- */