diff --git a/CHANGELOG.md b/CHANGELOG.md index e40836f..2f06c4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.2.0 - Roll n Keep - Added Roll n Keep 1st iteration - Fix image's behavior on create for all items sub classes +- Click on rings in the PC/PNC sheet now open the DicePicker with the selected ring ## 1.1.2 - One Compendium to bring them all - Added compendiums (Thanks to Stéfano Fara for the English version !) Partial for French as PoW and CR are not translated yet diff --git a/system/scripts/actors/base-sheet.js b/system/scripts/actors/base-sheet.js index f8296ab..73efd90 100644 --- a/system/scripts/actors/base-sheet.js +++ b/system/scripts/actors/base-sheet.js @@ -185,6 +185,7 @@ export class BaseSheetL5r5e extends ActorSheet { } new game.l5r5e.DicePickerDialog({ + ringId: li.data("ring") || null, skillId: skillId, skillCatId: li.data("skillcat") || null, isInitiativeRoll: li.data("initiative") || false, diff --git a/system/templates/actors/character/rings.html b/system/templates/actors/character/rings.html index 1e0c134..c35f917 100644 --- a/system/templates/actors/character/rings.html +++ b/system/templates/actors/character/rings.html @@ -1,35 +1,35 @@