Merge pull request #10971 from Stexinator/TheWitcher_attack_chain

[TheWitcher] attack chain
This commit is contained in:
Miguel Peres
2022-08-26 07:40:58 -03:00
committed by GitHub
3 changed files with 976 additions and 279 deletions
+7 -1
View File
@@ -297,6 +297,12 @@
"show-jointattacks-u": "Show joint attacks",
"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"
"show-multiple-reputations": "Show multiple reputations",
"defense-bases": "DEFENSE BASES",
"dodge-base": "DODGE BASE",
"reposition-base": "REPOSITION BASE",
"block-base": "BLOCK BASE"
}
+153 -8
View File
@@ -368,6 +368,35 @@ input.repeating_npcskill_score {
box-shadow: inset 0px 0px 4px 0px #262626;
}
/* Left Side */
.special-stack-grid {
margin-left: -10px;
}
.npc-defenses {
width: 520px;
}
.npc-defense-container {
display: flex;
justify-content: space-evenly;
}
.npc-defenses .defense-title {
padding-right: 0px;
}
.npc-defenses .defense-name {
padding-left: 0px;
}
.npc-defense {
width: min-content;
display: block;
text-align: center;
}
/* ----------- */
.charsheet {
@@ -4990,6 +5019,11 @@ textarea.armor-text {
color: #ebebeb;
}
/* -- PC Defense Bases */
.pc-defense-base:not(:checked) ~ .pc-defense-base {
display: none;
}
/* Spells & Signs*/
span.repeating_spell_gradient {
@@ -6618,6 +6652,66 @@ button[type=roll].repeating_npc_weapon_roll:active {
vertical-align: middle;
}
/* DEFENSE BASES */
label.defense-title {
display: inline-block;
margin-top: 10px;
margin-bottom: 10px;
padding-left: 12px;
padding-top: 4px;
padding-bottom: 4px;
font-weight: 1;
font-size: 12px;
color: #FFF;
margin-bottom: 2px;
border-radius: 15px;
background: #444444;
}
span.defense-name {
display: inline-block;
line-height: 0.65;
padding-left: 15px;
width: 130px;
font-size: 14px;
}
.charsheet button[type=action].defense_skill_roll::before {
font-family: "dicefontd10";
content: "0";
font-size: 17px;
}
button[type=action].defense_skill_roll {
color: #000;
display: inline-block;
background-color: #e8e8e8;
text-align: center;
font-weight: bold;
margin-top: 5px;
width:18px;
height:18px;
border-radius: 100px;
border-color: #000;
border: 1px solid;
box-shadow: inset 1px 1px 1px 1px rgba(0,0,0,0.30);
}
button[type=action].defense_skill_roll:hover {
color: #878787;
border-color: #878787;
border: 1px solid;
}
button[type=action].defense_skill_roll:active {
color: #d6d6d6;
border-color: #d6d6d6;
border: 1px solid;
box-shadow: inset 2px 1px 1px 1px #878787;
}
/* ROLL TEMPLATES */
.sheet-rolltemplate-npcweapon table,
@@ -6633,12 +6727,16 @@ button[type=roll].repeating_npc_weapon_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 {
.sheet-rolltemplate-initiative table,
.sheet-rolltemplate-npcdefense table {
width: 95%;
border: 1px solid;
color: black;
@@ -6659,12 +6757,16 @@ button[type=roll].repeating_npc_weapon_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 {
.sheet-rolltemplate-initiative th,
.sheet-rolltemplate-npcdefense th {
color: #ffffff;
padding: 2px;
text-align: center;
@@ -6686,11 +6788,15 @@ button[type=roll].repeating_npc_weapon_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,
.sheet-rolltemplate-initiative .userscript-template-title {
font-weight: bold;
}
@@ -6708,11 +6814,15 @@ button[type=roll].repeating_npc_weapon_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,
.sheet-rolltemplate-initiative td {
padding: 8px;
border-bottom: 1px solid black;
@@ -6731,11 +6841,15 @@ button[type=roll].repeating_npc_weapon_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,
.sheet-rolltemplate-initiative .inlinerollresult {
display: inline-block;
min-width: 1.5em;
@@ -6789,15 +6903,21 @@ button[type=roll].repeating_npc_weapon_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;
}
@@ -6817,15 +6937,18 @@ button[type=roll].repeating_npc_weapon_roll:active {
/* singleroll */
.sheet-rolltemplate-singleroll th {
.sheet-rolltemplate-singleroll th,
.sheet-rolltemplate-npcdefense th {
background-color: #595959;
}
.sheet-rolltemplate-singleroll tr:nth-child(odd) {
.sheet-rolltemplate-singleroll tr:nth-child(odd),
.sheet-rolltemplate-npcdefense tr:nth-child(odd) {
background-color: #b7b7b7;
}
.sheet-rolltemplate-singleroll tr:nth-child(even) {
.sheet-rolltemplate-singleroll tr:nth-child(even),
.sheet-rolltemplate-npcdefense tr:nth-child(even) {
background-color: #e0e0e0;
}
@@ -6843,6 +6966,20 @@ button[type=roll].repeating_npc_weapon_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 {
@@ -6981,6 +7118,7 @@ button[type=roll].repeating_npc_weapon_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^="~"],
@@ -7004,4 +7142,11 @@ button[type=roll].repeating_npc_weapon_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;
}
File diff suppressed because it is too large Load Diff