Fix for new version of DiceSoNice

Fix for ninjUtsu tag
This commit is contained in:
Vlyan
2021-05-31 22:08:38 +02:00
parent 3c21fd3ff1
commit 3aded2f850
3 changed files with 5 additions and 4 deletions

View File

@@ -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 : rnkMessage not passing on actor object for NPCs (thanks to Bragma).
- Fix : The "Crescent Moon Style" technique rank from 4 to 2. - 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). - 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 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). - 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). - Others minor optimizations (ex: 20q saving multiple item at once).

View File

@@ -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("(kiho)", { class: "i_kiho", label: "l5r5e.techniques.kiho" });
L5R5E.symbols.set("(maho)", { class: "i_maho", label: "l5r5e.techniques.maho" }); 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("(ritual)", { class: "i_rituals", label: "l5r5e.techniques.ritual" });
L5R5E.symbols.set("(shuji)", { class: "i_shuji", label: "l5r5e.techniques.shuji" }); L5R5E.symbols.set("(shuji)", { class: "i_shuji", label: "l5r5e.techniques.shuji" });
L5R5E.symbols.set("(inversion)", { class: "i_inversion", label: "l5r5e.techniques.inversion" }); L5R5E.symbols.set("(inversion)", { class: "i_inversion", label: "l5r5e.techniques.inversion" });

View File

@@ -214,7 +214,7 @@ export default class HooksL5r5e {
dice3d.addDicePreset( dice3d.addDicePreset(
{ {
name: "L5R Ring Dice", 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( labels: Object.keys(game.l5r5e.RingDie.FACES).map(
(e) => `${texturePath}${game.l5r5e.RingDie.FACES[e].image.replace("ring_", "")}.png` (e) => `${texturePath}${game.l5r5e.RingDie.FACES[e].image.replace("ring_", "")}.png`
), ),
@@ -231,7 +231,7 @@ export default class HooksL5r5e {
dice3d.addDicePreset( dice3d.addDicePreset(
{ {
name: "L5R Skill Dice", name: "L5R Skill Dice",
type: "dds", type: "ds",
labels: Object.keys(game.l5r5e.AbilityDie.FACES).map( labels: Object.keys(game.l5r5e.AbilityDie.FACES).map(
(e) => `${texturePath}${game.l5r5e.AbilityDie.FACES[e].image.replace("skill_", "")}.png` (e) => `${texturePath}${game.l5r5e.AbilityDie.FACES[e].image.replace("skill_", "")}.png`
), ),