diff --git a/SavageWorldsFrench/sawofr.html b/SavageWorldsFrench/sawofr.html index 6b2498e1c9..5c40dab235 100644 --- a/SavageWorldsFrench/sawofr.html +++ b/SavageWorldsFrench/sawofr.html @@ -283,12 +283,12 @@ name="Btjet-Conduite" class="btRoljet" value="@{jetRollConduite}" - data-i18n="combat">Conduite + data-i18n="conduite">Conduite + data-i18n="conduite">Conduite
AGI
- @@ -688,7 +688,7 @@ data-i18n="recherche">Recherche
INT
- @@ -740,7 +740,7 @@ data-i18n="reseaux">Réseaux
INT
- @@ -792,7 +792,7 @@ data-i18n="soins">Soins
INT
- @@ -844,7 +844,7 @@ data-i18n="tir">Tir
AGI
- @@ -904,7 +904,7 @@ + + + + - +
@@ -189,7 +189,7 @@
-
+
@@ -1736,7 +1736,7 @@

Character


-
+

@@ -1767,26 +1767,26 @@

Temporary Modifiers


-
-
+ +
-
-
-
-
-
-
-
-
-
-
+ + + + + + + + + +
-
-
+ +
-
-
-
+ + +
@@ -2856,7 +2856,7 @@
- + @@ -3088,27 +3088,27 @@ on('sheet:opened', function() { update_stunTrack(); }); - on("change:initiative_modifier change:initiative_temp", function() { + on("change:initiative_modifier change:initiative_temp change:initiative_temp_flag", function() { update_initiative(); }); - on("change:defense_modifier change:defense_temp", function () { + on("change:defense_modifier change:defense_temp change:defense_temp_flag", function () { update_defense(); }); - on("change:armor_rating change:soak_modifier change:soak_temp", function () { + on("change:armor_rating change:soak_modifier change:soak_temp change:soak_temp_flag", function () { update_soak(); }); - on("change:mental_limit_modifier change:mental_limit_temp", function () { + on("change:mental_limit_modifier change:mental_limit_temp change:mental_limit_temp_flag", function () { update_mentalLimit(); }); - on("change:physical_limit_modifier change:physical_limit_temp", function () { + on("change:physical_limit_modifier change:physical_limit_temp change:physical_limit_temp_flag", function () { update_physicalLimit(); }); - on("change:essence change:social_limit_modifier change:social_limit_temp", function () { + on("change:essence change:social_limit_modifier change:social_limit_temp change:social_limit_temp_flag", function () { update_socialLimit(); }); @@ -3129,8 +3129,7 @@ on('sheet:opened', function() { }); //Calculate ATTRIBUTES - [ - 'body', + [ 'body', 'agility', 'reaction', 'strength', @@ -3142,13 +3141,13 @@ on('sheet:opened', function() { 'resonance', ].forEach(attr => { // Attach listener - on(`change:${attr}_base change:${attr}_modifier change:${attr}_temp`, function() { + on(`change:${attr}_base change:${attr}_modifier change:${attr}_temp change:${attr}_temp_flag`, function() { // Load attribute values - getAttrs([`${attr}_base`, `${attr}_modifier`, `${attr}_temp`], function(v) { + getAttrs([`${attr}_base`, `${attr}_modifier`, `${attr}_temp`, `${attr}_temp_flag`], function(v) { // Do some math to calculate the total - const bas = parseInt(v[`${attr}_base`]) || 0; - const mod = parseInt(v[`${attr}_modifier`]) || 0; - const tem = parseInt(v[`${attr}_temp`]) || 0; + const bas = parseInt(v[`${attr}_base`]) || 0; + const mod = parseInt(v[`${attr}_modifier`]) || 0; + const tem = (v[`${attr}_temp_flag`] === "on") ? parseInt(v[`${attr}_temp`]) || 0 : 0; const bon = mod + tem; const stat = bas + bon; @@ -3174,15 +3173,15 @@ on('sheet:opened', function() { //Calculaute limts //Calculate MENTAL LIMIT var update_mentalLimit = function () { - getAttrs(["intuition", "willpower", "logic", "mental_limit_modifier", "mental_limit_temp"], function(v){ - var int = parseInt(v.intuition) || 0; - var wil = parseInt(v.willpower) || 0; - var log = parseInt(v.logic) || 0; - var mod = parseInt(v.mental_limit_modifier) || 0; - var tem = parseInt(v.mental_limit_temp) || 0; - var bon = mod + tem; - var tot = ((int + wil + (log * 2))/3); - var num = Math.ceil(tot) + bon; + getAttrs(["intuition", "willpower", "logic", "mental_limit_modifier", "mental_limit_temp", "mental_limit_temp_flag"], function(v){ + const int = parseInt(v.intuition) || 0; + const wil = parseInt(v.willpower) || 0; + const log = parseInt(v.logic) || 0; + const mod = parseInt(v.mental_limit_modifier) || 0; + const tem = (v.mental_limit_temp_flag === "on") ? parseInt(v.mental_limit_temp) || 0 : 0; + const bon = mod + tem; + const tot = ((int + wil + (log * 2))/3); + const num = Math.ceil(tot) + bon; setAttrs({mental_limit: num}); }); @@ -3190,15 +3189,15 @@ on('sheet:opened', function() { //Calculate PHYSICAL LIMIT var update_physicalLimit = function () { - getAttrs(["body", "reaction", "strength", "physical_limit_modifier", "physical_limit_temp"], function(v){ - var bod = parseInt(v.body) || 0; - var rea = parseInt(v.reaction) || 0; - var str = parseInt(v.strength) || 0; - var mod = parseInt(v.physical_limit_modifier) || 0; - var tem = parseInt(v.physical_limit_temp) || 0; - var bon = mod + tem; - var tot = ((bod + rea + (str * 2))/3); - var num = Math.ceil(tot) + bon; + getAttrs(["body", "reaction", "strength", "physical_limit_modifier", "physical_limit_temp", "physical_limit_temp_flag"], function(v){ + const bod = parseInt(v.body) || 0; + const rea = parseInt(v.reaction) || 0; + const str = parseInt(v.strength) || 0; + const mod = parseInt(v.physical_limit_modifier) || 0; + const tem = (v.physical_limit_temp_flag === "on") ? parseInt(v.physical_limit_temp) || 0 : 0; + const bon = mod + tem; + const tot = ((bod + rea + (str * 2))/3); + const num = Math.ceil(tot) + bon; setAttrs({physical_limit: num}); }); @@ -3206,15 +3205,15 @@ on('sheet:opened', function() { //Calculate SOCIAL LIMIT var update_socialLimit = function () { - getAttrs(["charisma", "willpower", "essence", "social_limit_modifier", "social_limit_temp"], function(v){ - var cha = parseInt(v.charisma) || 0; - var wil = parseInt(v.willpower) || 0; - var ess = Math.ceil(v.essence) || 0; - var mod = parseInt(v.social_limit_modifier) || 0; - var tem = parseInt(v.social_limit_temp) || 0; - var bon = mod + tem; - var tot = ((ess + wil + (cha * 2))/3); - var num = Math.ceil(tot) + bon; + getAttrs(["charisma", "willpower", "essence", "social_limit_modifier", "social_limit_temp", "social_limit_temp_flag"], function(v){ + const cha = parseInt(v.charisma) || 0; + const wil = parseInt(v.willpower) || 0; + const ess = Math.ceil(v.essence) || 0; + const mod = parseInt(v.social_limit_modifier) || 0; + const tem = (v.social_limit_temp_flag === "on") ? parseInt(v.social_limit_temp) || 0 : 0; + const bon = mod + tem; + const tot = ((ess + wil + (cha * 2))/3); + const num = Math.ceil(tot) + bon; setAttrs({social_limit: num}); }); @@ -3223,12 +3222,12 @@ on('sheet:opened', function() { //Calculate Common Rolls //DEFENSE POOL var update_defense = function () { - getAttrs(["reaction", "intuition", "defense_modifier", "defense_temp"], function(v){ - var rea = parseInt(v.reaction) || 0; - var int = parseInt(v.intuition) || 0; - var mod = parseInt(v.defense_modifier) || 0; - var tem = parseInt(v.defense_temp) || 0; - var tot = rea + int + mod + tem; + getAttrs(["reaction", "intuition", "defense_modifier", "defense_temp", `defense_temp_flag`], function(v){ + const rea = parseInt(v.reaction) || 0; + const int = parseInt(v.intuition) || 0; + const mod = parseInt(v.defense_modifier) || 0; + const tem = (v.defense_temp_flag === "on") ? parseInt(v.defense_temp) || 0 : 0; + const tot = rea + int + mod + tem; setAttrs({defense: tot}); }); @@ -3236,12 +3235,12 @@ on('sheet:opened', function() { //SOAK POOLS var update_soak = function () { - getAttrs(["body", "armor_rating", "soak_modifier", "soak_temp"], function(v) { + getAttrs(["body", "armor_rating", "soak_modifier", "soak_temp", `soak_temp_flag`], function(v) { const bod = parseInt(v.body) || 0; const arm = parseInt(v.armor_rating) || 0; const mod = parseInt(v.soak_modifier) || 0; - var tem = parseInt(v.soak_temp) || 0; - var tot = bod + arm + mod + tem; + const tem = (v.soak_temp_flag === "on") ? parseInt(v.soak_temp) || 0 : 0; + const tot = bod + arm + mod + tem; setAttrs({soak: tot}); }); @@ -3485,13 +3484,13 @@ on('sheet:opened', function() { //Calculate Initiatves var update_initiative = function () { - getAttrs(["reaction", "intuition", "initiative_modifier", "initiative_temp"], function(v){ - var rea = parseInt(v.reaction) || 0; - var int = parseInt(v.intuition) || 0; - var mod = parseInt(v.initiative_modifier) || 0; - var tem = parseInt(v.initiative_temp) || 0; - var bas = rea + int; - var tot = rea + int + mod + tem; + getAttrs(["reaction", "intuition", "initiative_modifier", "initiative_temp", "initiative_temp_flag"], function(v){ + const rea = parseInt(v.reaction) || 0; + const int = parseInt(v.intuition) || 0; + const mod = parseInt(v.initiative_modifier) || 0; + const tem = (v.initiative_temp_flag === "on") ? parseInt(v.initiative_temp) || 0 : 0; + const bas = rea + int; + const tot = rea + int + mod + tem; let update = {}; update["initiative_mod"] = tot; (mod != 0) ? update["display_initiative_mod"] = bas + " (" + tot + ")" : update["display_initiative_mod"] = bas; @@ -3499,18 +3498,17 @@ on('sheet:opened', function() { }); }; + on("change:initiative_dice_modifier change:edge_toggle change:initiative_dice_temp change:initiative_dice_temp_flag", function () { + getAttrs(["initiative_dice_modifier", "edge_toggle", "initiative_dice_temp", "initiative_dice_temp_flag"], function(v){ + const mod = parseInt(v.initiative_dice_modifier) || 0; + const tem = (v.initiative_dice_temp_flag === "on") ? parseInt(v.initiative_dice_temp) || 0 : 0; + const bas = mod + tem; + const tot = Math.min(bas+1,5); + edg = (v.edge_toggle == 0) ? tot : 5; - on("change:initiative_dice_modifier change:edge_toggle change:initiative_dice_temp", function () { - getAttrs(["initiative_dice_modifier", "edge_toggle", "initiative_dice_temp"], function(v){ - var mod = parseInt(v.initiative_dice_modifier) || 0; - var tem = parseInt(v.initiative_dice_temp) || 0; - var bas = mod + tem; - var tot = Math.min(bas+1,5); - edg = (v.edge_toggle == 0) ? tot : 5; - - setAttrs({initiative_dice: edg}); - }); + setAttrs({initiative_dice: edg}); }); + }); //Calculate Astral Initiatve on("change:intuition change:astral_mod_modifier", function() { diff --git a/Shadowrun5thEdition/sheet.json b/Shadowrun5thEdition/sheet.json index 3d2521fd5b..befcb021c4 100644 --- a/Shadowrun5thEdition/sheet.json +++ b/Shadowrun5thEdition/sheet.json @@ -5,7 +5,7 @@ "roll20userid": "557736", "patreon": "https://www.patreon.com/emeraldgrid", "preview": "preview.png", - "instructions": "Shadowrun 5th Edition version 1.26. Instructions for use can be found on the [GitHub README](https://github.com/Roll20/roll20-character-sheets/blob/master/Shadowrun5thEdition/README.md). Special thanks to Thomas Brown for bug fixes & code refactor.

*The Topps Company, Inc. has sole ownership of the names, logo, artwork, marks, photographs, sounds, audio, video and/or any proprietary material used in connection with the game Shadowrun. The Topps Company, Inc. has granted permission to use such names, logos, artwork, marks and/or any proprietary materials for promotional and informational purposes on its website but does not endorse, and is not affiliated with any official capacity whatsoever.*", + "instructions": "Shadowrun 5th Edition version 1.3. Instructions for use can be found on the [GitHub README](https://github.com/Roll20/roll20-character-sheets/blob/master/Shadowrun5thEdition/README.md). Special thanks to Thomas Brown for bug fixes & code refactor. \n\n* *The Topps Company, Inc. has sole ownership of the names, logo, artwork, marks, photographs, sounds, audio, video and/or any proprietary material used in connection with the game Shadowrun. The Topps Company, Inc. has granted permission to use such names, logos, artwork, marks and/or any proprietary materials for promotional and informational purposes on its website but does not endorse, and is not affiliated with any official capacity whatsoever.*", "useroptions": [{ "attribute": "sheet_type", "displayname": "Sheet Type", diff --git a/The Veil/TheVeil.css b/The Veil/TheVeil.css index 3603d782f5..ed8fc48c41 100644 --- a/The Veil/TheVeil.css +++ b/The Veil/TheVeil.css @@ -1569,12 +1569,12 @@ div.sheet-popupMoveDescLeft { /*div.sheet-popupHelp:hover {text-decoration:none;} */ /* hide the popups until hover */ -div.sheet-popupHelp span, -div.sheet-popupHelpLeft span, -div.sheet-popupHelpRight span, -div.sheet-popupMoveDesc span.sheet-popupText, -div.sheet-popupMoveDescRight span.sheet-popupText, -div.sheet-popupMoveDescLeft span.sheet-popupText { +div.sheet-popupHelp span:last-child, +div.sheet-popupHelpLeft span:last-child, +div.sheet-popupHelpRight span:last-child, +div.sheet-popupMoveDesc span.sheet-popupText:last-child, +div.sheet-popupMoveDescRight span.sheet-popupText:last-child, +div.sheet-popupMoveDescLeft span.sheet-popupText:last-child { display:none; z-index:10; padding:14px 20px; margin-top:-30px; margin-left:28px; @@ -1584,12 +1584,12 @@ div.sheet-popupMoveDescLeft span.sheet-popupText { /* show the popups ON HOVER */ -div.sheet-popupHelp:hover span, -div.sheet-popupHelpLeft:hover span, -div.sheet-popupHelpRight:hover span, -div.sheet-popupMoveDesc:hover span.sheet-popupText , -div.sheet-popupMoveDescRight:hover span.sheet-popupText, -div.sheet-popupMoveDescLeft:hover span.sheet-popupText { +div.sheet-popupHelp:hover span:last-child, +div.sheet-popupHelpLeft:hover span:last-child, +div.sheet-popupHelpRight:hover span:last-child, +div.sheet-popupMoveDesc:hover span.sheet-popupText:last-child , +div.sheet-popupMoveDescRight:hover span.sheet-popupText:last-child, +div.sheet-popupMoveDescLeft:hover span.sheet-popupText:last-child { display:inline; position:absolute; color:#111; border:1px solid #DCA; background:#fffAF0; @@ -1597,26 +1597,26 @@ div.sheet-popupMoveDescLeft:hover span.sheet-popupText { } /* Left, Right and Center all get different offsets, so the popup doesn't end up offscreen */ -div.sheet-popupHelp:hover span, -div.sheet-popupMoveDesc:hover span.sheet-popupText { +div.sheet-popupHelp:hover span:last-child, +div.sheet-popupMoveDesc:hover span.sheet-popupText:last-child { left: -125px; top: 70px; } -div.sheet-popupHelpLeft:hover span, -div.sheet-popupMoveDescLeft:hover span.sheet-popupText { +div.sheet-popupHelpLeft:hover span:last-child, +div.sheet-popupMoveDescLeft:hover span.sheet-popupText:last-child { left: -325px; top: 0; } -div.sheet-popupHelpRight:hover span, -div.sheet-popupMoveDescRight:hover span.sheet-popupText { +div.sheet-popupHelpRight:hover span:last-child, +div.sheet-popupMoveDescRight:hover span.sheet-popupText:last-child { left: 125px; top: 0; } /*CSS3 extras*/ -div.sheet-popupHelp span +div.sheet-popupHelp span:last-child { border-radius:4px; box-shadow: 5px 5px 8px #CCC; diff --git a/The Veil/TheVeil.html b/The Veil/TheVeil.html index 166868617f..b647a557d2 100644 --- a/The Veil/TheVeil.html +++ b/The Veil/TheVeil.html @@ -60,9 +60,9 @@ TODO:
-
Veil & CascadeThe original RPGs by Fraser Simons
+
Veil & CascadeThe original RPGs by Fraser Simons
: -
Veil 2020Simplified, World-of-Dungeons style hack from The Gauntlet's monthly RPG zine: Codex, Chrome: 2
+
Veil 2020Simplified, World-of-Dungeons style hack from The Gauntlet's monthly RPG zine: Codex, Chrome: 2
:
@@ -113,8 +113,8 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/ >
T
H
E
V
E
I
L
T
H
E
V
E
I
L
-
YOU'RE HERE BECAUSE THERE'S SOMETHING WRONG...
+
YOU'RE HERE BECAUSE THERE'S SOMETHING WRONG...
@@ -175,11 +175,11 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
- Simplify: + Simplify:
-
MAD =
+
MAD =
+ value="&{template:default} {{name=Roll}} {{result=[[?{Difficulty|Normal,2d6|Disadvantage,3d6kl2|Advantage,3d6kh2}+?{Attribute|MAD,@{StateMad}|PEACEFUL,@{StatePeaceful}|SAD,@{StateSad}|JOYFUL,@{StateJoyful}|SCARED,@{StateScared}|POWERFUL,@{StatePowerful}|OTHER,@{StateOther}}+?{Other Modifiers (assist, forward, ongoing, etc.)?|0}]]}}" + >Roll Dice!
@@ -467,7 +467,7 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
- MAD + MAD
@@ -483,7 +483,7 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
- PEACEFUL + PEACEFUL
@@ -498,7 +498,7 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
- SAD + SAD
@@ -514,7 +514,7 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
- JOYFUL + JOYFUL
@@ -529,8 +529,7 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
- SCARED - + SCARED
@@ -545,7 +544,7 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
- POWERFUL + POWERFUL
@@ -561,7 +560,7 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
- OTHER + OTHER
@@ -588,34 +587,34 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
- Compress: + Compress:

-
Playbook Info +
Playbook Info
@@ -632,12 +631,8 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
-
- - Spiked (+1) - - - : +
+ Spiked (+1) :
@@ -688,10 +683,7 @@ _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/_/_/_/ _/ _/
- - Other (-2) - - : + Other (-2) :
- -
- -
-

States
?Assign Stats: -1, 0, 0, +1, +1, +2

+

States
?Assign Stats: -1, 0, 0, +1, +1, +2

-
Mad
+
Mad
-
Peaceful
+
Peaceful
-
Joyful
+
Joyful
-
Powerful
+
Powerful