From b9f9bb2c15eec1ba2060461f0b3342146bec7cd4 Mon Sep 17 00:00:00 2001 From: Byroks Date: Sat, 15 Jan 2022 17:35:33 +0100 Subject: [PATCH] Technomancer Complexe Forms Roll & Button Fix --- Shadowrun5th/Shadowrun5th.css | 1 + Shadowrun5th/Shadowrun5th.html | 456 ++++++++++++++++++++++++++------- 2 files changed, 366 insertions(+), 91 deletions(-) diff --git a/Shadowrun5th/Shadowrun5th.css b/Shadowrun5th/Shadowrun5th.css index c24434e3a2..83c302b174 100644 --- a/Shadowrun5th/Shadowrun5th.css +++ b/Shadowrun5th/Shadowrun5th.css @@ -1730,6 +1730,7 @@ div.spacer { .charsheet button[type=action].standardroll::before, .charsheet button[type=action].rollbuttonspec::before, .charsheet button[type=action].rollbuttonnospec::before, +.charsheet button[type=action].spellrolltechno::before, .charsheet button[type=action].spellrollmage::before { font-family: "dicefontd20"; diff --git a/Shadowrun5th/Shadowrun5th.html b/Shadowrun5th/Shadowrun5th.html index c44c9f73ca..da44d63bf5 100644 --- a/Shadowrun5th/Shadowrun5th.html +++ b/Shadowrun5th/Shadowrun5th.html @@ -8,7 +8,7 @@
- +
Magic
Technomancy
@@ -45,7 +45,9 @@

Attributes

-

+
+

+
@@ -55,14 +57,16 @@
- - - + +
+
-

Base

+
+

Base

+
@@ -76,7 +80,9 @@
-

Bonus

+
+

Bonus

+
@@ -88,7 +94,9 @@
-

Total

+
+

Total

+
@@ -100,7 +108,9 @@
-

Roll

+
+

Roll

+
@@ -187,7 +197,7 @@
- +
@@ -7985,7 +7995,7 @@ Can lift overhead (Strength + Nethits) x 5kg}}">
- +

Spells

Sustained:
@@ -8051,7 +8061,7 @@ Can lift overhead (Strength + Nethits) x 5kg}}"> - +
@@ -8375,7 +8385,7 @@ make sure to enter what the spell is resisted with">
- +

Spirits

@@ -8408,7 +8418,7 @@ make sure to enter what the spell is resisted with">
- +

Submersion

