From 2b5e6c95130bff4ace39bd6c87f798820dfd844b Mon Sep 17 00:00:00 2001 From: femapj Date: Tue, 31 Aug 2021 00:49:24 +0200 Subject: [PATCH] [D&D 3.5] new layout for Weapon macro --- D&D_3-5/charsheet_3-5.css | 11 +++++++ D&D_3-5/charsheet_3-5.html | 60 ++++++++++++++++++++++++-------------- D&D_3-5/translation.json | 4 +++ 3 files changed, 53 insertions(+), 22 deletions(-) diff --git a/D&D_3-5/charsheet_3-5.css b/D&D_3-5/charsheet_3-5.css index 60a91f65af..5072923e3e 100644 --- a/D&D_3-5/charsheet_3-5.css +++ b/D&D_3-5/charsheet_3-5.css @@ -37,16 +37,27 @@ .sheet-pc-miscaccalc-show:not(:checked)~.sheet-pc-miscaccalc {display:none;} .sheet-pc-weapon1-show:not(:checked)~.sheet-pc-weapon1 {display:none;} +.sheet-pc-weapon1Macro-show:not(:checked)~.sheet-pc-weapon1Macro {display:none;} .sheet-pc-weapon2-show:not(:checked)~.sheet-pc-weapon2 {display:none;} +.sheet-pc-weapon2Macro-show:not(:checked)~.sheet-pc-weapon2Macro {display:none;} .sheet-pc-weapon3-show:not(:checked)~.sheet-pc-weapon3 {display:none;} +.sheet-pc-weapon3Macro-show:not(:checked)~.sheet-pc-weapon3Macro {display:none;} .sheet-pc-weapon4-show:not(:checked)~.sheet-pc-weapon4 {display:none;} +.sheet-pc-weapon4Macro-show:not(:checked)~.sheet-pc-weapon4Macro {display:none;} .sheet-pc-weapon5-show:not(:checked)~.sheet-pc-weapon5 {display:none;} +.sheet-pc-weapon5Macro-show:not(:checked)~.sheet-pc-weapon5Macro {display:none;} .sheet-pc-weapon6-show:not(:checked)~.sheet-pc-weapon6 {display:none;} +.sheet-pc-weapon6Macro-show:not(:checked)~.sheet-pc-weapon6Macro {display:none;} .sheet-pc-weapon7-show:not(:checked)~.sheet-pc-weapon7 {display:none;} +.sheet-pc-weapon7Macro-show:not(:checked)~.sheet-pc-weapon7Macro {display:none;} .sheet-pc-weapon8-show:not(:checked)~.sheet-pc-weapon8 {display:none;} +.sheet-pc-weapon8Macro-show:not(:checked)~.sheet-pc-weapon8Macro {display:none;} .sheet-pc-weapon9-show:not(:checked)~.sheet-pc-weapon9 {display:none;} +.sheet-pc-weapon9Macro-show:not(:checked)~.sheet-pc-weapon9Macro {display:none;} .sheet-pc-weapon10-show:not(:checked)~.sheet-pc-weapon10 {display:none;} +.sheet-pc-weapon10Macro-show:not(:checked)~.sheet-pc-weapon10Macro {display:none;} .sheet-pc-weapon11-show:not(:checked)~.sheet-pc-weapon11 {display:none;} +.sheet-pc-weapon11Macro-show:not(:checked)~.sheet-pc-weapon11Macro {display:none;} .sheet-pc-spellAction-show:not(:checked)~.sheet-pc-spellAction {display:none;} .sheet-pc-spellActionDescription-show:not(:checked)~.sheet-pc-spellActionDescription {display:none;} diff --git a/D&D_3-5/charsheet_3-5.html b/D&D_3-5/charsheet_3-5.html index 5f43aaba15..392ad844c7 100644 --- a/D&D_3-5/charsheet_3-5.html +++ b/D&D_3-5/charsheet_3-5.html @@ -136,8 +136,6 @@ Misc Summons - All
  @@ -554,7 +552,7 @@ - +
WeaponsWeapons
Weapon1 @@ -600,18 +598,39 @@ - + -
Attack Calc / Macro:
- - -
Full Attack Macro:
- -
Damage Calc / Crit Calc / Damage Macro:
- - - + + + +
+ Single attack:  + + + Full Attack:  + + + Damage Roll:  + + + Single roll Attack:  + +
+
+
+ + + +
+
+ + + + +
+
+ @@ -1858,12 +1877,14 @@
-
- Turning Check:  +
+ Turning Check:  - Turning Damage:  + + Turning Damage:  - Full Turning Check:  + + Full Turning Check: 
@@ -6663,11 +6684,6 @@ on("change:repeating_summons:summonsautoCalcHP change:repeating_summons:summonsh
-
- - -
-
diff --git a/D&D_3-5/translation.json b/D&D_3-5/translation.json index 0d9538726e..8a2c6fba71 100644 --- a/D&D_3-5/translation.json +++ b/D&D_3-5/translation.json @@ -142,6 +142,10 @@ "available": "Available", "used": "Used", "weapon": "Weapon", + "single-attack": "Single Attack", + "full-attack": "Full Attack", + "damage-roll": "Damage Roll", + "single-roll-attack": "Single Roll Attack", "weapon-enhancement-a": "Weapon Enh", "weapon-focus-s": "Weapon
Focus", "weapon-specialization-as": "Weapon
Specialize",