diff --git a/Heroquest_Glorantha/Heroquest_Glorantha.css b/Heroquest_Glorantha/Heroquest_Glorantha.css index fd2740b3db..f6609838c1 100644 --- a/Heroquest_Glorantha/Heroquest_Glorantha.css +++ b/Heroquest_Glorantha/Heroquest_Glorantha.css @@ -174,13 +174,15 @@ .sheet-rolltemplate-abilityRoll .inlinerollresult { - background-color: transparent; + background-color: transparent!important; color: #000000; border: none; font-size:xx-large; + border: transparent!important; } + .sheet-distingchar{ width: 118px; display:inline-block; @@ -231,4 +233,4 @@ .repcontrol .repcontrol_add:hover::before { background-color: #EFEFEF; -} +} \ No newline at end of file diff --git a/Heroquest_Glorantha/Heroquest_Glorantha.html b/Heroquest_Glorantha/Heroquest_Glorantha.html index 8fec8f7c70..f30140a3cf 100644 --- a/Heroquest_Glorantha/Heroquest_Glorantha.html +++ b/Heroquest_Glorantha/Heroquest_Glorantha.html @@ -90,7 +90,7 @@ - + @@ -189,7 +189,7 @@ - +
@@ -284,7 +284,7 @@
- +
@@ -751,6 +751,28 @@ }); + on("change:distingchar_score change:dstingchar_masteries1", function() { + getAttrs(["distingchar_score","dstingchar_masteries1"], function(values) { + + + + var1 = parseInt(values.distingchar_score); + var2 = parseInt(values.dstingchar_masteries1); + val= (var1*20)+var2; + + console.log("calculatye total score"); + console.log(""+var1); + console.log(""+var2); + console.log(""+val); + + setAttrs({totaldistingscore1:val}); + + + + }); + }); + + on("change:rune_selected1", function() { getAttrs(["rune_selected1"], function(values) { @@ -814,7 +836,7 @@
-
+
{{#rollWasFumble() roll}}
Fumble
{{/rollWasFumble() roll}} @@ -843,4 +865,3 @@
- diff --git a/Heroquest_Glorantha/sheet.json b/Heroquest_Glorantha/sheet.json index d0165444f3..db2a3cb6ab 100644 --- a/Heroquest_Glorantha/sheet.json +++ b/Heroquest_Glorantha/sheet.json @@ -5,5 +5,5 @@ "roll20userid": "720651", "preview": "Heroquest_Glorantha.png", "instructions": "Character Sheet Chaosium's Heroquest Glorantha
If you wish to use the runes you will need to install the Glorantha Rune font from here https://wellofdaliath.chaosium.com/home/gloranthan-documents/glorantha-2/glorantha-core-rune-font/. The browser will also have to set to Allow unsfafe scripts for the page.To remove the fonts click the settings cog and deselect the checkbox", - "legacy": true -} + "legacy": false +} \ No newline at end of file