mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-03 05:32:32 +00:00
Shadowrun 5th Edition v4.32 (#7189)
* fix broken skills and condition monitor * fix line endings
This commit is contained in:
@@ -625,7 +625,9 @@ div.sheet-cyberdeck div.sheet-row-long {
|
||||
left: 2px;
|
||||
margin-right: -43px;
|
||||
position: relative;
|
||||
top: 6px; }
|
||||
top: 6px;
|
||||
z-index: 2;
|
||||
opacity: 0; }
|
||||
.sheet-squares span {
|
||||
background-color: #9a9a9a;
|
||||
border-radius: 0px;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
input(name='attr_version' type='hidden' value='4.31')
|
||||
input(name='attr_version' type='hidden' value='4.32')
|
||||
|
||||
//- CHARACTER SHEET PAGE
|
||||
input.sheet_type(name='attr_sheet_type' type='hidden' value='pc')
|
||||
|
||||
@@ -5,10 +5,10 @@ mixin rollButton(header, base, rollFormula)
|
||||
//- SKILL BUTTON
|
||||
mixin skillButton(specialization, skillType)
|
||||
- const rollName = specialization ? 'specialization' : 'skill';
|
||||
- const specBonus = specialization ? '+ 2 [Specialization Bonus]' : '';
|
||||
- const specBonus = specialization ? 2 : 0;
|
||||
- const specDescription = specialization ? 'Spec: @{specialization}, ' : '';
|
||||
- const display = specialization ? 'attr_specialization' : skillType != 'active' ? 'attr_skill' : 'attr_display_skill';
|
||||
button.eclipse(name=`roll_${rollName}` type='roll' value!=rollBeginging+`{{header=@{skill}}}{{base=@{display_attribute}}}{{dice=[[((@{dicepool} [Skill] + @{attribute} [Attribute] ${specBonus} + @{hot_sim} [Hot Sim] - @{running_silent} [Running Silent])${rollEnding}{{desc=${specDescription}@{display_limit} @{limit}}}`)
|
||||
button.eclipse(name=`roll_${rollName}` type='roll' value!=rollBeginging+`{{header=@{skill}}}{{base=@{display_attribute}}}{{dice=[[((@{dicepool}+@{attribute}+${specBonus})+(@{hot_sim}-@{running_silent})${rollEnding}{{desc=${specDescription}@{display_limit} @{limit}}}`)
|
||||
span(name=display)
|
||||
|
||||
//- ROLLS
|
||||
|
||||
@@ -62,6 +62,6 @@
|
||||
|
||||
//- DIE ROLL VARIABLES
|
||||
- const rollBeginging = '@{gm_toggle} &{template:rolls}{{mod=[[@{modifiers_toggle}]]}}{{wound=[[@{wounds_toggle}]]}}{{edge=[[@{edge_toggle}]]}}';
|
||||
- const rollEnding = ' + @{wounds_toggle} [Wounds] + @{modifiers_toggle} [Modifiers] + @{edge_toggle} [Edge])d6>5@{explode_toggle}]]}}';
|
||||
- const rollEnding = ' +@{wounds_toggle}+@{modifiers_toggle}+@{edge_toggle})d6>5@{explode_toggle}]]}}';
|
||||
- const noWoundsRollBegining = '@{gm_toggle} &{template:rolls}{{mod=[[@{modifiers_toggle}]]}}{{edge=[[@{edge_toggle}]]}}';
|
||||
- const noWoundsRollEnding = '+@{modifiers_toggle}+@{edge_toggle})d6>5@{explode_toggle}]]}}';
|
||||
|
||||
@@ -85,6 +85,8 @@
|
||||
margin-right: -43px;
|
||||
position : relative;
|
||||
top : 6px;
|
||||
z-index: 2;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
span {
|
||||
|
||||
Reference in New Issue
Block a user