RnK with some bugs

This commit is contained in:
Vlyan
2021-02-01 16:27:57 +01:00
parent 30f71e31cd
commit 68577737fc
14 changed files with 513 additions and 204 deletions

View File

@@ -29,6 +29,13 @@ export const RegisterHandlebars = function () {
return game.i18n.localize("l5r5e.techniques." + techniqueName.toLowerCase());
});
/* ------------------------------------ */
/* Dice */
/* ------------------------------------ */
Handlebars.registerHelper("getDiceFaceUrl", function (diceClass, faceId) {
return game.l5r5e[diceClass].getResultSrc(faceId);
});
/* ------------------------------------ */
/* Utility */
/* ------------------------------------ */