@@ -8448,7 +8458,7 @@ make sure to enter what the spell is resisted with">
- +
@@ -16887,11 +16897,27 @@ const asw = (() => { {{#name}}{{name}} rolls{{#roll_name}} {{roll_name}}{{/roll_name}}{{/name}} {{#subheader}} -
-
{{subheader}}
+ + +
+ + + + +
{{subheader}}
+ + {{/subheader}} -
-
Dicepool
+ + +
+ + + + +
Dicepool
+ + {{#val1}} > {{val1}}({{val1_num}}) @@ -16961,36 +16987,66 @@ const asw = (() => { {{#wounds_num}} {{#^rollTotal() wounds_num 0}} - > Woundpenalty({{wounds_num}}) + > Woundpenalty({{wounds_num}}) {{/^rollTotal() wounds_num 0}} {{/wounds_num}} {{#edge}} -
-
Edge
-
> Edge({{edge_num}})
+ +
+ + + + +
Edge
+ + + + +
> Edge({{edge_num}})
+ {{/edge}} {{^edge}} {{#limit}} -
-
Limit
-
> {{limit}}({{limit_num}})
+ +
+ + + + +
Limit
+ + + + +
> {{limit}}({{limit_num}})
+ {{#limit_mod}} {{#^rollTotal() limit_mod 0}} -
> Modifiers({{limit_mod}})
+ +
> Modifiers({{limit_mod}})
+ {{/^rollTotal() limit_mod 0}} {{/limit_mod}} {{/limit}} {{/edge}} {{#result}} -
-
Result
+ + +
+ + + + +
Result
+ + {{#rollGreater() result 1}} {{result}} Successes @@ -17007,13 +17063,21 @@ const asw = (() => { {{/rollTotal() result 0}} {{#rollBetween() computed::glitch 1 1}} -
+ + +
+ + Glitch! {{/rollBetween() computed::glitch 1 1}} {{#rollBetween() computed::glitch 2 2}} -
+ + +
+ + Critical Glitch! @@ -17021,8 +17085,16 @@ const asw = (() => { {{/result}} {{#initiative}} -
-
Result
+ + +
+ + + + +
Result
+ + {{#rollGreater() initiative 10}} {{initiative}} Initiative @@ -17055,10 +17127,20 @@ const asw = (() => { {{/after3}} {{#description}} -
-
Description
-
{{description}}
+ +
+ + + + +
Description
+ + + + +
{{description}}
+ {{/description}} @@ -17080,11 +17162,27 @@ const asw = (() => { {{#subheader}} -
-
{{subheader}}
+ + +
+ + + + +
{{subheader}}
+ + {{/subheader}} -
-
Dicepool
+ + +
+ + + + +
Dicepool
+ + > Dice Pool({{dice_num}}) @@ -17106,28 +17204,56 @@ const asw = (() => { {{#wounds_num}} {{#^rollTotal() wounds_num 0}} - > Woundpenalty({{wounds_num}}) + > Woundpenalty({{wounds_num}}) {{/^rollTotal() wounds_num 0}} {{/wounds_num}} {{#edge}} -
-
Edge
-
> Edge({{edge_num}})
+ +
+ + + + +
Edge
+ + + + +
> Edge({{edge_num}})
+ {{/edge}} {{^edge}} -
-
Limit
-
> Limit({{limit_num}})
+ +
+ + + + +
Limit
+ + + + +
> Limit({{limit_num}})
+ {{/edge}} {{#result}} -
-
Result
+ + +
+ + + + +
Result
+ + {{#rollGreater() result 1}} {{result}} Successes @@ -17144,13 +17270,21 @@ const asw = (() => { {{/rollTotal() result 0}} {{#rollBetween() computed::glitch 1 1}} -
+ + +
+ + Glitch! {{/rollBetween() computed::glitch 1 1}} {{#rollBetween() computed::glitch 2 2}} -
+ + +
+ + Critical Glitch! @@ -17176,11 +17310,27 @@ const asw = (() => { {{#name}}{{name}} rolls{{#roll_name}} {{roll_name}}{{/roll_name}}{{/name}} {{#subheader}} -
-
{{subheader}}
+ + +
+ + + + +
{{subheader}}
+ + {{/subheader}} -
-
Dicepool
+ + +
+ + + + +
Dicepool
+ + {{#magic}} > {{magic}}({{magic_num}}) @@ -17233,28 +17383,50 @@ const asw = (() => { {{#wounds_num}} {{#^rollTotal() wounds_num 0}} - > Woundpenalty({{wounds_num}}) + > Woundpenalty({{wounds_num}}) {{/^rollTotal() wounds_num 0}} {{/wounds_num}} {{#edge}} -
-
Edge
-
> Edge({{edge_num}})
+ +
+ + + + +
Edge
+ + + + +
> Edge({{edge_num}})
+ {{/edge}} {{^edge}} {{#limit}} -
-
Limit
-
> {{limit}}({{limit_num}})
+ +
+ + + + +
Limit
+ + + + +
> {{limit}}({{limit_num}})
+ {{#limit_mod}} {{#^rollTotal() limit_mod 0}} -
> Modifiers({{limit_mod}})
+ +
> Modifiers({{limit_mod}})
+ {{/^rollTotal() limit_mod 0}} {{/limit_mod}} @@ -17262,8 +17434,16 @@ const asw = (() => { {{/edge}} {{#result}} -
-
Result
+ + +
+ + + + +
Result
+ + {{#rollGreater() result 1}} {{result}} Successes @@ -17280,21 +17460,37 @@ const asw = (() => { {{/rollTotal() result 0}} {{#rollBetween() computed::glitch 1 1}} -
+ + +
+ + Glitch! {{/rollBetween() computed::glitch 1 1}} {{#rollBetween() computed::glitch 2 2}} -
+ + +
+ + Critical Glitch! {{/rollBetween() computed::glitch 2 2}} {{/result}} {{#nethits}} -
-
Nethits
+ + +
+ + + + +
Nethits
+ + {{#rollGreater() computed::nethits 0}} {{computed::nethits}} Nethits @@ -17328,10 +17524,20 @@ const asw = (() => { {{#description}} -
-
Description
-
{{description}}
+ +
+ + + + +
Description
+ + + + +
{{description}}
+ {{/description}} @@ -17344,8 +17550,16 @@ const asw = (() => { {{name}} rolls to Dodge {{attacker_name}} -
-
Dicepool
+ + +
+ + + + +
Dicepool
+ + > Reaction({{rea}}) @@ -17375,20 +17589,38 @@ const asw = (() => { {{#wounds_num}} {{#^rollTotal() wounds_num 0}} - > Woundpenalty({{wounds_num}}) + > Woundpenalty({{wounds_num}}) {{/^rollTotal() wounds_num 0}} {{/wounds_num}} {{#edge}} -
-
Edge
-
> Edge({{edge_num}})
+ +
+ + + + +
Edge
+ + + + +
> Edge({{edge_num}})
+ {{/edge}} {{#result}} -
-
Result
+ + +
+ + + + +
Result
+ + {{#rollGreater() result 1}} {{result}} Successes @@ -17406,8 +17638,16 @@ const asw = (() => { {{/rollTotal() result 0}} {{/result}} {{#nethits}} -
-
Attacker Nethits
+ + +
+ + + + +
Attacker Nethits
+ + {{#rollGreater() computed::nethits 0}} {{computed::nethits}} Nethits @@ -17444,8 +17684,16 @@ const asw = (() => { {{name}} rolls to Absorb Damage -
-
Dicepool
+ + +
+ + + + +
Dicepool
+ + > Body({{body}}) @@ -17471,15 +17719,33 @@ const asw = (() => { {{/^rollTotal() mod 0}} {{/mod}} {{#edge}} -
-
Edge
-
> Edge({{edge_num}})
+ +
+ + + + +
Edge
+ + + + +
> Edge({{edge_num}})
+ {{/edge}} {{#result}} -
-
Result
+ + +
+ + + + +
Result
+ + {{#rollGreater() result 1}} {{result}} Successes @@ -17497,8 +17763,16 @@ const asw = (() => { {{/rollTotal() result 0}} {{/result}} {{#dmgTaken}} -
-
Damage taken
+ + +
+ + + + +
Damage taken
+ + {{#rollGreater() computed::dmgTaken 0}} {{computed::dmgTaken}} {{computed::dmgType}}