Add files via upload

This commit is contained in:
Lockbox313
2023-01-23 11:24:33 +00:00
committed by GitHub
parent afe2b14c39
commit baec2d61b3
3 changed files with 32 additions and 9 deletions
+4 -2
View File
@@ -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;
}
}
+26 -5
View File
@@ -90,7 +90,7 @@
<option value="none"></option>
</select>
</div>
<input type="text" data-i18n-placeholder="Rune-Name" placeholder="Rune Name" class="rune_name text_input" name="attr_rune1" />
<input type="text" data-i18n-placeholder="Rune-Name" placeholder="Rune Name" class="sheet-rune_name sheet-text_input" name="attr_rune1" />
<input class="sheet-twodigits" type="number" name="attr_rune_score1" value="0"/>
@@ -189,7 +189,7 @@
</select>
</div>
<input type="text" data-i18n-placeholder="Rune-Name" placeholder="Rune Name" class="rune_name text_input" name="attr_rune2" />
<input type="text" data-i18n-placeholder="Rune-Name" placeholder="Rune Name" class="sheet-rune_name sheet-text_input" name="attr_rune2" />
<input class="sheet-twodigits" type="number" name="attr_rune_score2" value="0"/>
<div style="display:inline-block">
@@ -284,7 +284,7 @@
<option value="none"></option>
</select>
</div>
<input type="text" data-i18n-placeholder="Rune-Name" placeholder="Rune Name" class="rune_name text_input" name="attr_rune3" />
<input type="text" data-i18n-placeholder="Rune-Name" placeholder="Rune Name" class="sheet-rune_name sheet-text_input" name="attr_rune3" />
<input class="sheet-twodigits" type="number" name="attr_rune_score3" value="0"/>
<div style="display:inline-block">
@@ -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 @@
<div style="display:inline-block"><img src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="25" height="25" /></div>
</div>
<div style="margin-top:14px;margin-bottom:14px; ">
<div style="margin-top:14px;margin-bottom:14px;color:black">
{{#rollWasFumble() roll}}
<div style="color:red;font-size:xx-large" data-i18n="Fumble" >Fumble</div>
{{/rollWasFumble() roll}}
@@ -843,4 +865,3 @@
<div>
</rolltemplate>
+2 -2
View File
@@ -5,5 +5,5 @@
"roll20userid": "720651",
"preview": "Heroquest_Glorantha.png",
"instructions": "Character Sheet Chaosium's Heroquest Glorantha<br />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
}