We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0fba9ea + 4b042f3 commit 57048ddCopy full SHA for 57048dd
Household/Household.html
@@ -1007,5 +1007,23 @@ <h3 data-i18n="notes-u">Notes</h3>
1007
setAttrs({lastroll: ""});
1008
});
1009
1010
+ /*
1011
+ *
1012
+ */
1013
+ on("change:num_dice", function(e) {
1014
+
1015
+ let attrs;
1016
+ if(+e.newValue < 2) {
1017
+ attrs = {num_dice: 2};
1018
+ }
1019
+ if(+e.newValue > 9) {
1020
+ attrs = {num_dice: 9};
1021
1022
1023
+ if(attrs) {
1024
+ setAttrs(attrs);
1025
1026
+ });
1027
1028
</script>
1029
</div>
0 commit comments