Update attributes names case

This commit is contained in:
Roger
2025-02-15 11:19:13 +01:00
parent 0af1f238fc
commit 3a77af7e21
+237 -237
View File
@@ -52,100 +52,100 @@
<div class="CharGrid">
<div>
<label style="text-align:center; font-size:9px; width:45%">Starting</label>
<input name="attr_startingWS" type="number" value="0" style="width:55%" />
<input name="attr_startingWeaponSkill" type="number" value="0" style="width:55%" />
</div>
<div>
<label style="text-align:center; font-size:9px; width:45%">Starting</label>
<input name="attr_startingBS" type="number" value="0" style="width:55%" />
<input name="attr_startingBallisticSkill" type="number" value="0" style="width:55%" />
</div>
<div>
<label style="text-align:center; font-size:9px; width:45%">Starting</label>
<input name="attr_startingS" type="number" value="0" style="width:55%" />
<input name="attr_startingStrength" type="number" value="0" style="width:55%" />
</div>
<div>
<label style="text-align:center; font-size:9px; width:45%">Starting</label>
<input name="attr_startingT" type="number" value="0" style="width:55%" />
<input name="attr_startingToughness" type="number" value="0" style="width:55%" />
</div>
<div>
<label style="text-align:center; font-size:9px; width:45%">Starting</label>
<input name="attr_startingAG" type="number" value="0" style="width:55%" />
<input name="attr_startingAgility" type="number" value="0" style="width:55%" />
</div>
<div>
<label style="text-align:center; font-size:9px; width:45%">Starting</label>
<input name="attr_startingINT" type="number" value="0" style="width:55%" />
<input name="attr_startingIntelligence" type="number" value="0" style="width:55%" />
</div>
<div>
<label style="text-align:center; font-size:9px; width:45%">Starting</label>
<input name="attr_startingPER" type="number" value="0" style="width:55%" />
<input name="attr_startingPerception" type="number" value="0" style="width:55%" />
</div>
<div>
<label style="text-align:center; font-size:9px; width:45%">Starting</label>
<input name="attr_startingWP" type="number" value="0" style="width:55%" />
<input name="attr_startingWillpower" type="number" value="0" style="width:55%" />
</div>
<div>
<label style="text-align:center; font-size:9px; width:45%">Starting</label>
<input name="attr_startingFEL" type="number" value="0" style="width:55%" />
<input name="attr_startingFellowship" type="number" value="0" style="width:55%" />
</div>
</div>
<div class="CharGrid">
<div>
<button name="roll_WS" type="roll" style="height: 60px;"
<button name="roll_weaponSkill" type="roll" style="height: 60px;"
value="@{gmroll}&{template:custom} {{name=**@{character_name} Test Weapon Skill**}} {{dosdof=[[((( ([[(@{weaponSkill}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input name="attr_weaponSKill" type="text" style="text-align:center; padding:0" id="CharBtnIn" readonly />
<input name="attr_weaponSkill" type="text" style="text-align:center; padding:0" id="CharBtnIn" readonly />
</button>
<!--<input name="attr_WSB" title="Weapon Skill Bonus" id="unnatural" type="number" value="0" />-->
</div>
<div>
<button name="roll_BS" type="roll" style="height: 60px;"
<button name="roll_ballistic_skill" type="roll" style="height: 60px;"
value="@{gmroll}&{template:custom} {{name=**@{character_name} Test Ballistic Skill**}} {{dosdof=[[((( ([[(@{ballisticSkill}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input name="attr_ballisticSkill" type="text" style="text-align:center; padding:0" id="CharBtnIn" readonly />
</button>
<!--<input name="attr_BSB" title="Ballistic Skill Bonus" id="unnatural" type="number" value="0" />-->
</div>
<div>
<button name="roll_S" type="roll" style="height: 60px;"
<button name="roll_strength" type="roll" style="height: 60px;"
value="@{gmroll}&{template:custom} {{name=**@{character_name} Test Strength**}} {{dosdof=[[((( ([[(@{strength}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input name="attr_strength" type="text" id="CharBtnIn" readonly />
</button>
<input name="attr_strengthBonus" title="Strength Bonus" id="unnatural" type="number" value="0" />
</div>
<div>
<button name="roll_T" type="roll" style="height: 60px;"
<button name="roll_toughness" type="roll" style="height: 60px;"
value="@{gmroll}&{template:custom} {{name=**@{character_name} Test Toughness**}} {{dosdof=[[((( ([[(@{toughness}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input name="attr_toughness" type="text" id="CharBtnIn" readonly />
</button>
<input name="attr_toughnessBonus" title="Toughness Bonus" id="unnatural" type="number" value="0" />
</div>
<div>
<button name="roll_Ag" type="roll" style="height: 60px;"
<button name="roll_agility" type="roll" style="height: 60px;"
value="@{gmroll}&{template:custom} {{name=**@{character_name} Test Agility**}} {{dosdof=[[((( ([[(@{agility}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input name="attr_agility" type="text" id="CharBtnIn" readonly />
</button>
<input name="attr_agilityBonus" title="Agility Bonus" id="unnatural" type="number" value="0" />
</div>
<div>
<button name="roll_Int" type="roll" style="height: 60px;"
<button name="roll_intelligence" type="roll" style="height: 60px;"
value="@{gmroll}&{template:custom} {{name=**@{character_name} Test Intelligence**}} {{dosdof=[[((( ([[(@{intelligence}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input name="attr_intelligence" type="text" id="CharBtnIn" readonly />
</button>
<input name="attr_intelligenceBonus" title="Intelligence Bonus" id="unnatural" type="number" value="0" />
</div>
<div>
<button name="roll_Per" type="roll" style="height: 60px;"
<button name="roll_perception" type="roll" style="height: 60px;"
value="@{gmroll}&{template:custom} {{name=**@{character_name} Test Perception**}} {{dosdof=[[((( ([[(@{perception}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input name="attr_perception" type="text" id="CharBtnIn" readonly />
</button>
<input name="attr_perceptionBonus" title="Perception Bonus" id="unnatural" type="number" value="0" />
</div>
<div>
<button name="roll_WP" type="roll" style="height: 60px;"
<button name="roll_willpower" type="roll" style="height: 60px;"
value="@{gmroll}&{template:custom} {{name=**@{character_name} Test Willpower**}} {{dosdof=[[((( ([[(@{willpower}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input name="attr_willpower" type="text" id="CharBtnIn" readonly />
</button>
<input name="attr_willpowerBonus" title="Willpower Bonus" id="unnatural" type="number" value="0" />
</div>
<div>
<button name="roll_Fel" type="roll" style="height: 60px;"
<button name="roll_fellowship" type="roll" style="height: 60px;"
value="@{gmroll}&{template:custom} {{name=**@{character_name} Test Fellowship**}} {{dosdof=[[((( ([[(@{fellowship}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input name="attr_fellowship" type="text" id="CharBtnIn" readonly />
</button>
@@ -156,82 +156,82 @@
<div>
<div class="spacing" style="width:8%"></div>
<span style="width:32%; margin:0">Adv.</span>
<input style="width:13%; height:10px" name="attr_advancedWS1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedWS2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedWS3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedWS4" type="checkbox" value="5" title="Expert" />
<input style="width:13%; height:10px" name="attr_advancedWeaponSkill1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedWeaponSkill2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedWeaponSkill3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedWeaponSkill4" type="checkbox" value="5" title="Expert" />
<div class="spacing" style="width:8%"></div>
</div>
<div>
<div class="spacing" style="width:8%"></div>
<span style="width:32%; margin:0">Adv.</span>
<input style="width:13%; height:10px" name="attr_advancedBS1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedBS2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedBS3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedBS4" type="checkbox" value="5" title="Expert" />
<input style="width:13%; height:10px" name="attr_advancedBallisticSkill1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedBallisticSkill2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedBallisticSkill3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedBallisticSkill4" type="checkbox" value="5" title="Expert" />
<div class="spacing" style="width:8%"></div>
</div>
<div>
<div class="spacing" style="width:8%"></div>
<span style="width:32%; margin:0">Adv.</span>
<input style="width:13%; height:10px" name="attr_advancedS1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedS2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedS3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedS4" type="checkbox" value="5" title="Expert" />
<input style="width:13%; height:10px" name="attr_advancedStrength1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedStrength2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedStrength3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedStrength4" type="checkbox" value="5" title="Expert" />
<div class="spacing" style="width:8%"></div>
</div>
<div>
<div class="spacing" style="width:8%"></div>
<span style="width:32%; margin:0">Adv.</span>
<input style="width:13%; height:10px" name="attr_advancedT1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedT2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedT3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedT4" type="checkbox" value="5" title="Expert" />
<input style="width:13%; height:10px" name="attr_advancedToughness1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedToughness2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedToughness3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedToughness4" type="checkbox" value="5" title="Expert" />
<div class="spacing" style="width:%"></div>
</div>
<div>
<div class="spacing" style="width:8%"></div>
<span style="width:32%; margin:0">Adv.</span>
<input style="width:13%; height:10px" name="attr_advancedAg1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedAg2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedAg3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedAg4" type="checkbox" value="5" title="Expert" />
<input style="width:13%; height:10px" name="attr_advancedAgility1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedAgility2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedAgility3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedAgility4" type="checkbox" value="5" title="Expert" />
<div class="spacing" style="width:8%"></div>
</div>
<div>
<div class="spacing" style="width:8%"></div>
<span style="width:32%; margin:0">Adv.</span>
<input style="width:13%; height:10px" name="attr_advancedInt1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedInt2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedInt3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedInt4" type="checkbox" value="5" title="Expert" />
<input style="width:13%; height:10px" name="attr_advancedIntelligence1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedIntelligence2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedIntelligence3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedIntelligence4" type="checkbox" value="5" title="Expert" />
<div class="spacing" style="width:8%"></div>
</div>
<div>
<div class="spacing" style="width:8%"></div>
<span style="width:32%; margin:0">Adv.</span>
<input style="width:13%; height:10px" name="attr_advancedPer1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedPer2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedPer3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedPer4" type="checkbox" value="5" title="Expert" />
<input style="width:13%; height:10px" name="attr_advancedPerception1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedPerception2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedPerception3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedPerception4" type="checkbox" value="5" title="Expert" />
<div class="spacing" style="width:8%"></div>
</div>
<div>
<div class="spacing" style="width:8%"></div>
<span style="width:32%; margin:0">Adv.</span>
<input style="width:13%; height:10px" name="attr_advancedWp1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedWp2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedWp3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedWp4" type="checkbox" value="5" title="Expert" />
<input style="width:13%; height:10px" name="attr_advancedWillpower1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedWillpower2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedWillpower3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedWillpower4" type="checkbox" value="5" title="Expert" />
<div class="spacing" style="width:8%"></div>
</div>
<div>
<div class="spacing" style="width:8%"></div>
<span style="width:32%; margin:0">Adv.</span>
<input style="width:13%; height:10px" name="attr_advancedFel1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedFel2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedFel3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedFel4" type="checkbox" value="5" title="Expert" />
<input style="width:13%; height:10px" name="attr_advancedFellowship1" type="checkbox" value="5" title="Simple" />
<input style="width:13%; height:10px" name="attr_advancedFellowship2" type="checkbox" value="5" title="Intermediate" />
<input style="width:13%; height:10px" name="attr_advancedFellowship3" type="checkbox" value="5" title="Trained" />
<input style="width:13%; height:10px" name="attr_advancedFellowship4" type="checkbox" value="5" title="Expert" />
<div class="spacing" style="width:8%"></div>
</div>
</div>
@@ -4476,7 +4476,7 @@
<label style="width:9%">Psy Rating:</label>
<input style="width:4%; font-weight:bold" name="attr_psyRating" type="number" value="0" />
<div class="spacing" style="width:0.5%"></div>
<select name="attr_powerlevel" style="width:15%">
<select name="attr_powerLevel" style="width:15%">
<option value="0" disabled style="background:gray;font-weight:bold;color:white;">Power Level</option>
<option value="1" selected>Fettered (PR/2)</option>
<option value="2">Unfettered (Full PR)</option>
@@ -4714,62 +4714,62 @@
<div class="grid2">
<!--Lineage and Mutations-->
<div class="leftbox">
<input name="attr_NavLineage" style="height:30px; font-size:20px; font-weight:bold; width:100%" type="text" placeholder="Navigator Lineage" />
<input style="width:85%" name="attr_NavLinBenefit" type="text" placeholder="Lineage Benefit" />
<input name="attr_navLineage" style="height:30px; font-size:20px; font-weight:bold; width:100%" type="text" placeholder="Navigator Lineage" />
<input style="width:85%" name="attr_navLinBenefit" type="text" placeholder="Lineage Benefit" />
<div class="spacing" style="width:1%"></div>
<button name="roll_NavLinDesc" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s Lineage**}} {{Title=**@{NavLineage}**}} {{Benefit=**@{NavLinBenefit}**}} {{desc=@{NavLinDescription}}}">
<button name="roll_navLinDesc" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s Lineage**}} {{Title=**@{navLineage}**}} {{Benefit=**@{navLinBenefit}**}} {{desc=@{navLinDescription}}}">
<label class="shct" title="Send to Chat">R</label>
</button>
<div class="spacing" style="width:1%"></div>
<input name="attr_HideNavLinDescription" style="width:3%" type="checkbox" class="arrow icon" value="1" title="Hide Description" />
<input name="attr_hideNavLinDescription" style="width:3%" type="checkbox" class="arrow icon" value="1" title="Hide Description" />
<div class="hbody">
<textarea name="attr_NavLinDescription" style="height: 65px" placeholder="Description"></textarea>
<textarea name="attr_navLinDescription" style="height: 65px" placeholder="Description"></textarea>
</div>
<fieldset class="repeating_navlinbenefits">
<input style="width:85%" name="attr_NavLinBenefit1" type="text" placeholder="Lineage Benefit" />
<input style="width:85%" name="attr_navLinBenefit1" type="text" placeholder="Lineage Benefit" />
<div class="spacing" style="width:1%"></div>
<button name="roll_NavLinDesc1" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s Lineage**}} {{Title=**@{NavLineage}**}} {{Benefit=**@{NavLinBenefit1}**}} {{desc=@{NavLinDescription1}}}">
<button name="roll_navLinDesc1" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s Lineage**}} {{Title=**@{navLineage}**}} {{Benefit=**@{navLinBenefit1}**}} {{desc=@{navLinDescription1}}}">
<label class="shct" title="Send to Chat">R</label>
</button>
<div class="spacing" style="width:1%"></div>
<input name="attr_HideNavLinDescription1" style="width:3%" type="checkbox" class="arrow icon" value="1" title="Hide Description" />
<input name="attr_hideNavLinDescription1" style="width:3%" type="checkbox" class="arrow icon" value="1" title="Hide Description" />
<div class="hbody">
<textarea name="attr_NavLinDescription1" style="height: 65px" placeholder="Description"></textarea>
<textarea name="attr_navLinDescription1" style="height: 65px" placeholder="Description"></textarea>
</div>
</fieldset>
<h3>Navigator Mutations &#9832;</h3>
<button name="roll_NavMutationTest" type="roll" style="width:44%"
<button name="roll_navMutationTest" type="roll" style="width:44%"
title="Rolls Toughness.&#10;Remember to add modifier based on Lineage."
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mutation**}} {{dosdof=[[((( ([[(@{toughness}+(@{navmutmod}) )]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mutation**}} {{dosdof=[[((( ([[(@{toughness}+(@{navigatorMutationMod}) )]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>Navigator Mutation Test</label>
</button>
<div class="spacing" style="width:1%"></div>
<input name="attr_navmutmod" style="width:10%" type="number" value="0" title="Mod applied to Mutation Test based on Lineage Benefit" />
<input name="attr_navigatorMutationMod" style="width:10%" type="number" value="0" title="Mod applied to Mutation Test based on Lineage Benefit" />
<div class="spacing" style="width:1%"></div>
<button name="roll_NavMutationTable" type="roll" style="width:44%"
<button name="roll_navMutationTable" type="roll" style="width:44%"
value="@{gmroll}&{template:custom} {{name=**@{character_name} rolls on**&#10;**The Navigator Mutation Table**}} {{navmutable= [[1d100]]}} {{d5=[[1d5]]}}">
<label>Navigator Mutation Table</label>
</button>
<h1>Mutations Gained</h1>
<fieldset class="repeating_navmutations">
<input name="attr_NavMutationName" type="text" style="width:85%" placeholder="Mutation Name" />
<fieldset class="repeating_navMutations">
<input name="attr_navMutationName" type="text" style="width:85%" placeholder="Mutation Name" />
<div class="spacing" style="width:1%"></div>
<button name="roll_NavMutDesc" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s Mutation**}} {{Title=**@{NavMutationName}**}} {{desc=@{NavMutationDesc}}}">
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s Mutation**}} {{Title=**@{navMutationName}**}} {{desc=@{navMutationDesc}}}">
<label class="shct" title="Send to Chat">R</label>
</button>
<div class="spacing" style="width:1%"></div>
<input name="attr_HideNavMutation" style="width:3%" type="checkbox" value="1" class="arrow icon" title="Hide Description" />
<input name="attr_hideNavMutation" style="width:3%" type="checkbox" value="1" class="arrow icon" title="Hide Description" />
<div class="hbody">
<textarea name="attr_NavMutationDesc" style="height: 65px" placeholder="Description"></textarea>
<textarea name="attr_navMutationDesc" style="height: 65px" placeholder="Description"></textarea>
</div>
</fieldset>
</div>
<!--Nav Powers column-->
<div class="rightbox">
<fieldset class="repeating_navpower">
<fieldset class="repeating_navPower">
<div class="quickborder">
<div class="gridnav">
<label class="label1">Power Name</label>
@@ -4781,8 +4781,8 @@
<label class="label2">Roll</label>
</div>
<div class="gridnav">
<input id="subitem" name="attr_NavPowerName" type="text" />
<select id="subitem"name="attr_NavPowercharacteristic">
<input id="subitem" name="attr_navPowerName" type="text" />
<select id="subitem"name="attr_navPowercharacteristic">
<option value="@{strength}">S</option>
<option value="@{toughness}">T</option>
<option value="@{agility}">Ag</option>
@@ -4792,23 +4792,23 @@
<option value="@{fellowship}">Fel</option>
</select>
<div id="cbitem">
<input type="checkbox" name="attr_NavPowerbox1" value="1" />
<input type="checkbox" name="attr_navPowerbox1" value="1" />
</div>
<div id="cbitem">
<input type="checkbox" name="attr_NavPowerbox2" value="10" />
<input type="checkbox" name="attr_navPowerbox2" value="10" />
</div>
<div id="cbitem">
<input type="checkbox" name="attr_NavPowerbox3" value="10" />
<input type="checkbox" name="attr_navPowerbox3" value="10" />
</div>
<input id="subitem" name="attr_NavPowerMod" type="number" value="0" />
<button name="roll_NavPower" type="roll" id="subitem"
value="@{gmroll}&{template:custom} {{name=**@{character_name} attempts to use @{NavPowerName}**}} {{Action=**@{NavPowerAction}**}} {{Range=**@{NavPowerRange}**}} {{dosdof=[[((( ([[(@{NavPower}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input disabled name="attr_NavPower" type="text" value="(@{NavPowercharacteristic}*@{NavPowerbox1})+@{NavPowerbox2}+@{NavPowerbox3}+@{NavPowerMod}" />
<input id="subitem" name="attr_navPowerMod" type="number" value="0" />
<button name="roll_navPower" type="roll" id="subitem"
value="@{gmroll}&{template:custom} {{name=**@{character_name} attempts to use @{navPowerName}**}} {{Action=**@{navPowerAction}**}} {{Range=**@{navPowerRange}**}} {{dosdof=[[((( ([[(@{navPower}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<input disabled name="attr_navPower" type="text" value="(@{navPowercharacteristic}*@{navPowerbox1})+@{navPowerbox2}+@{navPowerbox3}+@{navPowerMod}" />
</button>
</div>
<div class="spacing" style="width:100%; height:3px"></div>
<!--end of line-->
<select name="attr_NavPowerAction" style="width:22%">
<select name="attr_navPowerAction" style="width:22%">
<option disabled style="background:gray;font-weight:bold;color:white">Action Time</option>
<option value="Half">Half</option>
<option value="Full" selected>Full</option>
@@ -4817,11 +4817,11 @@
<option value="Undefined">Undefined</option>
</select>
<div class="spacing" style="width:0.5%"></div>
<input name="attr_NavPowerRange" type="text" placeholder="Range" style="width:18%" title="Range" />
<input name="attr_navPowerRange" type="text" placeholder="Range" style="width:18%" title="Range" />
<div class="spacing" style="width:0.5%"></div>
<input name="attr_NavPowerDamage" type="text" placeholder="Damage" style="width:18%" title="Damage Dice" />
<input name="attr_navPowerDamage" type="text" placeholder="Damage" style="width:18%" title="Damage Dice" />
<div class="spacing" style="width:0.5%"></div>
<select name="attr_NavPowerDamageType" style="width:11%">
<select name="attr_navPowerDamageType" style="width:11%">
<option disabled style="background:gray;font-weight:bold;color:white">Damage Type</option>
<option value="Energy" selected>(E) Energy</option>
<option value="Explosive">(X) Explosive</option>
@@ -4829,21 +4829,21 @@
<option value="Rending">(R) Rending</option>
</select>
<div class="spacing" style="width:0.5%"></div>
<button name="roll_NavPowerDamage" type="roll" title="Rolls Power Damage" style="width:15%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s @{NavPowerName} deals**}} {{d1=[[@{NavPowerDamage}]] **@{NavPowerDamageType} Damage!**}}">
<button name="roll_navPowerDamage" type="roll" title="Rolls Power Damage" style="width:15%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s @{navPowerName} deals**}} {{d1=[[@{navPowerDamage}]] **@{navPowerDamageType} Damage!**}}">
<label>Damage</label>
</button>
<div class="spacing" style="width:0.5%"></div>
<button name="roll_NavPowDesc" type="roll" title="Show Description in Chat" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s @{NavPowerName}**}} {{Novice=@{NavPowerNovice} }} {{Adept=@{NavPowerAdept} }} {{Master=@{NavPowerMaster} }}">
<button name="roll_navPowerDescription" type="roll" title="Show Description in Chat" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s @{navPowerName}**}} {{Novice=@{navPowerNovice} }} {{Adept=@{navPowerAdept} }} {{Master=@{navPowerMaster} }}">
<label class="shct" title="Send to Chat">R</label>
</button>
<div class="spacing" style="width:0.5%"></div>
<input name="attr_HideNavPowDesc" style="width:3%" type="checkbox" value="1" class="arrow icon" title="Hide Level Description" />
<input name="attr_hideNavPowerDescription" style="width:3%" type="checkbox" value="1" class="arrow icon" title="Hide Level Description" />
<div class="hbody">
<textarea name="attr_NavPowerNovice" style="height:65px" placeholder="Novice Level Description"></textarea>
<textarea name="attr_NavPowerAdept" style="height:65px" placeholder="Adept Level Description"></textarea>
<textarea name="attr_NavPowerMaster" style="height:65px" placeholder="Master Level Description"></textarea>
<textarea name="attr_navPowerNovice" style="height:65px" placeholder="Novice Level Description"></textarea>
<textarea name="attr_navPowerAdept" style="height:65px" placeholder="Adept Level Description"></textarea>
<textarea name="attr_navPowerMaster" style="height:65px" placeholder="Master Level Description"></textarea>
</div>
</div><!--quickborder-->
</fieldset>
@@ -4860,10 +4860,10 @@
<div class="spacing" style="width:2%"></div>
<label title="Total XP Spent determines your character's Rank&#10;&#10;Rank 1: 13,000 - 16,999&#10;Rank 2: 17,000 - 20,999&#10;Rank 3: 21,000 24,999&#10;Rank 4: 25,000 29,999&#10;Rank 5: 30,000 34,999&#10;Rank 6: 35,000 39,999&#10;Rank 7: 40,000 44,999&#10;Rank 8: 45,000 - 49,999+"
style="width:14%" class="help">&#128712; Total XP Spent:</label>
<input name="attr_XPSpent" type="text" style="width:14%" value="@{advtotal1} + @{advtotal2} + @{advtotal3}" disabled />
<input name="attr_advtotal1" type="hidden" value="0" />
<input name="attr_advtotal2" type="hidden" value="0" />
<input name="attr_advtotal3" type="hidden" value="0" />
<input name="attr_XPSpent" type="text" style="width:14%" value="@{advancementTotal1} + @{advancementTotal2} + @{advancementTotal3}" disabled />
<input name="attr_advancementTotal1" type="hidden" value="0" />
<input name="attr_advancementTotal2" type="hidden" value="0" />
<input name="attr_advancementTotal3" type="hidden" value="0" />
<div class="spacing" style="width:2%"></div>
<label style="width:11%" class="help" title="XP Earned during play&#10;&#10;Characters start with 12k XP spent on&#10;character creation +1000 XP for customizing&#10;&#10;A Rank 1 Space Marine is roughly equivalent to&#10;a Rogue Trader character or a Dark Heresy&#10;character using Ascension with 14k XP">&#128712; Earned XP:</label>
<input name="attr_XPTotal" type="number" style="width:14%" value="13000" />
@@ -4966,31 +4966,31 @@
<div class="leftbox">
<h3>Insanity Points (IP)</h3>
<div class="spacing" style="width:1%"></div>
<button type="roll" name="roll_feartest" style="width:20%" title="Rolls Willpower minus Fear Rating"
<button type="roll" name="roll_fearTest" style="width:20%" title="Rolls Willpower minus Fear Rating"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Fear**}} {{dosdof=[[((( ([[(@{willpower} + (?{Fear Rating|Fear 1 Disturbing (-0),+0|Fear 2 Frightening (-10),-10|Fear 3 Horrifying (-20),-20|Fear 4 Terrifying (-30),-30}) + (?{Modifier|0}) )]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>Fear Test</label>
</button>
<div class="spacing" style="width:2%"></div>
<button type="roll" name="roll_shocktable" style="width:20%" title="Rolls the Shock Table"
<button type="roll" name="roll_shockTable" style="width:20%" title="Rolls the Shock Table"
value="@{gmroll}&{template:custom} {{name=**@{character_name} rolls on**&#10;**The Shock Table**}} {{shocktable=[[1d100cs1cf100 + (?{Degrees of Failure?|0}*10) ]]}} {{d10=[[1d10]]}} {{xd10=[[2d10]]}} {{d5=[[1d5]]}} {{xd5=[[1d5+1]]}}">
<label>Shock Table</label>
</button>
<div class="spacing" style="width:2%"></div>
<input name="attr_Insanity" class="bold" type="number" value="0" style="width:10%; font-weight:bold" title="Total Insanity Points" />
<input name="attr_insanity" class="bold" type="number" value="0" style="width:10%; font-weight:bold" title="Total Insanity Points" />
<div class="spacing" style="width:2%"></div>
<button type="roll" name="roll_traumatest" style="width:20%" title="Rolls Willpower +/- Trauma Modifier"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mental Trauma**}} {{dosdof=[[((( ([[(@{willpower} + (@{madnessdegree}) + (?{Modifier|0}) )]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<button type="roll" name="roll_traumaTest" style="width:20%" title="Rolls Willpower +/- Trauma Modifier"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mental Trauma**}} {{dosdof=[[((( ([[(@{willpower} + (@{madnessDegree}) + (?{Modifier|0}) )]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>Trauma Test</label>
</button>
<div class="spacing" style="width:2%"></div>
<button type="roll" name="roll_traumatable" style="width:20%" title="Rolls the Trauma Table"
<button type="roll" name="roll_traumaTable" style="width:20%" title="Rolls the Trauma Table"
value="@{gmroll}&{template:custom} {{name=**@{character_name} rolls on**&#10;**The Trauma Table**}} {{traumatable=[[1d100cs1cf100 + (?{Degrees of Failure?|0}*10) ]]}} {{d10=[[1d10]]}} {{xd10=[[3d10]]}} {{d5=[[1d5]]}}">
<label>Trauma Table</label>
</button>
<div class="spacing" style="width:1%"></div>
<!--end of line-->
<div class="spacing" style="width:1%"></div>
<select name="attr_madnessdegree" style="width:42%">
<select name="attr_madnessDegree" style="width:42%">
<option disabled style="background:gray;font-weight:bold;color:white;">Degree of Madness</option>
<option value="10" selected>Stable (0-9 IP)</option>
<option value="10">Unsettled (10-39 IP)</option>
@@ -5001,49 +5001,49 @@
</select>
<div class="spacing" style="width:24%"></div>
<label style="width:22%">Trauma Mod:</label>
<input name="attr_TraumaMod" type="text" style="width:10%" value="@{madnessdegree}" disabled="true" title="This value is added to the Trauma Test&#10;Based on Degree of Madness" />
<input name="attr_traumaMod" type="text" style="width:10%" value="@{madnessDegree}" disabled="true" title="This value is added to the Trauma Test&#10;Based on Degree of Madness" />
<div class="spacing" style="width:1%"></div>
<!--end of line-->
<h1>Mental Disorders</h1>
<fieldset class="repeating_disorders">
<input name="attr_DisorderName" type="text" style="width:70%" placeholder="Disorder Name" />
<input name="attr_disorderName" type="text" style="width:70%" placeholder="Disorder Name" />
<div class="spacing" style="width:1%"></div>
<select name="attr_disorderseverity" style="width:14%">
<select name="attr_disorderSeverity" style="width:14%">
<option disabled style="background:gray;font-weight:bold;color:white;">Severity</option>
<option value="Minor" selected>Minor</option>
<option value="Severe">Severe</option>
<option value="Acute">Acute</option>
</select>
<div class="spacing" style="width:1%"></div>
<button name="roll_Disorder" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s @{disordername}**}} {{Severity=**@{disorderseverity}**}} {{desc=@{disorderdesc}}}">
<button name="roll_disorder" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s @{disorderName}**}} {{Severity=**@{disorderSeverity}**}} {{desc=@{disorderDesc}}}">
<label class="shct" title="Send to Chat">R</label>
</button>
<div class="spacing" style="width:1%"></div>
<input type="checkbox" style="width:3%" name="attr_HideDisorder" value="1" class="arrow icon" title="Hide Description" />
<input type="checkbox" style="width:3%" name="attr_hideDisorder" value="1" class="arrow icon" title="Hide Description" />
<div class="hbody">
<textarea name="attr_disorderdesc" style="height:65px" placeholder="Description"></textarea>
<textarea name="attr_disorderDesc" style="height:65px" placeholder="Description"></textarea>
</div>
</fieldset>
</div>
<div class="rightbox">
<h3>Corruption Points (CP)</h3>
<div class="spacing" style="width:2%"></div>
<button name="roll_Malignancy" type="roll" style="width:40%" title="Rolls Willpower minus Malignancy Modifier"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist a Malignancy**}} {{dosdof=[[((( ([[(@{willpower} + (@{MaligMod}) + (?{Modifier|0}) )]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<button name="roll_malignancy" type="roll" style="width:40%" title="Rolls Willpower minus Malignancy Modifier"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist a Malignancy**}} {{dosdof=[[((( ([[(@{willpower} + (@{maligMod}) + (?{Modifier|0}) )]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>Malignancy Test</label>
</button>
<div class="spacing" style="width:2%"></div>
<input name="attr_Corruption" type="number" value="0" style="width:12%; font-weight:bold" title="Total Corruption Points" />
<div class="spacing" style="width:2%"></div>
<button name="roll_MaligTable" type="roll" style="width:40%"
<button name="roll_maligTable" type="roll" style="width:40%"
value="@{gmroll}&{template:custom} {{name=**@{character_name} rolls on**&#10;**The Malignancy Table**}} {{maligtable=[[1d100]]}} {{d10=[[1d10]]}}">
<label>Malignancy Table</label>
</button>
<div class="spacing" style="width:2%"></div>
<!--end of line-->
<div class="spacing" style="width:2%"></div>
<select name="attr_corruptiondegree" style="width:40%">
<select name="attr_corruptionDegree" style="width:40%">
<option disabled style="background:gray;font-weight:bold;color:white">Degree of Corruption</option>
<option value="0" selected>Pure (0 CP)</option>
<option value="0">Tainted (1-30 CP)</option>
@@ -5054,92 +5054,92 @@
</select>
<div class="spacing" style="width:18%"></div>
<label style="width:28%">Malignancy Mod:</label>
<input name="attr_MaligMod" style="width:10%" type="text" value="@{corruptiondegree}" disabled title="This value is added to the Malignancy Test&#10;Based on Degree of Corruption" />
<input name="attr_maligMod" style="width:10%" type="text" value="@{corruptionDegree}" disabled title="This value is added to the Malignancy Test&#10;Based on Degree of Corruption" />
<div class="spacing" style="width:2%"></div>
<!--end of line-->
<h1>Mutation Tests</h1>
<button name="roll_MutationS" type="roll" style="width:10%"
<button name="roll_mutationStrength" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mutation using Strength**}} {{dosdof=[[((( ([[(@{strength}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>S</label>
</button>
<div class="spacing" style="width:1%"></div>
<button name="roll_MutationT" type="roll" style="width:10%"
<button name="roll_mutationToughness" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mutation using Toughness**}} {{dosdof=[[((( ([[(@{toughness}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>T</label>
</button>
<div class="spacing" style="width:1%"></div>
<button name="roll_MutationAg" type="roll" style="width:10%"
<button name="roll_mutationAgility" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mutation using Agility**}} {{dosdof=[[((( ([[(@{agility}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>Ag</label>
</button>
<div class="spacing" style="width:1%"></div>
<button name="roll_MutationInt" type="roll" style="width:10%"
<button name="roll_mutationIntelligence" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mutation using Intelligence**}} {{dosdof=[[((( ([[(@{intelligence}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>Int</label>
</button>
<div class="spacing" style="width:1%"></div>
<button name="roll_MutationPer" type="roll" style="width:10%"
<button name="roll_mutationPerception" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mutation using Perception**}} {{dosdof=[[((( ([[(@{perception}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>Per</label>
</button>
<div class="spacing" style="width:1%"></div>
<button name="roll_MutationWP" type="roll" style="width:10%"
<button name="roll_mutationWillpower" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mutation using Willpower**}} {{dosdof=[[((( ([[(@{willpower}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>Wp</label>
</button>
<div class="spacing" style="width:1%"></div>
<button name="roll_MutationFel" type="roll" style="width:10%"
<button name="roll_mutationFellowship" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name} tries to resist Mutation using Fellowship**}} {{dosdof=[[((( ([[(@{fellowship}+?{Modifier|0})]] - [[1d100cs1cf100]]) * 100 % 999 % 100 )))]] **Degrees**}} {{testtarget= $[[0]] }} {{d100= $[[1]] }} {{testresult= }}">
<label>Fel</label>
</button>
<div class="spacing" style="width:1%"></div>
<button name="roll_MutationTable" type="roll" style="width:23%"
<button name="roll_mutationTable" type="roll" style="width:23%"
value="@{gmroll}&{template:custom} {{name=**@{character_name} rolls on**&#10;**The Mutation Table**}} {{mutable=[[1d100]]}} {{d10=[[1d10]]}} {{xd10=[[2d10]]}} {{d5=[[1d5]]}}">
<label>Mutation Table</label>
</button>
<!--end of line-->
<div class="spacing" style="width:4%"></div>
<input type="checkbox" style="width:3%" name="attr_MutCBS" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<input type="checkbox" style="width:3%" name="attr_mutCBSTrength" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<div class="spacing" style="width:8%"></div>
<input type="checkbox" style="width:3%" name="attr_MutCBT" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<input type="checkbox" style="width:3%" name="attr_mutCBToughness" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<div class="spacing" style="width:8%"></div>
<input type="checkbox" style="width:3%" name="attr_MutCBA" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<input type="checkbox" style="width:3%" name="attr_mutCBAgility" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<div class="spacing" style="width:8%"></div>
<input type="checkbox" style="width:3%" name="attr_MutCBI" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<input type="checkbox" style="width:3%" name="attr_mutCBIntelligence" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<div class="spacing" style="width:8%"></div>
<input type="checkbox" style="width:3%" name="attr_MutCBP" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<input type="checkbox" style="width:3%" name="attr_mutCBPerception" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<div class="spacing" style="width:8%"></div>
<input type="checkbox" style="width:3%" name="attr_MutCBW" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<input type="checkbox" style="width:3%" name="attr_mutCBWillpower" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<div class="spacing" style="width:8%"></div>
<input type="checkbox" style="width:3%" name="attr_MutCBF" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<input type="checkbox" style="width:3%" name="attr_mutCBFellowship" value="1" title="You must successfully test against two characteristics.&#10;Check here those you have already tested against and can no longer use for this test" />
<div class="spacing" style="width:27%"></div>
<!--end of line-->
<h1>Malignancies</h1>
<fieldset class="repeating_malignancies">
<input style="width:85%" name="attr_MaligName" type="text" placeholder="Malignancy Name" />
<input style="width:85%" name="attr_maligName" type="text" placeholder="Malignancy Name" />
<div class="spacing" style="width:1%"></div>
<button name="roll_malignancydesc" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s @{maligname}**}} {{desc=@{maligdesc}}}">
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s @{maligName}**}} {{desc=@{maligDesc}}}">
<label class="shct" title="Send to Chat">R</label>
</button>
<div class="spacing" style="width:1%"></div>
<input style="width:3%" type="checkbox" name="attr_HideMalig" value="1" class="arrow icon" title="Hide Description" />
<input style="width:3%" type="checkbox" name="attr_hideMalig" value="1" class="arrow icon" title="Hide Description" />
<div class="hbody">
<textarea name="attr_Maligdesc" style="height:65px" placeholder="Malignancy Description"></textarea>
<textarea name="attr_maligDesc" style="height:65px" placeholder="Malignancy Description"></textarea>
</div>
</fieldset>
<h1>Mutations</h1>
<fieldset class="repeating_mutations">
<input style="width:85%" name="attr_MutationName" type="text" placeholder="Mutation Name" />
<input style="width:85%" name="attr_mutationName" type="text" placeholder="Mutation Name" />
<div class="spacing" style="width:1%"></div>
<button name="roll_mutationdesc" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s @{MutationName}**}} {{desc=@{mutationdesc}}}">
<button name="roll_mutationDesc" type="roll" style="width:10%"
value="@{gmroll}&{template:custom} {{name=**@{character_name}'s @{mutationName}**}} {{desc=@{mutationDesc}}}">
<label class="shct" title="Send to Chat">R</label>
</button>
<div class="spacing" style="width:1%"></div>
<input style="width:3%" type="checkbox" name="attr_hidemutationdesc" value="1" class="arrow icon" title="Hide Description" />
<input style="width:3%" type="checkbox" name="attr_hideMutationDesc" value="1" class="arrow icon" title="Hide Description" />
<div class="hbody">
<textarea name="attr_mutationdesc" style="height:65px" placeholder="Description"></textarea>
<textarea name="attr_mutationDesc" style="height:65px" placeholder="Description"></textarea>
</div>
</fieldset>
</div>
@@ -5316,27 +5316,27 @@ on("change:Rank sheet:opened", function() {
});
/* --- script for psy power dice battle psyker--- */
on("change:psyRating change:powerlevel sheet:opened", function() {
getAttrs(["powerlevel", "psyRating"], function(values) {
var pl = parseInt(values["powerlevel"]);
var pr = parseInt(values["psyRating"]);
on("change:psyRating change:powerLevel sheet:opened", function() {
getAttrs(["powerLevel", "psyRating"], function(values) {
var powerLevel = parseInt(values["powerLevel"]);
var psyRating = parseInt(values["psyRating"]);
var effectivePsyRating = "";
var psyDice = "";
console.log(values, pl, pr);
if (pl == 1) {
effectivePsyRating = Math.ceil(pr / 2);
} else if (pl == 2) {
effectivePsyRating = pr;
} else if (pl == 3) {
effectivePsyRating = pr +3;
} else if (pl == 4) {
effectivePsyRating = pr +4;
console.log(values, powerLevel, psyRating);
if (powerLevel == 1) {
effectivePsyRating = Math.ceil(psyRating / 2);
} else if (powerLevel == 2) {
effectivePsyRating = psyRating;
} else if (powerLevel == 3) {
effectivePsyRating = psyRating +3;
} else if (powerLevel == 4) {
effectivePsyRating = psyRating +4;
}
if (pr>effectivePsyRating) {
if (psyRating>effectivePsyRating) {
psyDice = "1d100cs101cf>91";
} else if (pr == effectivePsyRating) {
} else if (psyRating == effectivePsyRating) {
psyDice = "1d100cs11cs22cs33cs44cs55cs66cs77cs88cs99cs100cf>91";
} else if (pr < effectivePsyRating) {
} else if (psyRating < effectivePsyRating) {
psyDice = "1d100cs>0cf>91";
}
setAttrs({"psyDice":psyDice, "effectivePsyRating":effectivePsyRating});
@@ -5381,146 +5381,146 @@ on('change:repeating_psypowers3:sustainingpower3 remove:repeating_psypowers3',fu
repeatingSum("sustainingPowerTotal3","psypowers3","sustainingpower3");
});
on('change:repeating_advancements:advancement1xp remove:repeating_advancements',function(){
repeatingSum("advtotal1","advancements","advancement1xp");
repeatingSum("advancementTotal1","advancements","advancement1xp");
});
on('change:repeating_advancements:advancement2xp remove:repeating_advancements',function(){
repeatingSum("advtotal2","advancements","advancement2xp");
repeatingSum("advancementTotal2","advancements","advancement2xp");
});
on('change:repeating_advancements:advancement3xp remove:repeating_advancements',function(){
repeatingSum("advtotal3","advancements","advancement3xp");
repeatingSum("advancementTotal3","advancements","advancement3xp");
});
/* ---- script worker for characteristics ---- */
on("change:startingWS change:advancedWS1 change:advancedWS2 change:advancedWS3 change:advancedWS4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingWS","advancedWS1","advancedWS2","advancedWS3","advancedWS4","fatiguePenalty"], function(values) {
var startingWS = parseInt(values["startingWS"])||0;
var advancedWS1 = parseInt(values["advancedWS1"])||0;
var advancedWS2 = parseInt(values["advancedWS2"])||0;
var advancedWS3 = parseInt(values["advancedWS3"])||0;
var advancedWS4 = parseInt(values["advancedWS4"])||0;
on("change:startingWeaponSkill change:advancedWeaponSkill1 change:advancedWeaponSkill2 change:advancedWeaponSkill3 change:advancedWeaponSkill4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingWeaponSkill","advancedWeaponSkill1","advancedWeaponSkill2","advancedWeaponSkill3","advancedWeaponSkill4","fatiguePenalty"], function(values) {
var startingWeaponSkill = parseInt(values["startingWeaponSkill"])||0;
var advancedWeaponSkill1 = parseInt(values["advancedWeaponSkill1"])||0;
var advancedWeaponSkill2 = parseInt(values["advancedWeaponSkill2"])||0;
var advancedWeaponSkill3 = parseInt(values["advancedWeaponSkill3"])||0;
var advancedWeaponSkill4 = parseInt(values["advancedWeaponSkill4"])||0;
var fatiguePenalty = parseInt(values["fatiguePenalty"])||0;
var output = startingWS + advancedWS1 + advancedWS2 + advancedWS3 + advancedWS4 - fatiguePenalty
var output = startingWeaponSkill + advancedWeaponSkill1 + advancedWeaponSkill2 + advancedWeaponSkill3 + advancedWeaponSkill4 - fatiguePenalty
setAttrs({
"weaponSKill": output
"weaponSkill": output
});
});
});
on("change:startingBS change:advancedBS1 change:advancedBS2 change:advancedBS3 change:advancedBS4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingBS","advancedBS1","advancedBS2","advancedBS3","advancedBS4","fatiguePenalty"], function(values) {
var startingBS = parseInt(values["startingBS"])||0;
var advancedBS1 = parseInt(values["advancedBS1"])||0;
var advancedBS2 = parseInt(values["advancedBS2"])||0;
var advancedBS3 = parseInt(values["advancedBS3"])||0;
var advancedBS4 = parseInt(values["advancedBS4"])||0;
on("change:startingBallisticSkill change:advancedBallisticSkill1 change:advancedBallisticSkill2 change:advancedBallisticSkill3 change:advancedBallisticSkill4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingBallisticSkill","advancedBallisticSkill1","advancedBallisticSkill2","advancedBallisticSkill3","advancedBallisticSkill4","fatiguePenalty"], function(values) {
var startingBallisticSkill = parseInt(values["startingBallisticSkill"])||0;
var advancedBallisticSkill1 = parseInt(values["advancedBallisticSkill1"])||0;
var advancedBallisticSkill2 = parseInt(values["advancedBallisticSkill2"])||0;
var advancedBallisticSkill3 = parseInt(values["advancedBallisticSkill3"])||0;
var advancedBallisticSkill4 = parseInt(values["advancedBallisticSkill4"])||0;
var fatiguePenalty = parseInt(values["fatiguePenalty"])||0;
var output = startingBS + advancedBS1 + advancedBS2 + advancedBS3 + advancedBS4 - fatiguePenalty
var output = startingBallisticSkill + advancedBallisticSkill1 + advancedBallisticSkill2 + advancedBallisticSkill3 + advancedBallisticSkill4 - fatiguePenalty
setAttrs({
"ballisticSKill": output
});
});
});
on("change:startingS change:advancedS1 change:advancedS2 change:advancedS3 change:advancedS4 change:fatiguePenalty change:powerArmourStrength sheet:opened", function() {
getAttrs(["startingS","advancedS1","advancedS2","advancedS3","advancedS4","fatiguePenalty","powerArmourStrength"], function(values) {
var startingS = parseInt(values["startingS"])||0;
var advancedS1 = parseInt(values["advancedS1"])||0;
var advancedS2 = parseInt(values["advancedS2"])||0;
var advancedS3 = parseInt(values["advancedS3"])||0;
var advancedS4 = parseInt(values["advancedS4"])||0;
on("change:startingStrength change:advancedStrength1 change:advancedStrength2 change:advancedStrength3 change:advancedStrength4 change:fatiguePenalty change:powerArmourStrength sheet:opened", function() {
getAttrs(["startingStrength","advancedStrength1","advancedStrength2","advancedStrength3","advancedStrength4","fatiguePenalty","powerArmourStrength"], function(values) {
var startingStrength = parseInt(values["startingStrength"])||0;
var advancedStrength1 = parseInt(values["advancedStrength1"])||0;
var advancedStrength2 = parseInt(values["advancedStrength2"])||0;
var advancedStrength3 = parseInt(values["advancedStrength3"])||0;
var advancedStrength4 = parseInt(values["advancedStrength4"])||0;
var powerArmourStrength = parseInt(values["powerArmourStrength"])||0;
var fatiguePenalty = parseInt(values["fatiguePenalty"])||0;
var output = startingS + advancedS1 + advancedS2 + advancedS3 + advancedS4 + powerArmourStrength - fatiguePenalty
var output = startingStrength + advancedStrength1 + advancedStrength2 + advancedStrength3 + advancedStrength4 + powerArmourStrength - fatiguePenalty
setAttrs({
"strength": output
});
});
});
on("change:startingT change:advancedT1 change:advancedT2 change:advancedT3 change:advancedT4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingT","advancedT1","advancedT2","advancedT3","advancedT4","fatiguePenalty"], function(values) {
var startingT = parseInt(values["startingT"])||0;
var advancedT1 = parseInt(values["advancedT1"])||0;
var advancedT2 = parseInt(values["advancedT2"])||0;
var advancedT3 = parseInt(values["advancedT3"])||0;
var advancedT4 = parseInt(values["advancedT4"])||0;
on("change:startingToughness change:advancedToughness1 change:advancedToughness2 change:advancedToughness3 change:advancedToughness4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingToughness","advancedToughness1","advancedToughness2","advancedToughness3","advancedToughness4","fatiguePenalty"], function(values) {
var startingToughness = parseInt(values["startingToughness"])||0;
var advancedToughness1 = parseInt(values["advancedToughness1"])||0;
var advancedToughness2 = parseInt(values["advancedToughness2"])||0;
var advancedToughness3 = parseInt(values["advancedToughness3"])||0;
var advancedToughness4 = parseInt(values["advancedToughness4"])||0;
var fatiguePenalty = parseInt(values["fatiguePenalty"])||0;
var output = startingT + advancedT1 + advancedT2 + advancedT3 + advancedT4 - fatiguePenalty
var output = startingToughness + advancedToughness1 + advancedToughness2 + advancedToughness3 + advancedToughness4 - fatiguePenalty
setAttrs({
"toughness": output
});
});
});
on("change:startingAG change:advancedAg1 change:advancedAg2 change:advancedAg3 change:advancedAg4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingAG","advancedAg1","advancedAg2","advancedAg3","advancedAg4","fatiguePenalty"], function(values) {
var startingAG = parseInt(values["startingAG"])||0;
var advancedAg1 = parseInt(values["advancedAg1"])||0;
var advancedAg2 = parseInt(values["advancedAg2"])||0;
var advancedAg3 = parseInt(values["advancedAg3"])||0;
var advancedAg4 = parseInt(values["advancedAg4"])||0;
on("change:startingAgility change:advancedAgility1 change:advancedAgility2 change:advancedAgility3 change:advancedAgility4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingAgility","advancedAgility1","advancedAgility2","advancedAgility3","advancedAgility4","fatiguePenalty"], function(values) {
var startingAgility = parseInt(values["startingAgility"])||0;
var advancedAgility1 = parseInt(values["advancedAgility1"])||0;
var advancedAgility2 = parseInt(values["advancedAgility2"])||0;
var advancedAgility3 = parseInt(values["advancedAgility3"])||0;
var advancedAgility4 = parseInt(values["advancedAgility4"])||0;
var fatiguePenalty = parseInt(values["fatiguePenalty"])||0;
var output = startingAG + advancedAg1 + advancedAg2 + advancedAg3 + advancedAg4 - fatiguePenalty
var output = startingAgility + advancedAgility1 + advancedAgility2 + advancedAgility3 + advancedAgility4 - fatiguePenalty
setAttrs({
"agility": output
});
});
});
on("change:startingINT change:advancedInt1 change:advancedInt2 change:advancedInt3 change:advancedInt4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingINT","advancedInt1","advancedInt2","advancedInt3","advancedInt4","fatiguePenalty"], function(values) {
var startingINT = parseInt(values["startingINT"])||0;
var advancedInt1 = parseInt(values["advancedInt1"])||0;
var advancedInt2 = parseInt(values["advancedInt2"])||0;
var advancedInt3 = parseInt(values["advancedInt3"])||0;
var advancedInt4 = parseInt(values["advancedInt4"])||0;
on("change:startingIntelligence change:advancedIntelligence1 change:advancedIntelligence2 change:advancedIntelligence3 change:advancedIntelligence4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingIntelligence","advancedIntelligence1","advancedIntelligence2","advancedIntelligence3","advancedIntelligence4","fatiguePenalty"], function(values) {
var startingIntelligence = parseInt(values["startingIntelligence"])||0;
var advancedIntelligence1 = parseInt(values["advancedIntelligence1"])||0;
var advancedIntelligence2 = parseInt(values["advancedIntelligence2"])||0;
var advancedIntelligence3 = parseInt(values["advancedIntelligence3"])||0;
var advancedIntelligence4 = parseInt(values["advancedIntelligence4"])||0;
var fatiguePenalty = parseInt(values["fatiguePenalty"])||0;
var output = startingINT + advancedInt1 + advancedInt2 + advancedInt3 + advancedInt4 - fatiguePenalty
var output = startingIntelligence + advancedIntelligence1 + advancedIntelligence2 + advancedIntelligence3 + advancedIntelligence4 - fatiguePenalty
setAttrs({
"intelligence": output
});
});
});
on("change:startingPER change:advancedPer1 change:advancedPer2 change:advancedPer3 change:advancedPer4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingPER","advancedPer1","advancedPer2","advancedPer3","advancedPer4","fatiguePenalty"], function(values) {
var startingPER = parseInt(values["startingPER"])||0;
var advancedPer1 = parseInt(values["advancedPer1"])||0;
var advancedPer2 = parseInt(values["advancedPer2"])||0;
var advancedPer3 = parseInt(values["advancedPer3"])||0;
var advancedPer4 = parseInt(values["advancedPer4"])||0;
on("change:startingPerception change:advancedPerception1 change:advancedPerception2 change:advancedPerception3 change:advancedPerception4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingPerception","advancedPerception1","advancedPerception2","advancedPerception3","advancedPerception4","fatiguePenalty"], function(values) {
var startingPerception = parseInt(values["startingPerception"])||0;
var advancedPerception1 = parseInt(values["advancedPerception1"])||0;
var advancedPerception2 = parseInt(values["advancedPerception2"])||0;
var advancedPerception3 = parseInt(values["advancedPerception3"])||0;
var advancedPerception4 = parseInt(values["advancedPerception4"])||0;
var fatiguePenalty = parseInt(values["fatiguePenalty"])||0;
var output = startingPER + advancedPer1 + advancedPer2 + advancedPer3 + advancedPer4 - fatiguePenalty
var output = startingPerception + advancedPerception1 + advancedPerception2 + advancedPerception3 + advancedPerception4 - fatiguePenalty
setAttrs({
"perception": output
});
});
});
on("change:startingWP change:advancedWp1 change:advancedWp2 change:advancedWp3 change:advancedWp4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingWP","advancedWp1","advancedWp2","advancedWp3","advancedWp4","fatiguePenalty"], function(values) {
var startingWP = parseInt(values["startingWP"])||0;
var advancedWp1 = parseInt(values["advancedWp1"])||0;
var advancedWp2 = parseInt(values["advancedWp2"])||0;
var advancedWp3 = parseInt(values["advancedWp3"])||0;
var advancedWp4 = parseInt(values["advancedWp4"])||0;
on("change:startingWillpower change:advancedWillpower1 change:advancedWillpower2 change:advancedWillpower3 change:advancedWillpower4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingWillpower","advancedWillpower1","advancedWillpower2","advancedWillpower3","advancedWillpower4","fatiguePenalty"], function(values) {
var startingWillpower = parseInt(values["startingWillpower"])||0;
var advancedWillpower1 = parseInt(values["advancedWillpower1"])||0;
var advancedWillpower2 = parseInt(values["advancedWillpower2"])||0;
var advancedWillpower3 = parseInt(values["advancedWillpower3"])||0;
var advancedWillpower4 = parseInt(values["advancedWillpower4"])||0;
var fatiguePenalty = parseInt(values["fatiguePenalty"])||0;
var output = startingWP + advancedWp1 + advancedWp2 + advancedWp3 + advancedWp4 - fatiguePenalty
var output = startingWillpower + advancedWillpower1 + advancedWillpower2 + advancedWillpower3 + advancedWillpower4 - fatiguePenalty
setAttrs({
"willpower": output
});
});
});
on("change:startingFEL change:advancedFel1 change:advancedFel2 change:advancedFel3 change:advancedFel4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingFEL","advancedFel1","advancedFel2","advancedFel3","advancedFel4","fatiguePenalty"], function(values) {
var startingFEL = parseInt(values["startingFEL"])||0;
var advancedFel1 = parseInt(values["advancedFel1"])||0;
var advancedFel2 = parseInt(values["advancedFel2"])||0;
var advancedFel3 = parseInt(values["advancedFel3"])||0;
var advancedFel4 = parseInt(values["advancedFel4"])||0;
on("change:startingFellowship change:advancedFellowship1 change:advancedFellowship2 change:advancedFellowship3 change:advancedFellowship4 change:fatiguePenalty sheet:opened", function() {
getAttrs(["startingFellowship","advancedFellowship1","advancedFellowship2","advancedFellowship3","advancedFellowship4","fatiguePenalty"], function(values) {
var startingFellowship = parseInt(values["startingFellowship"])||0;
var advancedFellowship1 = parseInt(values["advancedFellowship1"])||0;
var advancedFellowship2 = parseInt(values["advancedFellowship2"])||0;
var advancedFellowship3 = parseInt(values["advancedFellowship3"])||0;
var advancedFellowship4 = parseInt(values["advancedFellowship4"])||0;
var fatiguePenalty = parseInt(values["fatiguePenalty"])||0;
var output = startingFEL + advancedFel1 + advancedFel2 + advancedFel3 + advancedFel4 - fatiguePenalty
var output = startingFellowship + advancedFellowship1 + advancedFellowship2 + advancedFellowship3 + advancedFellowship4 - fatiguePenalty
setAttrs({
"fellowship": output
});