Updated Init Roll template

Updated Init Roll template
This commit is contained in:
Aetis
2018-12-15 02:48:56 -05:00
parent c2ffbc5dbf
commit 417e64356b
3 changed files with 56 additions and 4 deletions
+44 -1
View File
@@ -202,7 +202,7 @@
background-color: #ffffff;
border: none;
}
.sheet-rolltemplate-CelerityAttack .inlinerollresult.fullcrit {
color: #3FB315;
border: none;
@@ -216,4 +216,47 @@
.sheet-rolltemplate-CelerityAttack .inlinerollresult.importandivoll {
color: #4A57ED;
border: none;
}
.sheet-rolltemplate-CelerityInitiative div {
padding: 2px;
};
.sheet-rolltemplate-CelerityInitiative span {
color: rgb(126, 45, 64);
font-family: "Times New Roman", Times, serif;
font-size: 1.2em;
font-variant: small-caps;
line-height: 1.6em;
padding-left: 5px;
text-align: left;
}
.sheet-rolltemplate-CelerityInitiative .sheet-container h1 {
color: rgb(126, 45, 64);
font-size: 1.2em;
font-variant: small-caps;
line-height: 20px;
}
.sheet-rolltemplate-CelerityInitiative .sheet-container {
background-color: #ffffff;
border: 1px solid;
padding: 2px;
width: 189px;
}
.sheet-rolltemplate-CelerityInitiative .sheet-arrow-right {
border-bottom: 2px solid transparent;
border-left: 180px solid rgb(45, 126, 64);
border-top: 2px solid transparent;
}
.sheet-rolltemplate-CelerityInitiative .sheet-tcat {
font-style: italic;
}
.sheet-rolltemplate-CelerityInitiative .inlinerollresult {
background-color: #ffffff;
border: none;
}
+10 -1
View File
@@ -305,7 +305,8 @@
<span class="whiteout">Initiative</span>
</div>
<div class="stat-column" style="width:4%">
<button type='roll' value='/roll 1d20 + @{initiative}' name='roll_initiative'></button>
<button type='roll' value='@{initmacro}' name='roll_initiative'></button>
<textarea title="initmacro" style="display:none" name="attr_initmacro">&{template:CelerityInitiative} {{name=@{selected|character_name} }} {{checkroll= [[ 1d20 + [[ @{selected|initiative} ]] + ( [[ (@{selected|initiative}) ]] /100) &{tracker} ]] }}</textarea>
</div>
<div class="stat-column" style="width:6%">
<input type="number" name="attr_initiative" value="(floor((@{dex}-10)/2)+@{mod_init})" disabled="true" />
@@ -2665,3 +2666,11 @@
{{/damage}}
</div>
</rolltemplate>
<rolltemplate class="sheet-rolltemplate-CelerityInitiative">
<div class="container">
<div><h1>{{name}}</h1></div>
<div class="arrow-container"><div class="arrow-right"></div></div>
<div><span class="tcat">Initiative: {{checkroll}}</span></div>
</div>
</rolltemplate>
+2 -2
View File
@@ -4,5 +4,5 @@
"authors": "Aetis",
"preview": "charsheet_celerity.jpg",
"roll20userid": "758098",
"instructions": "Celerity ruleset was written to address the balance and lore issues of D&D 3.5, 4e, and the 5th edition. The ruleset can be found in https://d20celerity.net. Roll Template for simple attack macro exists. Use &{template:CelerityAttack} {{name=}} {{subtags=attack description}} {{attack=}} {{damage=}}."
}
"instructions": "Celerity ruleset was written to address the balance and lore issues of D&D 3.5, 4e, and the 5th edition. The ruleset can be found in https://d20celerity.net. Roll Template for simple attack macro is &{template:CelerityAttack} {{name=}} {{subtags=attack description}} {{attack=}} {{damage=}}. Roll Template for initiative macro is &{template:CelerityInitiative} {{name=}} {{checkroll=}}."
}