From b4091f2211d4feb357f43d0983c2f04b75b5ad63 Mon Sep 17 00:00:00 2001 From: seregrauko <64831679+seregrauko@users.noreply.github.com> Date: Mon, 12 Dec 2022 05:52:33 +0000 Subject: [PATCH] [Level Up - Advanced 5th Edition] - Bug fix and additional feature **2022-12-12 ** v.18 Paul V Added Hit Dice Roller - maxes out the number of dice to roll as the current hit dice and reduces the HD by the number of dice rolled - also adds the result to current HP with a maximum of the HP max Added Generic Initiative Bonus Fixed Hit Point Maximum's attribute label it should have been HP_Max Added Death Save roll button that Automatically checks the Success or Failure boxes. Added Str, Dex, Int, Wis, Con, Cha settings windows to store save prof, indivudial save bonus and global save bonus Recoded the Save buttons to use the new tech and the new global and individual bonuses Added the Ability to whispher the GM rolls Added Maneuver settings to add in Maneuver DC Bonus and Exertion point bonus, also added in current exertion points freely edited field --- Level Up - Advanced 5th Edition/CHANGELOG.md | 9 + Level Up - Advanced 5th Edition/levelup.css | 54 +- Level Up - Advanced 5th Edition/levelup.html | 841 ++++++++++-------- .../translation.json | 15 +- 4 files changed, 552 insertions(+), 367 deletions(-) diff --git a/Level Up - Advanced 5th Edition/CHANGELOG.md b/Level Up - Advanced 5th Edition/CHANGELOG.md index 252e3da09f..3274cac52d 100644 --- a/Level Up - Advanced 5th Edition/CHANGELOG.md +++ b/Level Up - Advanced 5th Edition/CHANGELOG.md @@ -1,5 +1,14 @@ Change Log ============================================== +**2022-12-12 ** v.18 Paul V + Added Hit Dice Roller - maxes out the number of dice to roll as the current hit dice and reduces the HD by the number of dice rolled - also adds the result to current HP with a maximum of the HP max + Added Generic Initiative Bonus + Fixed Hit Point Maximum's attribute label it should have been HP_Max + Added Death Save roll button that Automatically checks the Success or Failure boxes. + Added Str, Dex, Int, Wis, Con, Cha settings windows to store save prof, indivudial save bonus and global save bonus + Recoded the Save buttons to use the new tech and the new global and individual bonuses + Added the Ability to whispher the GM rolls + Added Maneuver settings to add in Maneuver DC Bonus and Exertion point bonus, also added in current exertion points freely edited field **2022-12-05 ** v.17 Paul V Fixed issue with NPC Skill and Attack rolls - converted the rolls to use the new Action button tech Added Initative roll to NPC Sheet diff --git a/Level Up - Advanced 5th Edition/levelup.css b/Level Up - Advanced 5th Edition/levelup.css index 996ba75ef1..e6dbb5c4a3 100644 --- a/Level Up - Advanced 5th Edition/levelup.css +++ b/Level Up - Advanced 5th Edition/levelup.css @@ -992,7 +992,7 @@ div.sheet-miscscores { width: 100%; height: 100%; margin: 5px; - grid-column: 1 / span 16; + grid-column: 1 / span 8; grid-row: 1; } div.sheet-display-initiative label[data-i18n-title="initiative"] > span { @@ -1000,12 +1000,19 @@ div.sheet-miscscores { text-align: center; font-size: 1.1em; } + div.sheet-display-initiative label[data-i18n-title="initiative"] > input { + border: none; + text-align: right; + font-size: 1em; + width: 30px !important; + height: 20px !important; + } div.sheet-display-initiative label[data-i18n-title="initiativeroll"] { border: none; width: 100%; height: 100%; margin: 5px; - grid-column: 5 ; + grid-column: 7 ; grid-row: 1; } div.sheet-display-initiative label[data-i18n-title="initiative2nd"] { @@ -1013,7 +1020,7 @@ div.sheet-miscscores { width: 100%; height: auto; grid-row: 2; - grid-column: 1 / span 6; + grid-column: 1 / span 8; } div.sheet-display-initiative label[data-i18n-title="initiative2nd"] > select { border: none; @@ -1201,8 +1208,8 @@ div.sheet-miscscores { display: flex; height: 16%; width: 100%; - gap: 1px 1px 1px 1px; -/* margin: 1pt 1pt 3pt 1pt !important;*/ +/* gap: 1px 1px 1px 1px; + margin: 1pt 1pt 3pt 1pt !important;*/ text-align: center !important; } div.sheet-display-hd { @@ -1226,13 +1233,10 @@ div.sheet-miscscores { grid-column: 1 / span 7; } div.sheet-display-hd label[data-i18n-title="hit_dice"] > button { - - } - div.sheet-display-hd label[data-i18n-title="hit_dice"] > span { - border: none; text-align: center !important; - font-family:Times,serif; - font-size: 1em; + font-family:Times,serif !important; + font-size: 0.9em !important; + font-weight: bold; } div.sheet-display-hd label[data-i18n-title="hit_dice"] > input { border: none; @@ -1343,14 +1347,15 @@ div.sheet-miscscores { border: none; width: 100%; grid-row: 1; - grid-column: 6 / span 12; + grid-column: 4 / span 12; margin: 0px; } - div.sheet-display-death_saves label[data-i18n-title="death_saves"] > span { + div.sheet-display-death_saves label[data-i18n-title="death_saves"] > button { + text-align: center !important; + font-family:Times,serif !important; + font-size: 1em !important; + font-weight: bold; border: none; - text-align: center; - font-family:Times,serif; - font-size: 1em; } div.sheet-display-death_saves label[data-i18n-title="death_saves_success"] { border: none; @@ -3082,21 +3087,23 @@ div.sheet-combatmaneuvers { border-radius: 10pt; display: grid; grid-template-rows: repeat(6,minmax(0,1fr)); - grid-template-columns: minmax(0,1fr); + grid-template-columns: repeat(2,minmax(0,1fr)); } div.sheet-combatmaneuvers label[data-i18n-title="exertion_points"] > span[data-i18n="exertion_points"] { text-align: center; font-family:Times,serif; font-size: 1em; grid-row: 1; + grid-column: 1 / span 2; } div.sheet-combatmaneuvers label[data-i18n-title="exertion_points"] > span[data-i18n="exertion_form"] { text-align: center; font-family:Times,serif; font-size: 0.7em; grid-row: 2; + grid-column: 1 / span 2; } - div.sheet-combatmaneuvers label[data-i18n-title="exertion_points"] > input { + div.sheet-combatmaneuvers label[data-i18n-title="exertion_points"] > input[data-i18n-placeholder="exertion_points"] { text-align: center; font-family:Times,serif; font-size: 1em; @@ -3104,6 +3111,17 @@ div.sheet-combatmaneuvers { grid-row: 3 / span 3; width: 100%; min-width: 100%; + grid-column: 2; + } + div.sheet-combatmaneuvers label[data-i18n-title="exertion_points"] > input[data-i18n-placeholder="current_exertion_points"] { + text-align: center; + font-family:Times,serif; + font-size: 1em; + border: none; + grid-row: 3 / span 3; + width: 100%; + min-width: 100%; + grid-column: 1; } div.sheet-combatmaneuvers label[data-i18n-title="maneuver"] { width: 100%; diff --git a/Level Up - Advanced 5th Edition/levelup.html b/Level Up - Advanced 5th Edition/levelup.html index 37cf32f896..287221a367 100644 --- a/Level Up - Advanced 5th Edition/levelup.html +++ b/Level Up - Advanced 5th Edition/levelup.html @@ -289,7 +289,13 @@ -