Add files via upload
This commit is contained in:
@@ -0,0 +1,235 @@
|
||||
|
||||
|
||||
.sheet-section_header{
|
||||
display:inline;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.sheet-text_input{
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
border-bottom: 1px solid black;
|
||||
border-radius: 0;
|
||||
width:200px;
|
||||
|
||||
}
|
||||
|
||||
.sheet-long_input{
|
||||
width:500px;
|
||||
}
|
||||
|
||||
.sheet-section_div{
|
||||
border: 1px solid black;
|
||||
padding: 3px
|
||||
}
|
||||
|
||||
|
||||
.sheet-twodigits{
|
||||
width:3.0em!important;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
border-bottom: 1px solid black;
|
||||
border-radius: 0;
|
||||
text-align:center;
|
||||
|
||||
}
|
||||
.sheet-section_divider{
|
||||
border-bottom: 1px solid black;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.sheet-rune_name{
|
||||
width: 190px;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.sheet-rune_selector{
|
||||
width: 61px;
|
||||
height: 37px;
|
||||
padding: 0px;
|
||||
font-size: xx-large;
|
||||
font-family: "glorantha core runes regular";
|
||||
margin-bottom:0px;
|
||||
}
|
||||
|
||||
.sheet-rune_values{
|
||||
width:2.5em;
|
||||
}
|
||||
|
||||
/*START Configuration Window*/
|
||||
.sheet-HideConfig:checked ~ *.sheet-config {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.charsheet span.sheet-is-config::after { /*Close Config: grayish background with black text*/
|
||||
content: "^";
|
||||
}
|
||||
|
||||
.charsheet .sheet-HideConfig:checked + span.sheet-is-config::after { /*Show Configuration: Black background with grayish text*/
|
||||
content: "v";
|
||||
}
|
||||
|
||||
.charsheet span.sheet-is-config {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
width: 5%;
|
||||
height: 16px;
|
||||
font-size: 9px;
|
||||
/*font-family: "Pictos";*/
|
||||
/*background: #65763c;*/
|
||||
background: black; /*#93537c;*/
|
||||
color: white; /*white;*/
|
||||
font-weight: bold;
|
||||
border-radius: 4px;
|
||||
margin-left: -5%;
|
||||
}
|
||||
|
||||
.charsheet input.sheet-HideConfig {
|
||||
width: 5%;
|
||||
height: 16px;
|
||||
cursor: pointer;
|
||||
margin-left: auto;
|
||||
margin-top: auto;
|
||||
/*position: absolute;
|
||||
right: 20%;*/
|
||||
opacity: 0;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.charsheet .sheet-HideConfig:checked + span.sheet-is-config {
|
||||
background: black;
|
||||
border-radius: 4px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.charsheet label.sheet-configitem {
|
||||
margin-left: 10px;
|
||||
width: 65px;
|
||||
font-size: .9em;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
/*End Configuration Window*/
|
||||
|
||||
|
||||
.charsheet div.sheet-rune_show{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sheet-breakout_name{
|
||||
|
||||
text-align:right;
|
||||
background:transparent;
|
||||
width:242px;
|
||||
font-size: smaller;
|
||||
|
||||
}
|
||||
|
||||
.sheet-keytext_input{
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
border-bottom: 1px solid black;
|
||||
border-radius: 0;
|
||||
width:250px;
|
||||
|
||||
}
|
||||
|
||||
.sheet-keybreakout_name{
|
||||
|
||||
text-align:right;
|
||||
background:transparent;
|
||||
width:312px;
|
||||
font-size: smaller;
|
||||
|
||||
}
|
||||
|
||||
.sheet-breakout_value{
|
||||
background:transparent;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.sheet-benefitis_name{
|
||||
width:352px;
|
||||
}
|
||||
|
||||
.charsheet input.sheet-toggle-runes:checked ~ div.sheet-rune_show {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.charsheet input.sheet-toggle-runes:checked ~ .sheet-breakout_name
|
||||
{
|
||||
margin-left:20px;
|
||||
}
|
||||
|
||||
|
||||
.sheet-rolltemplate-abilityRoll .inlinerollresult {
|
||||
background-color: transparent;
|
||||
color: #000000;
|
||||
border: none;
|
||||
font-size:xx-large;
|
||||
}
|
||||
|
||||
.repcontrol{
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
div.repcontrol button
|
||||
{
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
color: transparent;
|
||||
text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
|
||||
}
|
||||
|
||||
div.repcontrol button.repcontrol_add::before,
|
||||
div.repcontrol button.repcontrol_edit::before
|
||||
{
|
||||
font-family: Pictos;
|
||||
position: relative;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* +Add */
|
||||
div.repcontrol button.repcontrol_add::before
|
||||
{
|
||||
|
||||
content: "&"; /* & in Pictos is a + sign, while + is a plus inside a circle */
|
||||
left: -5px;
|
||||
top: -4px;
|
||||
}
|
||||
|
||||
/* Modify */
|
||||
div.repcontrol button.repcontrol_edit::before
|
||||
{
|
||||
text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
|
||||
content: "x"; /* x in Pictos is a crossed hammer and wrench */
|
||||
left: -5px;
|
||||
top: -4px;
|
||||
}
|
||||
/* Done */
|
||||
div.repcontrol.editmode button.repcontrol_edit::before
|
||||
{
|
||||
content: "3"; /* 3 in Pictos is a check mark */
|
||||
|
||||
}
|
||||
|
||||
div.repcontainer[data-groupname=repeating_breakout1] .repitem:nth-child(even) {
|
||||
background-color: #e0e0e0;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
|
||||
div.repcontainer[data-groupname=repeating_breakout1] .repitem:nth-child(odd) {
|
||||
background-color: white;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
|
||||
.sheet-distingchar{
|
||||
width: 118px;
|
||||
display:inline-block;
|
||||
margin-bottom:0px;
|
||||
}
|
||||
@@ -0,0 +1,845 @@
|
||||
<div>
|
||||
<div class='sheet-cdiv'>
|
||||
<input class="sheet-HideConfig" type="checkbox" checked="checked" name="attr_is_config"><span class="sheet-is-config"><span style="font-family: "pictos"">y</span></span>
|
||||
<div class="sheet-config" style='border-style: dotted; border-color: gray; padding: 5px; background-color: white; background-image: none;'>
|
||||
<input type="checkbox" class="sheet-toggle-runes" name="attr_toggle-runes" />Gloranthan runes installed<br />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<div class="sheet-section_div">
|
||||
<p class="sheet-section_header">Hero</p>
|
||||
<input class="sheet-text_input" type="text" name="attr_character_name" />
|
||||
<input class="sheet-text_input sheet-long_input" type="text" name="attr_character_concept" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class="sheet-section_div" style="border: 1px solid black">
|
||||
<div class="sheet-section_header">Unspent Additional Abilities:<input class="sheet-text_input sheet-twodigits type="text" name="attr_abilities"/> Ability Points: <input class="sheet-text_input sheet-twodigits type="text" name="attr_ability_points"/> Magic Points: <input class="sheet-text_input sheet-twodigits" type="text" name="attr_magic_points"/><span style="float:right">Hero Points: <input class="sheet-text_input sheet-twodigits" type="text" name="attr_hero_points"/><span></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="sheet-2colrow">
|
||||
<div style="margin-right:0px;" class="sheet-col sheet-section_div">
|
||||
<div>
|
||||
<div class="sheet-section_divider">
|
||||
<p class="sheet-section_header">Campaign</p>
|
||||
<input class="sheet-text_input" type="text" name="attr_campaign" />
|
||||
</div>
|
||||
</div>
|
||||
<div style="min-height:466px">
|
||||
<p class="sheet-section_header">Runes</p>
|
||||
<BR />
|
||||
<div> <!-- Rune 1 start -->
|
||||
<input type="checkbox" class="sheet-toggle-runes" name="attr_toggle-runes" style="display:none" />
|
||||
<div style="margin-bottom:0px" class="sheet-rune_show">
|
||||
<select class="sheet-rune_selector" name="attr_rune_selected1">
|
||||
<option value="Dying Moon Phase">1</option>
|
||||
<option value="Crescent Go Moon Phase">2</option>
|
||||
<option value="Full Half Moon Phase">3</option>
|
||||
<option value="Full Moon Moon Phase">4</option>
|
||||
<option value="Empty Half Moon Phase">5</option>
|
||||
<option value="Crescent Come Moon Phase">6</option>
|
||||
<option value="Black Moon Phase">7</option>
|
||||
<option value="Water">w</option>
|
||||
<option value="Earth">e</option>
|
||||
<option value="Death">t</option>
|
||||
<option value="Truth">y</option>
|
||||
<option value="Unlife">u</option>
|
||||
<option value="illusion">i</option>
|
||||
<option value="Darkness">o</option>
|
||||
<option value="Plant">p</option>
|
||||
<option value="Law">a</option>
|
||||
<option value="Movement">s</option>
|
||||
<option value="Dragon">d</option>
|
||||
<option value="Lightbringers">f</option>
|
||||
<option value="Air">g</option>
|
||||
<option value="Trade">h</option>
|
||||
<option value="Disorder">j</option>
|
||||
<option value="Shargash">k</option>
|
||||
<option value="Harmony">l</option>
|
||||
<option value="Life">x</option>
|
||||
<option value="Stasis">c</option>
|
||||
<option value="Spirit">b</option>
|
||||
<option value="Horse">n</option>
|
||||
<option value="Man">,</option>
|
||||
<option value="Fire/Sky">.</option>
|
||||
<option value="Moon">/</option>
|
||||
<option value="Mastery">W</option>
|
||||
<option value="Heler">E</option>
|
||||
<option value="Magic">R</option>
|
||||
<option value="Yinkin">Y</option>
|
||||
<option value="God / Divine World">I</option>
|
||||
<option value="Light">O</option>
|
||||
<option value="Pamalt">P</option>
|
||||
<option value="Dragonewt">A</option>
|
||||
<option value="Infinity">S</option>
|
||||
<option value="Barntar">F</option>
|
||||
<option value="Sartar">G</option>
|
||||
<option value="Hell">H</option>
|
||||
<option value="Luck">K</option>
|
||||
<option value="Fire/Sky (alternative)">L</option>
|
||||
<option value="Fate">X</option>
|
||||
<option value="Bear">C</option>
|
||||
<option value="Eternal Battle">V</option>
|
||||
<option value="Beast">B</option>
|
||||
<option value="Chaos">?</option>
|
||||
<option value="none"></option>
|
||||
</select>
|
||||
</div>
|
||||
<input class="sheet-text_input" placeholder="Rune Name" type="text" class="sheet-rune_name" name="attr_rune1" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_rune_score1" value="0"/>
|
||||
|
||||
<input style="display:none" value=" Rune" name="attr_dumyxxx" />
|
||||
<div style="display:inline-block">
|
||||
|
||||
|
||||
<!-- <input type="checkbox" name="attr_rune_mastery_chk1" style="display:block;margin-left:50%" /> -->
|
||||
<div>
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_rune_masteries1" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{rune1} @{dumyxxx}}} {{Breakout=}} {{target=[[{[[(@{totalscore1}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totalscore1}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} " ></button>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" class="sheet-toggle-runes" name="attr_toggle-runes" style="display:none" />
|
||||
<div class="sheet-rune_show" style="margin-right:65px;">
|
||||
</div>
|
||||
<input type="text" placeholder="Cult rank or notes" style="background-color: #e0e0e0;margin-top: 1px;width: 327px;font-size: smaller;" class="sheet-text_input" name="attr_cult_rank" />
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<input type="checkbox" class="sheet-toggle-runes" name="attr_toggle-runes" style="display:none" />
|
||||
<div class="sheet-rune_show" style="margin-right:81px;">
|
||||
|
||||
</div>
|
||||
<div style="display:inline-block;">
|
||||
<fieldset class="repeating_breakout1" style="display:inline">
|
||||
<input placeholder="Breakout abiltiy or items" class="sheet-text_input sheet-breakout_name" type="text" name="attr_breakout_namex" />
|
||||
<input class="sheet-text_input sheet-breakout_value" style="width:3.0em" type="number" name="attr_breakout_value" value="1" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{rune1} @{dumyxxx}}} {{Breakout=@{breakout_namex}}} {{target=[[{[[(@{totalscore1}+?{mods|0}+@{breakout_value})%20]],0}}]]}} {{Masteries=[[floor((@{totalscore1}+?{mods|0}+@{breakout_value})/20)]] }} {{roll=[[1d20cs1cf20]]}} "></button>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<input style="display:none" type="number" name="attr_totalscore1" value="0" />
|
||||
</div><!-- Rune 1 end -->
|
||||
<br />
|
||||
<div> <!-- Rune 2 start -->
|
||||
<input type="checkbox" class="sheet-toggle-runes" name="attr_toggle-runes" style="display:none" />
|
||||
<div style="margin-bottom:0px" class="sheet-rune_show">
|
||||
<select class="sheet-rune_selector" name="attr_rune_selected2">
|
||||
<option value="Dying Moon Phase">1</option>
|
||||
<option value="Crescent Go Moon Phase">2</option>
|
||||
<option value="Full Half Moon Phase">3</option>
|
||||
<option value="Full Moon Moon Phase">4</option>
|
||||
<option value="Empty Half Moon Phase">5</option>
|
||||
<option value="Crescent Come Moon Phase">6</option>
|
||||
<option value="Black Moon Phase">7</option>
|
||||
<option value="Water">w</option>
|
||||
<option value="Earth">e</option>
|
||||
<option value="Death">t</option>
|
||||
<option value="Truth">y</option>
|
||||
<option value="Unlife">u</option>
|
||||
<option value="illusion">i</option>
|
||||
<option value="Darkness">o</option>
|
||||
<option value="Plant">p</option>
|
||||
<option value="Law">a</option>
|
||||
<option value="Movement">s</option>
|
||||
<option value="Dragon">d</option>
|
||||
<option value="Lightbringers">f</option>
|
||||
<option value="Air">g</option>
|
||||
<option value="Trade">h</option>
|
||||
<option value="Disorder">j</option>
|
||||
<option value="Shargash">k</option>
|
||||
<option value="Harmony">l</option>
|
||||
<option value="Life">x</option>
|
||||
<option value="Stasis">c</option>
|
||||
<option value="Spirit">b</option>
|
||||
<option value="Horse">n</option>
|
||||
<option value="Man">,</option>
|
||||
<option value="Fire/Sky">.</option>
|
||||
<option value="Moon">/</option>
|
||||
<option value="Mastery">W</option>
|
||||
<option value="Heler">E</option>
|
||||
<option value="Magic">R</option>
|
||||
<option value="Yinkin">Y</option>
|
||||
<option value="God / Divine World">I</option>
|
||||
<option value="Light">O</option>
|
||||
<option value="Pamalt">P</option>
|
||||
<option value="Dragonewt">A</option>
|
||||
<option value="Infinity">S</option>
|
||||
<option value="Barntar">F</option>
|
||||
<option value="Sartar">G</option>
|
||||
<option value="Hell">H</option>
|
||||
<option value="Luck">K</option>
|
||||
<option value="Fire/Sky (alternative)">L</option>
|
||||
<option value="Fate">X</option>
|
||||
<option value="Bear">C</option>
|
||||
<option value="Eternal Battle">V</option>
|
||||
<option value="Beast">B</option>
|
||||
<option value="Chaos">?</option>
|
||||
<option value="none"></option>
|
||||
</select>
|
||||
</div>
|
||||
<input class="sheet-text_input" placeholder="Rune Name" type="text" class="sheet-rune_name" name="attr_rune2" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_rune_score2" value="0"/>
|
||||
<div style="display:inline-block">
|
||||
|
||||
|
||||
<!-- <input type="checkbox" name="attr_rune_mastery_chk1" style="display:block;margin-left:50%" /> -->
|
||||
<div>
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_rune_masteries2" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{rune2} @{dumyxxx}}} {{Breakout=}}{{target=[[{[[(@{totalscore2}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totalscore2}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} " ></button>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" class="sheet-toggle-runes" name="attr_toggle-runes" style="display:none" />
|
||||
<div class="sheet-rune_show" style="margin-right:65px;">
|
||||
</div>
|
||||
<input type="text" placeholder="Cult rank or notes" style="background-color: #e0e0e0;margin-top: 1px;width: 327px;font-size: smaller;" class="sheet-text_input" name="attr_cult_rank2" />
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<input type="checkbox" class="sheet-toggle-runes" name="attr_toggle-runes" style="display:none" />
|
||||
<div class="sheet-rune_show" style="margin-right:81px;">
|
||||
|
||||
</div>
|
||||
<div style="display:inline-block;">
|
||||
<fieldset class="repeating_breakout2" style="display:inline">
|
||||
<input placeholder="Breakout abiltiy or items" class="sheet-text_input sheet-breakout_name" type="text" name="attr_breakout_namex" />
|
||||
<input class="sheet-text_input sheet-breakout_value" style="width:3.0em" type="number" name="attr_breakout_value" value="1" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{rune2} @{dumyxxx}}} {{Breakout=@{breakout_namex}}} {{target=[[{[[(@{totalscore2}+?{mods|0}+@{breakout_value})%20]],0}}]]}} {{Masteries=[[floor((@{totalscore2}+?{mods|0}+@{breakout_value})/20)]] }} {{roll=[[1d20cs1cf20]]}} "></button>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<input style="display:none" type="number" name="attr_totalscore2" value="0" />
|
||||
</div><!-- Rune 2 end -->
|
||||
<br />
|
||||
<div> <!-- Rune 3 start -->
|
||||
<input type="checkbox" class="sheet-toggle-runes" name="attr_toggle-runes" style="display:none" />
|
||||
<div style="margin-bottom:0px" class="sheet-rune_show">
|
||||
<select class="sheet-rune_selector" name="attr_rune_selected3">
|
||||
<option value="Dying Moon Phase">1</option>
|
||||
<option value="Crescent Go Moon Phase">2</option>
|
||||
<option value="Full Half Moon Phase">3</option>
|
||||
<option value="Full Moon Moon Phase">4</option>
|
||||
<option value="Empty Half Moon Phase">5</option>
|
||||
<option value="Crescent Come Moon Phase">6</option>
|
||||
<option value="Black Moon Phase">7</option>
|
||||
<option value="Water">w</option>
|
||||
<option value="Earth">e</option>
|
||||
<option value="Death">t</option>
|
||||
<option value="Truth">y</option>
|
||||
<option value="Unlife">u</option>
|
||||
<option value="illusion">i</option>
|
||||
<option value="Darkness">o</option>
|
||||
<option value="Plant">p</option>
|
||||
<option value="Law">a</option>
|
||||
<option value="Movement">s</option>
|
||||
<option value="Dragon">d</option>
|
||||
<option value="Lightbringers">f</option>
|
||||
<option value="Air">g</option>
|
||||
<option value="Trade">h</option>
|
||||
<option value="Disorder">j</option>
|
||||
<option value="Shargash">k</option>
|
||||
<option value="Harmony">l</option>
|
||||
<option value="Life">x</option>
|
||||
<option value="Stasis">c</option>
|
||||
<option value="Spirit">b</option>
|
||||
<option value="Horse">n</option>
|
||||
<option value="Man">,</option>
|
||||
<option value="Fire/Sky">.</option>
|
||||
<option value="Moon">/</option>
|
||||
<option value="Mastery">W</option>
|
||||
<option value="Heler">E</option>
|
||||
<option value="Magic">R</option>
|
||||
<option value="Yinkin">Y</option>
|
||||
<option value="God / Divine World">I</option>
|
||||
<option value="Light">O</option>
|
||||
<option value="Pamalt">P</option>
|
||||
<option value="Dragonewt">A</option>
|
||||
<option value="Infinity">S</option>
|
||||
<option value="Barntar">F</option>
|
||||
<option value="Sartar">G</option>
|
||||
<option value="Hell">H</option>
|
||||
<option value="Luck">K</option>
|
||||
<option value="Fire/Sky (alternative)">L</option>
|
||||
<option value="Fate">X</option>
|
||||
<option value="Bear">C</option>
|
||||
<option value="Eternal Battle">V</option>
|
||||
<option value="Beast">B</option>
|
||||
<option value="Chaos">?</option>
|
||||
<option value="none"></option>
|
||||
</select>
|
||||
</div>
|
||||
<input class="sheet-text_input" placeholder="Rune Name" type="text" class="sheet-rune_name" name="attr_rune3" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_rune_score3" value="0"/>
|
||||
<div style="display:inline-block">
|
||||
|
||||
|
||||
<!-- <input type="checkbox" name="attr_rune_mastery_chk1" style="display:block;margin-left:50%" /> -->
|
||||
<div>
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_rune_masteries3" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{rune3} @{dumyxxx}}}{{target=[[{[[(@{totalscore3}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totalscore3}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} " ></button>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" class="sheet-toggle-runes" name="attr_toggle-runes" style="display:none" />
|
||||
<div class="sheet-rune_show" style="margin-right:65px;">
|
||||
</div>
|
||||
<input type="text" placeholder="Cult rank or notes" style="background-color: #e0e0e0;margin-top: 1px;width: 327px;font-size: smaller;" class="sheet-text_input" name="attr_cult_rank3" />
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<input type="checkbox" class="sheet-toggle-runes" name="attr_toggle-runes" style="display:none" />
|
||||
<div class="sheet-rune_show" style="margin-right:81px;">
|
||||
|
||||
</div>
|
||||
<div style="display:inline-block;">
|
||||
<fieldset class="repeating_breakout3" style="display:inline">
|
||||
<input placeholder="Breakout abiltiy or items" class="sheet-text_input sheet-breakout_name" type="text" name="attr_breakout_namex" />
|
||||
<input class="sheet-text_input sheet-breakout_value" style="width:3.0em" type="number" name="attr_breakout_value" value="1" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{rune3} @{dumyxxx}}} {{Breakout=@{breakout_namex}}} {{target=[[{[[(@{totalscore3}+?{mods|0}+@{breakout_value})%20]],0}}]]}} {{Masteries=[[floor((@{totalscore3}+?{mods|0}+@{breakout_value})/20)]] }} {{roll=[[1d20cs1cf20]]}} "></button>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<input style="display:none" type="number" name="attr_totalscore3" value="0" />
|
||||
</div><!-- Rune 3 end -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding-right:23px" class='sheet-col sheet-section_div'>
|
||||
<div style="min-height:420px">
|
||||
<p class="sheet-section_header">Benefits & Consequences:</p>
|
||||
<br />
|
||||
<fieldset class="repeating_BenieConsq" style="display:inline">
|
||||
<input placeholder="Benefits or Consequence" class="sheet-text_input sheet-benefitis_name" type="text" name="attr_breakout_name " />
|
||||
<input class="sheet-text_input sheet-breakout_value" style="width:3.0em" type="number" name="attr_breakout_value" value="1" />
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
<br />
|
||||
<div>
|
||||
<div>
|
||||
<p class="sheet-section_header sheet-distingchar">Distinguishing<br>Characteristic:</p>
|
||||
<input type="text" style="width:142px;" placeholder="" class="sheet-text_input" name="attr_disting_char" />
|
||||
<input class="sheet-twodigits " style="width:3.75em" type="number" name="attr_distingchar_score" value="1" />
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_dstingchar_masteries1" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{disting_char} }}{{target=[[{[[(@{totaldistingscore1}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totaldistingscore1}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} "></button>
|
||||
<input style="display:none" type="number" name="attr_totaldistingscore1" value="0" />
|
||||
|
||||
</div>
|
||||
|
||||
<p style="display:inline-block;margin-bottom:0px;" class="sheet-section_header">Standard of Living:</p>
|
||||
<input type="text" value="" style="padding-top:0px;padding-bottom:0px" class="sheet-text_input" name="attr_livingstndrd" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div >
|
||||
|
||||
<div class="sheet-section_div">
|
||||
|
||||
<div class="sheet-2colrow">
|
||||
<div style="margin-right:0px;" class="sheet-col sheet-section_div">
|
||||
|
||||
<p style="display:inline-block;margin-bottom:0px;" class="sheet-section_header">Keywords</p>
|
||||
<br />
|
||||
<br />
|
||||
<div style="padding:3px;border:1px solid black;border-radius: 10px">
|
||||
<input class="sheet-keytext_input" placeholder="Keyword 1" type="text" class="sheet-keyword_name" name="attr_keyword1" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_keyword_score1" value="0"/>
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_keyword_masteries1" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{keyword1} }}{{target=[[{[[(@{totalkeyscore1}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totalkeyscore1}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} " ></button>
|
||||
|
||||
<fieldset class="repeating_keybreakout1" style="display:inline">
|
||||
<input placeholder="Breakout abiltiy or items" class="sheet-text_input sheet-keybreakout_name" type="text" name="attr_breakout_name" />
|
||||
<input class="sheet-text_input sheet-breakout_value" style="width:3.0em" type="number" name="attr_breakout_value" value="1" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{keyword1} }}{{Breakout=@{breakout_name}}} {{target=[[{[[((@{totalkeyscore1}+@{breakout_value})+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor(((@{totalkeyscore1}+@{breakout_value})+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} "></button>
|
||||
|
||||
</fieldset>
|
||||
<input style="display: none" type="number" name="attr_totalkeyscore1" value="0" />
|
||||
|
||||
</div>
|
||||
<br />
|
||||
<div style="padding:3px;border:1px solid black;border-radius: 10px"><!-- Keyword 2 -->
|
||||
<input class="sheet-keytext_input" placeholder="Keyword 2" type="text" class="sheet-keyword_name" name="attr_keyword2" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_keyword_score2" value="0"/>
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_keyword_masteries2" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=Ability Roll}} {{name=@{character_name}}} {{Keyword=@{keyword2} }} {{target=[[{[[(@{totalkeyscore2}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totalkeyscore2}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} " ></button>
|
||||
|
||||
<fieldset class="repeating_keybreakout2" style="display:inline;background-color: #e0e0e0">
|
||||
<input placeholder="Breakout abiltiy or items" class="sheet-text_input sheet-keybreakout_name" type="text" name="attr_breakout_name" />
|
||||
<input class="sheet-text_input sheet-breakout_value" style="width:3.0em" type="number" name="attr_breakout_value" value="1" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{keyword2}}} {{Breakout=@{breakout_name}}} {{target=[[{[[((@{totalkeyscore2}+@{breakout_value})+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor(((@{totalkeyscore2}+@{breakout_value})+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} "></button>
|
||||
|
||||
</fieldset>
|
||||
<input style="display:none" type="number" name="attr_totalkeyscore2" value="0" />
|
||||
|
||||
</div><!-- End Keyword 2 -->
|
||||
<br />
|
||||
<div style="padding:3px;border:1px solid black;border-radius: 10px"><!-- Keyword 3 -->
|
||||
<input class="sheet-keytext_input" placeholder="Keyword 3" type="text" class="sheet-keyword_name" name="attr_keyword3" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_keyword_score3" value="0"/>
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_keyword_masteries3" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll}{{name=@{character_name}}} {{Keyword=@{keyword3}}} {{target=[[{[[(@{totalkeyscore3}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totalkeyscore3}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} " ></button>
|
||||
|
||||
<fieldset class="repeating_keybreakout3" style="display:inline">
|
||||
<input placeholder="Breakout abiltiy or items" class="sheet-text_input sheet-keybreakout_name" type="text" name="attr_breakout_name" />
|
||||
<input class="sheet-text_input sheet-breakout_value" style="width:3.0em" type="number" name="attr_breakout_value" value="1" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{keyword3}}} {{Breakout=@{breakout_name}}} {{target=[[{[[((@{totalkeyscore3}+@{breakout_value})+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor(((@{totalkeyscore3}+@{breakout_value})+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} "></button>
|
||||
|
||||
</fieldset>
|
||||
<input style="display:none" type="number" name="attr_totalkeyscore3" value="0" />
|
||||
|
||||
</div><!-- End Keyword 3 -->
|
||||
<br />
|
||||
<div style="padding:3px;border:1px solid black;border-radius: 10px"><!-- Keyword 4 -->
|
||||
<input class="sheet-keytext_input" placeholder="Keyword 4" type="text" class="sheet-keyword_name" name="attr_keyword4" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_keyword_score4" value="0"/>
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_keyword_masteries4" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{keyword4}}} {{target=[[{[[(@{totalkeyscore4}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totalkeyscore4}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} " ></button>
|
||||
|
||||
<fieldset class="repeating_keybreakout4" style="display:inline">
|
||||
<input placeholder="Breakout abiltiy or items" class="sheet-text_input sheet-keybreakout_name" type="text" name="attr_breakout_name" />
|
||||
<input class="sheet-text_input sheet-breakout_value" style="width:3.0em" type="number" name="attr_breakout_value" value="1" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{keyword4}}} {{Breakout=@{breakout_name}}} {{target=[[{[[((@{totalkeyscore4}+@{breakout_value})+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor(((@{totalkeyscore4}+@{breakout_value})+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} "></button>
|
||||
|
||||
</fieldset>
|
||||
<input style="display:none" type="number" name="attr_totalkeyscore4" value="0" />
|
||||
|
||||
</div><!-- End Keyword 4 -->
|
||||
<br />
|
||||
<div style="padding:3px;border:1px solid black;border-radius: 10px"><!-- Keyword 5 -->
|
||||
<input class="sheet-keytext_input" placeholder="Keyword 5" type="text" class="sheet-keyword_name" name="attr_keyword5" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_keyword_score5" value="0"/>
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_keyword_masteries5" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{keyword5}}} {{target=[[{[[(@{totalkeyscore5}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totalkeyscore5}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} " ></button>
|
||||
|
||||
<fieldset class="repeating_keybreakout5" style="display:inline">
|
||||
<input placeholder="Breakout abiltiy or items" class="sheet-text_input sheet-keybreakout_name" type="text" name="attr_breakout_name" />
|
||||
<input class="sheet-text_input sheet-breakout_value" style="width:3.0em" type="number" name="attr_breakout_value" value="1" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{keyword5}}} {{Breakout=@{breakout_name}}} {{target=[[{[[((@{totalkeyscore5}+@{breakout_value})+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor(((@{totalkeyscore5}+@{breakout_value})+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} "></button>
|
||||
|
||||
</fieldset>
|
||||
<input style="display:none" type="number" name="attr_totalkeyscore5" value="0" />
|
||||
|
||||
</div><!-- End Keyword 5 -->
|
||||
<br />
|
||||
|
||||
|
||||
</div> <!-- Keywordscol -->
|
||||
<div style="padding-right:23px;margin-right:0px" class="sheet-col sheet-section_div">
|
||||
<p style="display:inline-block;margin-bottom:0px;" class="sheet-section_header">Abilities</p>
|
||||
<br />
|
||||
<br />
|
||||
<div style="padding:3px;border:1px solid black;border-radius: 10px;min-height:327px;">
|
||||
<fieldset class="repeating_otherabilities" style="display:inline">
|
||||
<input placeholder="Abiltiy or item" class="sheet-keytext_input" type="text" name="attr_otherability_name" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_otherability_score1" value="0"/>
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_otherability_masteries1" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{otherability_name}}} {{target=[[{[[(@{totalotherscore1}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totalotherscore1}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} " ></button>
|
||||
<input style="display:none" type="number" name="attr_totalotherscore1" value="0" />
|
||||
</fieldset>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<p style="display:inline-block;margin-bottom:0px;" class="sheet-section_header">Flaws</p>
|
||||
<div style="padding:3px;border:1px solid black;border-radius: 10px">
|
||||
<fieldset class="repeating_flaws" style="display:inline">
|
||||
<input placeholder="flaw" class="sheet-keytext_input" type="text" name="attr_flaw_name" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_flaw_score1" value="0"/>
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_flaw_masteries1" value="0" />
|
||||
<button type="roll" value="&{template:abilityRoll} {{name=@{character_name}}} {{Keyword=@{flaw_name}}} {{target=[[{[[(@{totalflawscore1}+?{mods|0})%20]],0}}]]}} {{Masteries=[[floor((@{totalflawscore1}+?{mods|0})/20)]] }} {{roll=[[1d20cs1cf20]]}} " ></button>
|
||||
<input style="display:none" type="number" name="attr_totalflawscore1" value="0" />
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
</div>
|
||||
<br />
|
||||
<div style="padding:3px;border:1px solid black;border-radius: 10px">
|
||||
<p style="display:inline-block;margin-bottom:0px;" class="sheet-section_header">Notes</p>
|
||||
<br />
|
||||
<textarea name="attr_notes" style="max-width:99%;min-height:200px;">
|
||||
</textarea>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!--
|
||||
<input type="text" style="width:142px;" placeholder="" class="sheet-text_input" name="attr_disting_char" />
|
||||
<input class="sheet-twodigits " style="width:3.75em" type="number" name="attr_distingchar_score" value="1" />
|
||||
<img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="10" height="10" />
|
||||
<input class="sheet-twodigits" type="number" name="attr_dstingchar_masteries1" value="0" />
|
||||
<button type="roll"></button>
|
||||
<input type="number" name="attr_totaldistingscore1" value="0" />
|
||||
|
||||
-->
|
||||
<script type="text/worker">
|
||||
|
||||
|
||||
on("change:dstingchar_masteries1 change:distingchar_score", function() {
|
||||
getAttrs(["dstingchar_masteries1","distingchar_score"], function(values) {
|
||||
|
||||
|
||||
|
||||
var1 = parseInt(values.dstingchar_masteries1);
|
||||
var2 = parseInt(values.distingchar_score);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculate distinguishing char total score");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
|
||||
setAttrs({totalotherscore1:val});
|
||||
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
on("change:repeating_otherabilities:otherability_masteries1 change:repeating_otherabilities:otherability_score1", function() {
|
||||
getAttrs(["repeating_otherabilities_otherability_masteries1","repeating_otherabilities_otherability_score1"], function(values) {
|
||||
|
||||
|
||||
|
||||
var1 = parseInt(values.repeating_otherabilities_otherability_masteries1 );
|
||||
var2 = parseInt(values.repeating_otherabilities_otherability_score1);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculate total other ability score");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
|
||||
setAttrs({repeating_otherabilities_totalotherscore1:val});
|
||||
|
||||
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
on("change:repeating_flaws:flaw_masteries1 change:repeating_flaws:flaw_score1", function() {
|
||||
getAttrs(["repeating_flaws_flaw_masteries1","repeating_flaws_flaw_score1"], function(values) {
|
||||
|
||||
|
||||
|
||||
var1 = parseInt(values.repeating_flaws_flaw_masteries1 );
|
||||
var2 = parseInt(values.repeating_flaws_flaw_score1);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculate total other flaw score");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
|
||||
setAttrs({repeating_flaws_totalflawscore1:val});
|
||||
|
||||
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
// on("change:repeating_keybreakout1:breakout_value", function() {
|
||||
// getAttrs(["totalkeyscore1","repeating_keybreakout1_breakout_value"], function(values) {
|
||||
//
|
||||
// var1 = parseInt(values.totalkeyscore1);
|
||||
// var2 = parseInt(values.repeating_keybreakout1_breakout_value);
|
||||
// val= (var1*20)+var2;
|
||||
//
|
||||
// console.log("calculate total keyword1 breakout ability score");
|
||||
// console.log(""+var1);
|
||||
// console.log(""+var2);
|
||||
// console.log(""+val);
|
||||
|
||||
// setAttrs({repeating_keybreakout1_totalbreakoutscore1:val});
|
||||
// });
|
||||
//});
|
||||
|
||||
|
||||
|
||||
on("change:keyword_masteries1 change:keyword_score1", function() {
|
||||
getAttrs(["keyword_masteries1","keyword_score1"], function(values) {
|
||||
|
||||
|
||||
|
||||
var1 = parseInt(values.keyword_masteries1);
|
||||
var2 = parseInt(values.keyword_score1);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculatye total score");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
|
||||
setAttrs({totalkeyscore1:val});
|
||||
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
on("change:keyword_masteries2 change:keyword_score2", function() {
|
||||
getAttrs(["keyword_masteries2","keyword_score2"], function(values) {
|
||||
|
||||
var1 = parseInt(values.keyword_masteries2);
|
||||
var2 = parseInt(values.keyword_score2);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculatye total score 2");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
setAttrs({totalkeyscore2:val});
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
on("change:keyword_masteries3 change:keyword_score3", function() {
|
||||
getAttrs(["keyword_masteries3","keyword_score3"], function(values) {
|
||||
|
||||
var1 = parseInt(values.keyword_masteries3);
|
||||
var2 = parseInt(values.keyword_score3);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculatye total score 3");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
setAttrs({totalkeyscore3:val});
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
on("change:keyword_masteries4 change:keyword_score4", function() {
|
||||
getAttrs(["keyword_masteries4","keyword_score4"], function(values) {
|
||||
|
||||
var1 = parseInt(values.keyword_masteries4);
|
||||
var2 = parseInt(values.keyword_score4);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculatye total score 4");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
setAttrs({totalkeyscore4:val});
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
on("change:keyword_masteries5 change:keyword_score5", function() {
|
||||
getAttrs(["keyword_masteries5","keyword_score5"], function(values) {
|
||||
|
||||
var1 = parseInt(values.keyword_masteries5);
|
||||
var2 = parseInt(values.keyword_score5);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculatye total score 5");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
setAttrs({totalkeyscore5:val});
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
on("change:rune_masteries1 change:rune_score1", function() {
|
||||
getAttrs(["rune_masteries1","rune_score1"], function(values) {
|
||||
|
||||
|
||||
|
||||
var1 = parseInt(values.rune_masteries1);
|
||||
var2 = parseInt(values.rune_score1);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculatye total score");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
|
||||
setAttrs({totalscore1:val});
|
||||
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
on("change:rune_masteries2 change:rune_score2", function() {
|
||||
getAttrs(["rune_masteries2","rune_score2"], function(values) {
|
||||
|
||||
|
||||
|
||||
var1 = parseInt(values.rune_masteries2);
|
||||
var2 = parseInt(values.rune_score2);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculatye total score 2");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
|
||||
setAttrs({totalscore2:val});
|
||||
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
on("change:rune_masteries3 change:rune_score3", function() {
|
||||
getAttrs(["rune_masteries3","rune_score3"], function(values) {
|
||||
|
||||
|
||||
|
||||
var1 = parseInt(values.rune_masteries3);
|
||||
var2 = parseInt(values.rune_score3);
|
||||
val= (var1*20)+var2;
|
||||
|
||||
console.log("calculate total score 3");
|
||||
console.log(""+var1);
|
||||
console.log(""+var2);
|
||||
console.log(""+val);
|
||||
|
||||
setAttrs({totalscore3:val});
|
||||
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
on("change:rune_selected1", function() {
|
||||
getAttrs(["rune_selected1"], function(values) {
|
||||
|
||||
var1 = values.rune_selected1;
|
||||
|
||||
console.log(var1);
|
||||
if (var1=="none"){
|
||||
var1=""
|
||||
}
|
||||
setAttrs({rune1:var1});
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
on("change:rune_selected2", function() {
|
||||
getAttrs(["rune_selected2"], function(values) {
|
||||
|
||||
var1 = values.rune_selected2;
|
||||
|
||||
console.log(var1);
|
||||
if (var1=="none"){
|
||||
var1=""
|
||||
}
|
||||
setAttrs({rune2:var1});
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
on("change:rune_selected3", function() {
|
||||
getAttrs(["rune_selected3"], function(values) {
|
||||
|
||||
var1 = values.rune_selected3;
|
||||
|
||||
console.log(var1);
|
||||
if (var1=="none"){
|
||||
var1=""
|
||||
}
|
||||
setAttrs({rune3:var1});
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<rolltemplate class="sheet-rolltemplate-abilityRoll">
|
||||
<div style="text-align:center;">
|
||||
<div style="font-family:Palatino;font-size:x-large; padding: 3px;background-color:orange">
|
||||
<div style="color: #097054;padding:3px;" >{{name}}</div>
|
||||
<div style="color: #097054;padding:3px;">{{Keyword}}</div>
|
||||
<div style="font-size:small;color: #097054;padding:3px;" >{{Breakout}}</div>
|
||||
<div style="color: #097054;padding:3px;">Roll</div>
|
||||
</div>
|
||||
<div style="padding:3px;background-color:#F3F2F2">
|
||||
|
||||
<div >
|
||||
<div style="display:inline-block">{{target}}</div>
|
||||
<div style="display:inline-block"><img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/target.png" width="25" height="25" /></div>
|
||||
<div style="display:inline-block">{{roll}}</div>
|
||||
<div style="display:inline-block"><img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/d20_2.png" width="25" height="25" /></div>
|
||||
<div style="margin-left:15px;display:inline-block"> {{Masteries}} </div>
|
||||
<div style="display:inline-block"><img src="https://raw.githubusercontent.com/Lockbox313/roll20-character-sheets/master/Heroquest_Glorantha/mastery.png" width="25" height="25" /></div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top:14px;margin-bottom:14px; ">
|
||||
{{#rollWasFumble() roll}}
|
||||
<div style="color:red;font-size:xx-large">Fumble</div>
|
||||
{{/rollWasFumble() roll}}
|
||||
|
||||
|
||||
{{#^rollWasFumble() roll}}
|
||||
{{#rollBetween() roll 2 target}}
|
||||
<div style="font-size:xx-large">Success</div>
|
||||
{{/rollBetween() roll 2 target}}
|
||||
{{ #rollGreater() roll target}}
|
||||
<div style="font-size:xx-large">Failure</div>
|
||||
{{/rollGreater() roll target}}
|
||||
{{/^rollWasFumble() roll}}
|
||||
|
||||
|
||||
{{#rollWasCrit() roll}}
|
||||
<div style="color:green;font-size:xx-large">Critical</div>
|
||||
{{/rollWasCrit() roll}}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div>
|
||||
</rolltemplate>
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
@@ -0,0 +1,4 @@
|
||||
# Chaosiums Heroquest Character Sheet
|
||||
|
||||
A sheet for Chaosiums Heroquest (Nothing to do with the boardgame) RPG. If you wish to use the runes you willneed to install the Glorantha Rune font from here http://www.glorantha.com/docs/glorantha-core-rune-font/. To remove the fonts click the setting cog and deselect the checkbox
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"html": "Heroquest_Glorantha.html",
|
||||
"css": "Heroquest_Glorantha.css",
|
||||
"authors": "Walt Shumate",
|
||||
"roll20userid": "720651",
|
||||
"preview": "Heroquest_Glorantha.png",
|
||||
"instructions": "Character Sheet Chaosiums Heroquest Glorantha<br />If you wish to use the runes you willneed to install the Glorantha Rune font from here http://www.glorantha.com/docs/glorantha-core-rune-font/. To removethe fonts click the setting coff and deselect the checkbox"
|
||||
}
|
||||
Reference in New Issue
Block a user