Dice templates

This commit is contained in:
Dandaedre 2018-06-28 02:00:00 +02:00
parent a9877cb771
commit b0c8c5e010
3 changed files with 799 additions and 785 deletions

View File

@ -85,3 +85,8 @@ on("change:item_shield3_activation change:general_item_shield3", function() {
});
name roll_name dice_name result threshold
/e - Test d.+(\w*).*\[\[(.*)-.*\]\]
&{template:d10skillcheck}{{name=@{character_name}} {{roll_name=$1}} {{dice_name=@{dice}}} {{result=$2}} {{threshold=[[]]}}
/e .* @{(\w*)}.*\[(.*) -.*\)?\]\]
&{template:d10skillcheck}{{name=@{character_name}}} {{roll_name=@{$1}}} {{dice_name=@{dice}}} {{result=[[$2-d@{dice}cs1cf@{dice}]]}} {{threshold=[[$2]]}}

File diff suppressed because it is too large Load Diff

View File

@ -153,7 +153,7 @@ select.sheet-dice_select{
}
.sheet-rolltemplate-d10skillcheck .sheet-roll-fumble {
padding-left: 5px;
margin-bottom: 5px;
margin-bottom: 8px;
background-color:#d6adad;
}
@ -165,15 +165,22 @@ select.sheet-dice_select{
padding-top: 0px;
margin-top: -10px;
}
.sheet-rolltemplate-d10skillcheck .sheet-inline,
.sheet-rolltemplate-d10skillcheck .inlinerollresult {
background-color: transparent;
border: none;
font-weight: bold;
padding:0px;
font-family: "Times New Roman", Times, serif;
}
.sheet-rolltemplate-d10skillcheck .sheet-inline.fullcrit,
.sheet-rolltemplate-d10skillcheck .inlinerollresult.fullcrit {
color: #3FB315;
border: none;
}
.sheet-rolltemplate-d10skillcheck .sheet-inline.fullfail,
.sheet-rolltemplate-d10skillcheck .inlinerollresult.fullfail {
color: #B31515;
border: none;