From 3aded2f8504473a74e05065d8b39c4975f53e866 Mon Sep 17 00:00:00 2001 From: Vlyan Date: Mon, 31 May 2021 22:08:38 +0200 Subject: [PATCH] Fix for new version of DiceSoNice Fix for ninjUtsu tag --- CHANGELOG.md | 2 +- system/scripts/config.js | 3 ++- system/scripts/hooks.js | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 645c20b..e531d9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ __! Be certain to carefully back up any critical user data before installing thi - Fix : rnkMessage not passing on actor object for NPCs (thanks to Bragma). - Fix : The "Crescent Moon Style" technique rank from 4 to 2. - Fix : Drop an advancement on a PC/NPC sheet now correctly add the bonus to the Actor (ex Air +1). -- QoL : RnK button is now black in chat if no actions are left in roll. +- QoL : RnK button is now black in chat if no actions are left in roll (new messages only). - QoL : Added symbols legend in RnK dialog as reminder. - QoL : Added "(x Max)" display in RnK picker for max number of dice to keep (thanks to Bragma). - Others minor optimizations (ex: 20q saving multiple item at once). diff --git a/system/scripts/config.js b/system/scripts/config.js index 92f60f3..edc9d66 100644 --- a/system/scripts/config.js +++ b/system/scripts/config.js @@ -90,7 +90,8 @@ L5R5E.symbols.set("(void)", { class: "i_void", label: "l5r5e.rings.void" }); L5R5E.symbols.set("(kiho)", { class: "i_kiho", label: "l5r5e.techniques.kiho" }); L5R5E.symbols.set("(maho)", { class: "i_maho", label: "l5r5e.techniques.maho" }); -L5R5E.symbols.set("(ninjitsu)", { class: "i_ninjitsu", label: "l5r5e.techniques.ninjutsu" }); +L5R5E.symbols.set("(ninjutsu)", { class: "i_ninjitsu", label: "l5r5e.techniques.ninjutsu" }); +L5R5E.symbols.set("(ninjitsu)", { class: "i_ninjitsu", label: "l5r5e.techniques.ninjutsu" }); // for compatibility L5R5E.symbols.set("(ritual)", { class: "i_rituals", label: "l5r5e.techniques.ritual" }); L5R5E.symbols.set("(shuji)", { class: "i_shuji", label: "l5r5e.techniques.shuji" }); L5R5E.symbols.set("(inversion)", { class: "i_inversion", label: "l5r5e.techniques.inversion" }); diff --git a/system/scripts/hooks.js b/system/scripts/hooks.js index 5a55888..5f3a242 100644 --- a/system/scripts/hooks.js +++ b/system/scripts/hooks.js @@ -214,7 +214,7 @@ export default class HooksL5r5e { dice3d.addDicePreset( { name: "L5R Ring Dice", - type: "ddr", // don't known why the "dd" prefix is required, term is "r" + type: "dr", labels: Object.keys(game.l5r5e.RingDie.FACES).map( (e) => `${texturePath}${game.l5r5e.RingDie.FACES[e].image.replace("ring_", "")}.png` ), @@ -231,7 +231,7 @@ export default class HooksL5r5e { dice3d.addDicePreset( { name: "L5R Skill Dice", - type: "dds", + type: "ds", labels: Object.keys(game.l5r5e.AbilityDie.FACES).map( (e) => `${texturePath}${game.l5r5e.AbilityDie.FACES[e].image.replace("skill_", "")}.png` ),