diff --git a/system/lang/en-en.json b/system/lang/en-en.json index 8acc28b..2d4df38 100644 --- a/system/lang/en-en.json +++ b/system/lang/en-en.json @@ -105,10 +105,8 @@ "title": "L5R Roll & Keep", "discard_drop_here": "Discard", "reroll_drop_here": "Re-roll", - "reroll_chat": "Re-rolled dice", "swap_drop_here": "Swap", "keep_drop_here": "Keep", - "keep_chat": "New roll from an exploding die", "bt_validate": "Finalize this step" }, "max": "Max", diff --git a/system/lang/es-es.json b/system/lang/es-es.json index 6c668eb..a84d3c7 100644 --- a/system/lang/es-es.json +++ b/system/lang/es-es.json @@ -105,10 +105,8 @@ "title": "L5R Roll & Keep", "discard_drop_here": "Descartar", "reroll_drop_here": "Relanzar", - "reroll_chat": "Dados relanzados", "swap_drop_here": "Swap", "keep_drop_here": "Guardar", - "keep_chat": "Nueva tirada de un dado relanzable", "bt_validate": "Finalizar" }, "max": "Máx", diff --git a/system/lang/fr-fr.json b/system/lang/fr-fr.json index fd08835..ada9885 100644 --- a/system/lang/fr-fr.json +++ b/system/lang/fr-fr.json @@ -103,13 +103,11 @@ }, "roll_n_keep": { "title": "L5R Roll & Keep", - "discard_drop_here": "Discard", - "reroll_drop_here": "Re-roll", - "reroll_chat": "Re-rolled dice", - "swap_drop_here": "Swap", - "keep_drop_here": "Keep", - "keep_chat": "New roll from a exploding dice", - "bt_validate": "Finalize this step" + "discard_drop_here": "Abandonner", + "reroll_drop_here": "Relancer", + "swap_drop_here": "Modifier", + "keep_drop_here": "Garder", + "bt_validate": "Finaliser cette étape" }, "max": "Max", "current": "Actuel", diff --git a/system/scripts/dice/roll-n-keep-dialog.js b/system/scripts/dice/roll-n-keep-dialog.js index b7b86e7..af428f1 100644 --- a/system/scripts/dice/roll-n-keep-dialog.js +++ b/system/scripts/dice/roll-n-keep-dialog.js @@ -444,11 +444,6 @@ export class RollnKeepDialog extends FormApplication { }; const roll = await new game.l5r5e.RollL5r5e(this._arrayToFormula(newRolls)); - roll.l5r5e = { - ...this.message._roll.l5r5e, - summary: roll.l5r5e.summary, - }; - await roll.roll(); // Show DsN dice for the new roll diff --git a/system/system.json b/system/system.json index e499eb0..b229d29 100644 --- a/system/system.json +++ b/system/system.json @@ -2,7 +2,7 @@ "name": "l5r5e", "title": "Legend of the Five Rings (5th Edition)", "description": "This is an authorised multilingual game system En|Fr|Es, for Legend of the Five Rings (5th Edition) by Edge Studio

- Join the official Discord server: Official Discord

- Rejoignez la communauté Francophone: Francophone Discord

", - "version": "1.1.2", + "version": "1.2.0", "minimumCoreVersion": "0.7.9", "compatibleCoreVersion": "0.7.9", "manifestPlusVersion": "1.0.0", @@ -185,5 +185,5 @@ ], "url": "https://gitlab.com/teaml5r/l5r5e", "manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json", - "download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.1.2/raw/l5r5e.zip?job=build" + "download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.2.0/raw/l5r5e.zip?job=build" } diff --git a/system/templates/dice/roll-n-keep-dialog.html b/system/templates/dice/roll-n-keep-dialog.html index bd58e10..05a5f8b 100644 --- a/system/templates/dice/roll-n-keep-dialog.html +++ b/system/templates/dice/roll-n-keep-dialog.html @@ -83,17 +83,16 @@ {{#each item as |dice idxDie|}} - {{#if face}} + {{#if dice.face}}
- - {{#if newFace}} - {{idxStep}}_{{idxDie}} + {{#if dice.newFace}} + {{idxStep}}_{{idxDie}} {{else}} - {{idxStep}}_{{idxDie}} + {{idxStep}}_{{idxDie}} {{/if}}
{{/if}} @@ -143,12 +142,12 @@ {{#each item as |dice idxDie|}} - {{#if face}} -
- {{#if newFace}} - {{idxStep}}_{{idxDie}} + {{#if dice.face}} +
+ {{#if dice.newFace}} + {{idxStep}}_{{idxDie}} {{else}} - {{idxStep}}_{{idxDie}} + {{idxStep}}_{{idxDie}} {{/if}}
{{/if}}