diff --git a/ShadowbaneInquisition/Shadowbane.css b/ShadowbaneInquisition/Shadowbane.css index 73a920e3ed..910a2acaf3 100644 --- a/ShadowbaneInquisition/Shadowbane.css +++ b/ShadowbaneInquisition/Shadowbane.css @@ -382,20 +382,22 @@ _____________ start of grid structure for unnatural characteristics, size dropdo .sheet-movementgs3 { grid-area: amm3; } .sheet-movementgs4 { grid-area: amm4; } .sheet-movementgs5 { grid-area: amm5; } +.sheet-movementgs0 { grid-area: amm0; } .sheet-movementgs6 { grid-area: amm6; 3px; font-size: 14px; font-family: inherit; } .sheet-movementgs7 { grid-area: amm7; 5px; font-size: 14px; font-family: inherit; } .sheet-movementgs8 { grid-area: amm8; 5px; font-size: 14px; font-family: inherit; } .sheet-movementgs9 { grid-area: amm9; font-size: 14px; font-family: inherit; } +.sheet-movementgs10 { grid-area: amm10; font-size: 14px; font-family: inherit; } .sheet-characteristics2_movement { justify-content: center; text-align: center; display: grid; justify-items: center; - grid-template-columns: 50px 50px 50px 50px; + grid-template-columns: 50px 50px 50px 50px 50px; grid-template-areas: - 'amm1 amm1 amm1 amm1' - 'amm2 amm3 amm4 amm5' - 'amm6 amm7 amm8 amm9'; + 'amm1 amm1 amm1 amm1 amm1' + 'amm2 amm3 amm4 amm5 amm0' + 'amm6 amm7 amm8 amm9 amm10'; } .sheet-carrygs1 { grid-area: ac1; font-size: 15px; font-family: inherit; letter-spacing: 0px; } @@ -762,7 +764,7 @@ ______________________________ start of equipment tab __________________________ .sheet-equipment_ranged_weapons_gs37 { grid-area: rw37; /*color: white;*/ font-size: 12px; padding: 0px 2px; } .sheet-equipment_ranged_weapons_gs38 { grid-area: rw38; /*color: white;*/ font-size: 12px; padding: 0px 2px; } -.sheet-equipment_ranged_weapons_grid0 { /* gs1-4, Name, Class */ +.sheet-equipment_ranged_weapons_grid0 { /* gs01-05, roll modifiers, hit, DMG */ align-items: center; display: grid; grid-template-columns: auto auto auto auto auto auto; @@ -786,12 +788,11 @@ ______________________________ start of equipment tab __________________________ 'rw5 rw6 rw7 rw8 rw8 rw9 rw10 rw11 rw12 rw12'; } -.sheet-equipment_ranged_weapons_grid3 { /* gs13-24 RoF, Magazine, Hit/Dmg buttons */ +.sheet-equipment_ranged_weapons_grid3 { /* gs13-22 RoF, Magazine */ align-items: center; display: grid; - grid-template-columns: auto 8% 4% 8% 4% 8% auto 8% 4% 8% 61px 61px; /* 12 columns, nonstandard */ - grid-template-areas: - 'rw13 rw14 rw15 rw16 rw17 rw18 rw19 rw20 rw21 rw22 rw23 rw24'; + grid-template-columns: auto 10% 4% 10% 4% 10% 6% auto 13% 4% 13%; + grid-template-areas: 'rw13 rw14 rw15 rw16 rw17 rw18 . rw19 rw20 rw21 rw22'; } @@ -837,8 +838,8 @@ ______________________________ start of equipment tab __________________________ .sheet-equipment_melee_weapons_gs16 { grid-area: mw16; /*color: white;*/ font-size: 12px; } .sheet-equipment_melee_weapons_gs17 { grid-area: mw17; /*color: white;*/ font-size: 12px; padding: 0px 2px; } .sheet-equipment_melee_weapons_gs18 { grid-area: mw18; /*color: white;*/ font-size: 12px; } -.sheet-equipment_melee_weapons_gs19 { grid-area: mw19; /*color: white;*/ font-size: 12px; width: 50px!important; } -.sheet-equipment_melee_weapons_gs20 { grid-area: mw20; /*color: white;*/ font-size: 12px; width: 50px!important; } +.sheet-equipment_melee_weapons_gs19 { grid-area: mw19; /*color: white;*/ font-size: 12px; } +.sheet-equipment_melee_weapons_gs20 { grid-area: mw20; /*color: white;*/ font-size: 12px; } .sheet-equipment_melee_weapons_grid0 { /* gs01-05 aim, type, multi, hit, dmg */ align-items: center; @@ -848,7 +849,7 @@ ______________________________ start of equipment tab __________________________ 'mw01 mw02 mw03 . mw04 mw05'; } -.sheet-equipment_melee_weapons_grid1 { /* gs1-4 name, domain */ +.sheet-equipment_melee_weapons_grid1 { /* gs1-4 name, class */ align-items: center; display: grid; grid-template-columns: auto auto auto auto auto auto auto auto auto auto; @@ -864,10 +865,10 @@ ______________________________ start of equipment tab __________________________ 'mw5 mw6 mw7 mw8 mw8 mw9 mw10 mw11 mw12 mw12'; } -.sheet-equipment_melee_weapons_grid3 { /* gs13-20 trained?, hitmod, weight, buttons */ +.sheet-equipment_melee_weapons_grid3 { /* gs13-20 trained?, hitmod, weight, domain */ align-items: center; display: grid; - grid-template-columns: auto 20px auto auto auto auto auto auto 61px 61px; + grid-template-columns: auto 20px auto auto auto auto auto auto 50px 80px; grid-template-areas: 'mw13 mw14 mw15 mw16 mw16 mw17 mw18 mw18 mw19 mw20'; } @@ -925,6 +926,7 @@ width: 60px; display: inline-block; } +.sheet-armor_display_gs0 { grid-area: ad0; } .sheet-armor_display_gs1 { grid-area: ad1; } .sheet-armor_display_gs2 { grid-area: ad2; } .sheet-armor_display_gs3 { grid-area: ad3; } @@ -937,7 +939,7 @@ display: inline-block; column-gap: 10px; row-gap: 15px; grid-template-areas: - '. ad1 .' + '. ad1 ad0' 'ad2 ad3 ad4'; } @@ -1371,6 +1373,12 @@ ______________________________ start of rolltemplate ___________________________ background-color: transparent; } +.sheet-rolltemplate-mythic .sheet-roll-adjust { + padding: 0 3px 0 3px; + font-weight: bold; + font-size: 1.1em; +} + .sheet-rolltemplate-mythic .inlinerollresult { display: inline-block; min-width: 1.5em; diff --git a/ShadowbaneInquisition/Shadowbane.html b/ShadowbaneInquisition/Shadowbane.html index d0679e01f1..76b4e20e5c 100644 --- a/ShadowbaneInquisition/Shadowbane.html +++ b/ShadowbaneInquisition/Shadowbane.html @@ -35,15 +35,15 @@ - - + +
Player Name
Appearance
Quirks
-
Allies
-
Enemies
+
Divination
+
Superstition

@@ -58,12 +58,12 @@ - + - + @@ -157,15 +157,14 @@ - +

Half

Full

Charge

Run

+

Mod

Weight Capacity

@@ -255,7 +256,7 @@ Initiative|

+

@@ -338,8 +339,8 @@
- - + +
@@ -633,19 +634,6 @@
-
-

Operate: Surface

- - - - - - - -

Operate: Aeronautica

+
+

Operate: Surface

+ + + + + + + +

Operate: Voidship

- - + +
- - + +
@@ -1060,15 +1061,15 @@

Expand ⯆

- - + +
- - + +
@@ -1084,36 +1085,44 @@

Ranged Weapons

+
- - - - +
Name
Class
- +
Range
@@ -1123,7 +1132,13 @@
Pen
Type
- +
RoF
@@ -1141,7 +1156,7 @@
Trained?
Hit Mod
- +
Reload
Weight
@@ -1149,9 +1164,33 @@
Domain
- +
Mishap Chance
- @@ -1164,8 +1203,8 @@
- - + +
@@ -1179,29 +1218,36 @@
- - - - +
Name
-
Domain
- +
Class
+
Reach
@@ -1211,20 +1257,52 @@
Pen
Type
- +
Trained?
Hit Mod
- +
Weight
+
Domain
+
- - + +
@@ -1257,7 +1335,7 @@ - +
@@ -1269,7 +1347,7 @@ - +
@@ -1288,6 +1366,14 @@
+
+
+

Max AGI

+ +

Armor Cap +

+
+

Arm R

@@ -1348,8 +1434,8 @@
- - + +
@@ -1360,8 +1446,8 @@
- - + +
@@ -1419,7 +1505,7 @@ - +
@@ -1427,11 +1513,11 @@
- + - - + +
@@ -1492,8 +1578,8 @@
- - + +
@@ -1509,8 +1595,8 @@
- - + +
@@ -1603,22 +1689,22 @@
- - + +
- - + +
- - + + @@ -1634,33 +1720,40 @@
- - - - +
Name
Class
- +
Range
@@ -1670,7 +1763,13 @@
Pen
Type
- +
RoF
@@ -1688,17 +1787,41 @@
Trained?
Hit Mod
- +
Reload
Weight
-
Domain
- +
Domain
+
Mishap Chance
- @@ -1711,8 +1834,8 @@
- - + +
@@ -1726,29 +1849,36 @@
- - - - +
Name
-
Domain
- +
Class
+
Reach
@@ -1758,20 +1888,52 @@
Pen
Type
- +
Trained?
Hit Mod
- +
Weight
+
Domain
+
- - + +
@@ -1792,13 +1954,13 @@

Psychic Strength

Class
-
Limit
- @@ -1833,8 +1995,8 @@
- - + +
@@ -1846,8 +2008,8 @@
- - + +
@@ -1876,7 +2038,7 @@
Focus Power
- @@ -1896,7 +2058,7 @@
Power Mod
- + @@ -1909,8 +2071,8 @@
- - + +
@@ -1992,17 +2154,18 @@ // ___________________________________________________________________________ // ____________________Movement and Weight sheet worker_______________________ // ___________________________and Fatigue Pts_________________________________ - on('sheet:opened change:size change:str change:str_unnat change:str_advancement change:tou change:tou_unnat change:tou_advancement change:agi change:agi_unnat change:agi_advancement', function() { + on('sheet:opened change:size change:str change:str_unnat change:str_advancement change:tou change:tou_unnat change:tou_advancement change:agi change:agi_unnat change:agi_advancement change:agi_mov_mod', function() { getAttrs([ 'size', 'str', 'str_unnat', 'str_advancement', 'tou', 'tou_unnat', 'tou_advancement', - 'agi', 'agi_unnat', 'agi_advancement' + 'agi', 'agi_unnat', 'agi_advancement', 'agi_mov_mod' ], function(values) { var size = parseInt(values['size'], 10) || 0; var agi = parseInt(values['agi'], 10) || 0; var agi_unnat = parseInt(values['agi_unnat'], 10) || 0; - var agi_advancement = parseInt(values['agi_advancement'], 10) || 0; + var agi_advancement = parseInt(values['agi_advancement'], 10) || 0; + var agi_mov_mod = parseInt(values['agi_mov_mod'], 10) || 0; var str = parseInt(values['str'], 10) || 0; var str_unnat = parseInt(values['str_unnat'], 10) || 0; var str_advancement = parseInt(values['str_advancement'], 10) || 0; @@ -2016,7 +2179,7 @@ var tou_mod = Math.floor((tou + tou_advancement) / 10 + tou_unnat); var agi_mod = Math.floor((agi + agi_advancement) / 10 + agi_unnat); var wp_mod = Math.floor((wp + wp_advancement) / 10 + wp_unnat); - var move_mod = agi_mod + size; + var move_mod = agi_mod + size + agi_mov_mod; var carry_mod = str_mod + tou_mod; var carry_calc; @@ -2119,6 +2282,30 @@ }); }); + // ___________________________________________________________________________ + // ____________________Armor Agility Limiter__________________________________ + // ___________________________________________________________________________ + + on('sheet:opened change:agi change:agi_unnat change:agi_advancement change:armor_agi change:armor_limit ', function() { + getAttrs([ + 'agi', 'agi_unnat', 'agi_advancement', 'armor_agi', 'armor_limit'], function(values) { + var agi = parseInt(values['agi'], 10) || 0; + var agi_unnat = parseInt(values['agi_unnat'], 10) || 0; + var agi_advancement = parseInt(values['agi_advancement'], 10) || 0; + var armor_agi = parseInt(values['armor_agi'], 10) || 0; + var armor_limit = parseInt(values['armor_limit'], 10) || 0; + var agiTotal = agi + agi_advancement + + if (armor_limit) { + agiTotal = (agiTotal > armor_agi ) ? armor_agi : agiTotal; + } + + // normal, no modifiers ___________________________________________________ + setAttrs({agiTotal: (agiTotal)}); + + }); + }); + // ___________________________________________________________________________ @@ -2542,7 +2729,7 @@
Weapon Trained
- + {{#rollTotal() trained 20}} 0 {{/rollTotal() trained 20}} {{#^rollTotal() trained 20}} -20 {{/^rollTotal() trained 20}} @@ -2659,7 +2846,6 @@
spacer -
{{#^rollGreater() roll target }}
@@ -2669,24 +2855,54 @@ {{#rollTotal() R_type 0}} spacer -
Semi Auto: one hit per odd Dos
Max: Rate of Fire
+
Semi Auto: + {{#rollBetween() degrees 1 2}}1 Hit {{/rollBetween() degrees 1 2}} + {{#rollBetween() degrees 3 4}}2 Hits {{/rollBetween() degrees 3 4}} + {{#rollBetween() degrees 5 6}}3 Hits {{/rollBetween() degrees 5 6}} + {{#rollBetween() degrees 7 8}}4 Hits {{/rollBetween() degrees 7 8}} + {{#rollBetween() degrees 9 10}}5 Hits {{/rollBetween() degrees 9 10}} + {{#rollBetween() degrees 11 12}}6 Hits {{/rollBetween() degrees 11 12}} + {{#rollBetween() degrees 13 14}}7 Hits {{/rollBetween() degrees 13 14}} + {{#rollBetween() degrees 15 16}}8 Hits {{/rollBetween() degrees 15 16}} + {{#rollBetween() degrees 17 18}}9 Hits {{/rollBetween() degrees 17 18}} + {{#rollBetween() degrees 19 20}}10 Hits {{/rollBetween() degrees 19 20}} + {{#rollGreater() degrees 20}}10+ Hits {{/rollGreater() degrees 20}} + / Max: {{burst}}
{{/rollTotal() R_type 0}} {{#rollTotal() R_type -10}} spacer -
Full Auto: one hit per DoS
Max: Rate of Fire
+
Full Auto: + {{#rollTotal() degrees 1}}1 Hit {{/rollTotal() degrees 1}} + {{#rollGreater() degrees 1}} {{degrees}} Hits {{/rollGreater() degrees 1}} + / Max: {{auto}}
{{/rollTotal() R_type -10}} {{/R_type}} {{#M_type}} {{#rollTotal() multi -10}} spacer -
Swift Attack: one hit per odd Dos
Max: Weapon Skill bonus
+
Swift Attack: + {{#rollBetween() degrees 1 2}}1 Hit {{/rollBetween() degrees 1 2}} + {{#rollBetween() degrees 3 4}}2 Hits {{/rollBetween() degrees 3 4}} + {{#rollBetween() degrees 5 6}}3 Hits {{/rollBetween() degrees 5 6}} + {{#rollBetween() degrees 7 8}}4 Hits {{/rollBetween() degrees 7 8}} + {{#rollBetween() degrees 9 10}}5 Hits {{/rollBetween() degrees 9 10}} + {{#rollBetween() degrees 11 12}}6 Hits {{/rollBetween() degrees 11 12}} + {{#rollBetween() degrees 13 14}}7 Hits {{/rollBetween() degrees 13 14}} + {{#rollBetween() degrees 15 16}}8 Hits {{/rollBetween() degrees 15 16}} + {{#rollBetween() degrees 17 18}}9 Hits {{/rollBetween() degrees 17 18}} + {{#rollBetween() degrees 19 20}}10 Hits {{/rollBetween() degrees 19 20}} + {{#rollGreater() degrees 20}}10+ Hits {{/rollGreater() degrees 20}} + / Max: {{WS_bonus}}
{{/rollTotal() multi -10}} {{#rollTotal() multi -20}} spacer -
Lightning Attack: one hit per DoS
Max: Weapon Skill bonus
+
Lightning Attack: + {{#rollTotal() degrees 1}}1 Hit {{/rollTotal() degrees 1}} + {{#rollGreater() degrees 1}} {{degrees}} Hits {{/rollGreater() degrees 1}} + / Max: {{WS_bonus}}
{{/rollTotal() multi -20}} {{/M_type}} {{/^rollGreater() roll target }}