rework ID

This commit is contained in:
sladecraven 2022-09-01 22:23:58 +02:00
parent 3311bc091a
commit 0df74febbd
3 changed files with 7 additions and 1 deletions

View File

@ -391,6 +391,7 @@
"BOL.chat.spellremaining": "Points de Pouvoir restants", "BOL.chat.spellremaining": "Points de Pouvoir restants",
"BOL.chat.nodamagesummary": "Aucun dégats n'a été subi ....", "BOL.chat.nodamagesummary": "Aucun dégats n'a été subi ....",
"BOL.chat.damageresume": "{name} a subi des blessures ...", "BOL.chat.damageresume": "{name} a subi des blessures ...",
"BOL.chat.fumblemessage": "Si vous acceptez les conséquences d'un echec catastrophique (au choix du MJ), vous pourrez bénéficier d'1 point d'Héroïsme supplémentaire",
"BOL.dialog.soeasy": "Inmanquable (+4)", "BOL.dialog.soeasy": "Inmanquable (+4)",
"BOL.dialog.veryeasy": "Trés Facile (+2)", "BOL.dialog.veryeasy": "Trés Facile (+2)",

View File

@ -489,7 +489,8 @@ export class BoLDefaultRoll {
this.rollData.isFumble = (diceTotal === 2) this.rollData.isFumble = (diceTotal === 2)
this.rollData.isFailure = !this.rollData.isSuccess this.rollData.isFailure = !this.rollData.isSuccess
this.rollData.isRealCritical = true //this.rollData.isRealCritical = true
//this.rollData.isFumble = true
let actor = game.actors.get( this.rollData.actorId) let actor = game.actors.get( this.rollData.actorId)
if (this.rollData.reroll == undefined) { if (this.rollData.reroll == undefined) {

View File

@ -24,6 +24,10 @@
<h3><strong>{{description}}</strong></h3> <h3><strong>{{description}}</strong></h3>
<div class="actions-section"> <div class="actions-section">
{{#if isFumble}}
{{localize "BOL.chat.fumblemessage"}}
{{/if}}
{{#if fightOption}} {{#if fightOption}}
<div> <div>
{{localize "BOL.chat.fightoption"}} : {{fightOption.name}} {{localize "BOL.chat.fightoption"}} : {{fightOption.name}}