diff --git a/TheWitcher/translation.json b/TheWitcher/translation.json index a33d68f224..b7dd485436 100644 --- a/TheWitcher/translation.json +++ b/TheWitcher/translation.json @@ -297,6 +297,7 @@ "character-u": "CHARACTER", "show-magic-and-spells": "Show magic and spell tab", "use-pc-defense-bases": "Show defense bases", + "use-pc-attack-defense-chain": "Use PC attack-defense-chain", "background-u": "BACKGROUND", "show-multiple-reputations": "Show multiple reputations", "defense-bases": "DEFENSE BASES", diff --git a/TheWitcher/witchersheet.css b/TheWitcher/witchersheet.css index 85f8d0cc67..318aabe955 100644 --- a/TheWitcher/witchersheet.css +++ b/TheWitcher/witchersheet.css @@ -6731,9 +6731,12 @@ button[type=action].defense_skill_roll:active { .sheet-rolltemplate-blueskill table, .sheet-rolltemplate-mainskill table, .sheet-rolltemplate-doubleroll table, +.sheet-rolltemplate-weaponattack table, .sheet-rolltemplate-singleroll table, .sheet-rolltemplate-saveroll table, .sheet-rolltemplate-target table, +.sheet-rolltemplate-humanlocation table, +.sheet-rolltemplate-monsterlocation table, .sheet-rolltemplate-fumble table, .sheet-rolltemplate-save table, .sheet-rolltemplate-initiative table, @@ -6758,9 +6761,12 @@ button[type=action].defense_skill_roll:active { .sheet-rolltemplate-blueskill th, .sheet-rolltemplate-mainskill th, .sheet-rolltemplate-doubleroll th, +.sheet-rolltemplate-weaponattack th, .sheet-rolltemplate-singleroll th, .sheet-rolltemplate-saveroll th, .sheet-rolltemplate-target th, +.sheet-rolltemplate-humanlocation th, +.sheet-rolltemplate-monsterlocation th, .sheet-rolltemplate-fumble th, .sheet-rolltemplate-save th, .sheet-rolltemplate-initiative th, @@ -6786,9 +6792,12 @@ button[type=action].defense_skill_roll:active { .sheet-rolltemplate-blueskill .userscript-template-title, .sheet-rolltemplate-mainskill .userscript-template-title, .sheet-rolltemplate-doubleroll .userscript-template-title, +.sheet-rolltemplate-weaponattack .userscript-template-title, .sheet-rolltemplate-singleroll .userscript-template-title, .sheet-rolltemplate-saveroll .userscript-template-title, .sheet-rolltemplate-target .userscript-template-title, +.sheet-rolltemplate-humanlocation .userscript-template-title, +.sheet-rolltemplate-monsterlocation .userscript-template-title, .sheet-rolltemplate-fumble .userscript-template-title, .sheet-rolltemplate-save .userscript-template-title, .sheet-rolltemplate-npcdefense .userscript-template-title, @@ -6809,9 +6818,12 @@ button[type=action].defense_skill_roll:active { .sheet-rolltemplate-blueskill td, .sheet-rolltemplate-mainskill td, .sheet-rolltemplate-doubleroll td, +.sheet-rolltemplate-weaponattack td, .sheet-rolltemplate-singleroll td, .sheet-rolltemplate-saveroll td, .sheet-rolltemplate-target td, +.sheet-rolltemplate-humanlocation td, +.sheet-rolltemplate-monsterlocation td, .sheet-rolltemplate-fumble td, .sheet-rolltemplate-save td, .sheet-rolltemplate-npcdefense td, @@ -6833,9 +6845,12 @@ button[type=action].defense_skill_roll:active { .sheet-rolltemplate-blueskill .inlinerollresult, .sheet-rolltemplate-mainskill .inlinerollresult, .sheet-rolltemplate-doubleroll .inlinerollresult, +.sheet-rolltemplate-weaponattack .inlinerollresult, .sheet-rolltemplate-singleroll .inlinerollresult, .sheet-rolltemplate-saveroll .inlinerollresult, .sheet-rolltemplate-target .inlinerollresult, +.sheet-rolltemplate-humanlocation .inlinerollresult, +.sheet-rolltemplate-monsterlocation .inlinerollresult, .sheet-rolltemplate-fumble .inlinerollresult, .sheet-rolltemplate-save .inlinerollresult, .sheet-rolltemplate-npcdefense .inlinerollresult, @@ -6892,15 +6907,21 @@ button[type=action].defense_skill_roll:active { /* Target */ -.sheet-rolltemplate-target th { +.sheet-rolltemplate-target th, +.sheet-rolltemplate-humanlocation th, +.sheet-rolltemplate-monsterlocation th { background-color: #546696; } -.sheet-rolltemplate-target tr:nth-child(odd) { +.sheet-rolltemplate-target tr:nth-child(odd), +.sheet-rolltemplate-humanlocation tr:nth-child(odd), +.sheet-rolltemplate-monsterlocation tr:nth-child(odd) { background-color: #b1b4d8; } -.sheet-rolltemplate-target tr:nth-child(even) { +.sheet-rolltemplate-target tr:nth-child(even), +.sheet-rolltemplate-humanlocation tr:nth-child(even), +.sheet-rolltemplate-monsterlocation tr:nth-child(even) { background-color: #e0e0e0; } @@ -6949,6 +6970,20 @@ button[type=action].defense_skill_roll:active { background-color: #e0e0e0; } +/* weaponattack */ + +.sheet-rolltemplate-weaponattack th { + background-color: #595959; +} + +.sheet-rolltemplate-weaponattack tr:nth-child(odd) { + background-color: #b7b7b7; +} + +.sheet-rolltemplate-weaponattack tr:nth-child(even) { + background-color: #e0e0e0; +} + /* Prof skills */ .sheet-rolltemplate-mainskill th { @@ -7087,6 +7122,7 @@ button[type=action].defense_skill_roll:active { /* API Button */ .sheet-rolltemplate-singleroll a[href^="~"], .sheet-rolltemplate-doubleroll a[href^="~"], +.sheet-rolltemplate-weaponattack a[href^="~"], .sheet-rolltemplate-mainskill a[href^="~"], .sheet-rolltemplate-blueskill a[href^="~"], .sheet-rolltemplate-greenskill a[href^="~"], @@ -7110,4 +7146,11 @@ button[type=action].defense_skill_roll:active { border-radius: 30px; background-color: #968754; color: white; +} + +.sheet-rolltemplate-npcdefense .sheet-rolltemplate-calculation .inlinerollresult, +.sheet-rolltemplate-humanlocation .sheet-rolltemplate-calculation .inlinerollresult, +.sheet-rolltemplate-monsterlocation .sheet-rolltemplate-calculation .inlinerollresult { + border: none; + background-color: inherit; } \ No newline at end of file diff --git a/TheWitcher/witchersheet.html b/TheWitcher/witchersheet.html index f225c5169c..7030ce6cc4 100644 --- a/TheWitcher/witchersheet.html +++ b/TheWitcher/witchersheet.html @@ -3371,7 +3371,11 @@ Show Magic & Spells tab -