diff --git a/HeroSystem6eHeroic/HeroSystem6eHeroic.css b/HeroSystem6eHeroic/HeroSystem6eHeroic.css index 594b7f0680..257dc42dcd 100644 --- a/HeroSystem6eHeroic/HeroSystem6eHeroic.css +++ b/HeroSystem6eHeroic/HeroSystem6eHeroic.css @@ -140,7 +140,7 @@ select { grid-template-areas: "select"; align-items: center; position: relative; - min-width: 40px; + min-width: 34px; max-height: 20px; border: 1px solid gray; border-radius: 3px; @@ -3102,32 +3102,39 @@ select:focus + .focus { display: flex; flex-direction: row; justify-content: space-between; + align-items: flex-start; max-width: 576px; margin-bottom: 3px; } -.subitem-tab-gear-flex-container-armor-row h1 { - min-width: 42px; - text-align: center; -} - .subitem-tab-gear-flex-container-armor-row h1:nth-child(1) { min-width: 118px; text-align: left; } +.subitem-tab-gear-flex-container-armor-row h1:nth-child(2), +.subitem-tab-gear-flex-container-armor-row h1:nth-child(3), .subitem-tab-gear-flex-container-armor-row h1:nth-child(4), .subitem-tab-gear-flex-container-armor-row h1:nth-child(5) { - min-width: 46px; -} - -.subitem-tab-gear-flex-container-armor-row h1:nth-child(6) { - min-width: 30px; - max-width: 30px; + min-width: 34px; + text-align: center; } +.subitem-tab-gear-flex-container-armor-row h1:nth-child(6), .subitem-tab-gear-flex-container-armor-row h1:nth-child(7) { - min-width: 140px; + min-width: 44px; +} + +.subitem-tab-gear-flex-container-armor-row h1:nth-child(8) { + min-width: 36px; +} + +.subitem-tab-gear-flex-container-armor-row h1:nth-child(9) { + min-width: 98px; +} + +.subitem-tab-gear-flex-container-armor-row h1:nth-child(10) { + min-width: 46px; } .subitem-tab-gear-flex-container-armor-row input { @@ -3137,8 +3144,8 @@ select:focus + .focus { .subitem-tab-gear-flex-container-armor-row input[type=number] { text-align: right; padding-left: 2px; - max-width: 60px; - min-width: 42px; + max-width: 36px; + min-width: 34px; padding-right: 0px; margin-right: 0px; margin-left: 0px; @@ -3146,7 +3153,7 @@ select:focus + .focus { } .subitem-tab-gear-flex-container-armor-row input[type=text]:nth-child(1), -.subitem-tab-gear-flex-container-armor-row input[type=text]:nth-child(7) { +.subitem-tab-gear-flex-container-armor-row input[type=text]:nth-child(9) { padding-left: 1px; padding-right: 1px; margin-right: 0px; @@ -3158,13 +3165,17 @@ select:focus + .focus { max-width: 120px; } -.subitem-tab-gear-flex-container-armor-row input[type=text]:nth-child(7) { +.subitem-tab-gear-flex-container-armor-row input[type=text]:nth-child(9) { text-align: center; - max-width: 140px; + max-width: 100px; +} + +.subitem-tab-gear-flex-container-armor-row input[type=number]:nth-child(10) { + text-align: right; + min-width: 48px; } .subitem-tab-gear-flex-container-armor-row select { - padding-left: 4px; text-align-last: center; // For Chrome text-align: center; // Firefox } diff --git a/HeroSystem6eHeroic/HeroSystem6eHeroic.html b/HeroSystem6eHeroic/HeroSystem6eHeroic.html index 828dd2a4ae..20e467a6f7 100644 --- a/HeroSystem6eHeroic/HeroSystem6eHeroic.html +++ b/HeroSystem6eHeroic/HeroSystem6eHeroic.html @@ -442,7 +442,9 @@

Armor

+

rPD

PD

+

rED

ED

END/T

ACT

@@ -455,7 +457,9 @@
+ +
- +
@@ -487,7 +491,9 @@
+ +
- +
@@ -519,7 +525,9 @@
+ +
- +
@@ -551,7 +559,9 @@
+ +
- +
@@ -4259,6 +4269,8 @@ const maxStat = 20; const costStat = 1; let statCP = 0; + var liftCapability; + var freeCarry; if ( (statValue>maxStat) && (useMaximums != 0) ) { statCP=(statValue-maxStat)*costStat+(statValue-baseStat)*costStat; @@ -4266,8 +4278,21 @@ statCP=(statValue-baseStat)*costStat; } - let liftCapability=Math.round(25*Math.pow(2,(statValue/5))); - let freeCarry=liftCapability/10; + switch (statValue) { + case 0: liftCapability = 0; + break; + case 1: liftCapability = 8; + break; + case 2: liftCapability = 16; + break; + case 3: liftCapability = 25; + break; + case 4: liftCapability = 38; + break; + default: liftCapability=Math.round(25*Math.pow(2,(statValue/5))); + } + + freeCarry=liftCapability/10; // Update cost and roll chance setAttrs({ @@ -5274,7 +5299,7 @@ /* Activate Power 01 */ on('clicked:powerRoll01', (info) => { - startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName01} - @{powerEffect01}}} {{desc=@{powerText01}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll01}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice01}]]}} {{END=[[@{powerEND01}]]}}", (results) => { + startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName01} - @{powerEffect01}}} {{desc=@{powerText01}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll01}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice01}sd]]}} {{END=[[@{powerEND01}]]}}", (results) => { // Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from currentEND. getAttrs(["optionAutoSubtractEND", "powerEND01"], function(values) { @@ -5370,7 +5395,7 @@ /* Activate Power 02 */ on('clicked:powerRoll02', (info) => { - startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName02} - @{powerEffect02}}} {{desc=@{powerText02}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll02}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice02}]]}} {{END=[[@{powerEND02}]]}}", (results) => { + startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName02} - @{powerEffect02}}} {{desc=@{powerText02}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll02}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice02}sd]]}} {{END=[[@{powerEND02}]]}}", (results) => { // Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from currentEND. getAttrs(["optionAutoSubtractEND", "powerEND02"], function(values) { @@ -5466,7 +5491,7 @@ /* Activate Power 03 */ on('clicked:powerRoll03', (info) => { - startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName03} - @{powerEffect03}}} {{desc=@{powerText03}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll03}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice03}]]}} {{END=[[@{powerEND03}]]}}", (results) => { + startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName03} - @{powerEffect03}}} {{desc=@{powerText03}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll03}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice03}sd]]}} {{END=[[@{powerEND03}]]}}", (results) => { // Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from currentEND. getAttrs(["optionAutoSubtractEND", "powerEND03"], function(values) { @@ -5562,7 +5587,7 @@ /* Activate Power 04 */ on('clicked:powerRoll04', (info) => { - startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName02} - @{powerEffect04}}} {{desc=@{powerText04}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll04}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice04}]]}} {{END=[[@{powerEND04}]]}}", (results) => { + startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName02} - @{powerEffect04}}} {{desc=@{powerText04}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll04}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice04}sd]]}} {{END=[[@{powerEND04}]]}}", (results) => { // Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from currentEND. getAttrs(["optionAutoSubtractEND", "powerEND04"], function(values) { @@ -5658,7 +5683,7 @@ /* Activate Power 05 */ on('clicked:powerRoll05', (info) => { - startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName05} - @{powerEffect05}}} {{desc=@{powerText05}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll05}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice05}]]}} {{END=[[@{powerEND05}]]}}", (results) => { + startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName05} - @{powerEffect05}}} {{desc=@{powerText05}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll05}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice05}sd]]}} {{END=[[@{powerEND05}]]}}", (results) => { // Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from currentEND. getAttrs(["optionAutoSubtractEND", "powerEND05"], function(values) { @@ -5754,7 +5779,7 @@ /* Activate Power 06 */ on('clicked:powerRoll06', (info) => { - startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName06} - @{powerEffect06}}} {{desc=@{powerText06}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll06}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice06}]]}} {{END=[[@{powerEND06}]]}}", (results) => { + startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName06} - @{powerEffect06}}} {{desc=@{powerText06}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll06}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice06}sd]]}} {{END=[[@{powerEND06}]]}}", (results) => { // Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from currentEND. getAttrs(["optionAutoSubtractEND", "powerEND06"], function(values) { @@ -5850,7 +5875,7 @@ /* Activate Power 07 */ on('clicked:powerRoll07', (info) => { - startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName07} - @{powerEffect02}}} {{desc=@{powerText07}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll07}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice07}]]}} {{END=[[@{powerEND07}]]}}", (results) => { + startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName07} - @{powerEffect02}}} {{desc=@{powerText07}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll07}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice07}sd]]}} {{END=[[@{powerEND07}]]}}", (results) => { // Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from currentEND. getAttrs(["optionAutoSubtractEND", "powerEND07"], function(values) { @@ -5946,7 +5971,7 @@ /* Activate Power 08 */ on('clicked:powerRoll08', (info) => { - startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName08} - @{powerEffect08}}} {{desc=@{powerText08}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll08}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice08}]]}} {{END=[[@{powerEND08}]]}}", (results) => { + startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName08} - @{powerEffect08}}} {{desc=@{powerText08}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll08}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice08}sd]]}} {{END=[[@{powerEND08}]]}}", (results) => { // Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from currentEND. getAttrs(["optionAutoSubtractEND", "powerEND08"], function(values) { @@ -6042,7 +6067,7 @@ /* Activate Power 09 */ on('clicked:powerRoll09', (info) => { - startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName09} - @{powerEffect09}}} {{desc=@{powerText09}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll09}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice09}]]}} {{END=[[@{powerEND09}]]}}", (results) => { + startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName09} - @{powerEffect09}}} {{desc=@{powerText09}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll09}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice09}sd]]}} {{END=[[@{powerEND09}]]}}", (results) => { // Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from currentEND. getAttrs(["optionAutoSubtractEND", "powerEND09"], function(values) { @@ -6138,7 +6163,7 @@ /* Activate Power 10 */ on('clicked:powerRoll10', (info) => { - startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName10} - @{powerEffect10}}} {{desc=@{powerText10}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll10}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice10}]]}} {{END=[[@{powerEND10}]]}}", (results) => { + startRoll("&{template:custom-power-attack} {{title=@{character_name} - @{character_title}}} {{subtitle= @{powerName10} - @{powerEffect10}}} {{desc=@{powerText10}}} {{Activate On = [[?{Modifiers|0}+@{powerSkillRoll10}]] **or less**}} {{Success Roll=[[3d6cf<0cs>0]]}} {{Attack Roll=[[3d6cf<0cs>0]]}} {{Effect Roll=[[@{hiddenPowerDice10}sd]]}} {{END=[[@{powerEND10}]]}}", (results) => { // Roll activation and effect dice. If the option to auto apply endurance is TRUE, subtract the power's END once from currentEND. getAttrs(["optionAutoSubtractEND", "powerEND10"], function(values) { diff --git a/HeroSystem6eHeroic/images/BlueButtonChat.png b/HeroSystem6eHeroic/images/BlueButtonChat.png index ff47616534..d965654916 100644 Binary files a/HeroSystem6eHeroic/images/BlueButtonChat.png and b/HeroSystem6eHeroic/images/BlueButtonChat.png differ diff --git a/HeroSystem6eHeroic/images/screenshot-02-scaled.png b/HeroSystem6eHeroic/images/screenshot-02-scaled.png index e1cb8f1198..ae222acdff 100644 Binary files a/HeroSystem6eHeroic/images/screenshot-02-scaled.png and b/HeroSystem6eHeroic/images/screenshot-02-scaled.png differ diff --git a/HeroSystem6eHeroic/images/screenshot-02.png b/HeroSystem6eHeroic/images/screenshot-02.png index 00d8e5eb14..a810c05c7c 100644 Binary files a/HeroSystem6eHeroic/images/screenshot-02.png and b/HeroSystem6eHeroic/images/screenshot-02.png differ