MongooseTraveller Update

Increased maximum attribute, added skill modifiers to specialties, made pilot specialties visible, allowed multiple armors
This commit is contained in:
CoalPoweredPuppet
2017-08-20 19:41:26 -04:00
committed by GitHub
parent a3163d27a6
commit 2c22f0e158
+513 -62
View File
@@ -457,6 +457,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -467,7 +468,8 @@
<th style="width:150px;"><button name="roll_Animalsspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Animals }} {{spec= @{skillSpeciality-Animalsspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Animalsspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Animalsspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Animalsspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Animalsspec" value="@{skillCharacteristicDM-Animals} + @{skilllevel-Animalsspec} + @{skilllevel-Animals} + @{skillmodifier-Animals}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Animalsspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Animalsspec" value="@{skillCharacteristicDM-Animals} + @{skilllevel-Animalsspec} + @{skillmod-Animalsspec} + @{skilllevel-Animals} + @{skillmodifier-Animals}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -514,6 +516,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -524,7 +527,8 @@
<th style="width:150px;"><button name="roll_Athleticsspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Athletics }} {{spec= @{skillSpeciality-Athleticsspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Athleticsspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Athleticsspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Athleticsspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Athleticsspec" value="@{skillCharacteristicDM-Athletics} + @{skilllevel-Athleticsspec} + @{skilllevel-Athletics} + @{skillmodifier-Athletics}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Athleticsspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Athleticsspec" value="@{skillCharacteristicDM-Athletics} + @{skilllevel-Athleticsspec} + @{skillmod-Athleticsspec} + @{skilllevel-Athletics} + @{skillmodifier-Athletics}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -570,6 +574,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -580,7 +585,8 @@
<th style="width:150px;"><button name="roll_Artspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Art }} {{spec= @{skillSpeciality-Artspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Artspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Artspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Artspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Artspec" value="@{skillCharacteristicDM-Art} + @{skilllevel-Artspec} + @{skilllevel-Art} + @{skillmodifier-Art}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Artspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Artspec" value="@{skillCharacteristicDM-Art} + @{skilllevel-Artspec} + @{skillmod-Artspec} + @{skilllevel-Art} + @{skillmodifier-Art}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -890,6 +896,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -900,7 +907,8 @@
<th style="width:150px;"><button name="roll_Drivespec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Drive }} {{spec= @{skillSpeciality-Drivespec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Drivespec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Drivespec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Drivespec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Drivespec" value="@{skillCharacteristicDM-Drive} + @{skilllevel-Drivespec} + @{skilllevel-Drive} + @{skillmodifier-Drive}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Drivespec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Drivespec" value="@{skillCharacteristicDM-Drive} + @{skilllevel-Drivespec} + @{skillmod-Drivespec} + @{skilllevel-Drive} + @{skillmodifier-Drive}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -946,6 +954,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -956,7 +965,8 @@
<th style="width:150px;"><button name="roll_Engineerspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Engineer }} {{spec= @{skillSpeciality-Engineerspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Engineerspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Engineerspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Engineerspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Engineerspec" value="@{skillCharacteristicDM-Engineer} + @{skilllevel-Engineerspec} + @{skilllevel-Engineer} + @{skillmodifier-Engineer}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Engineerspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Engineerspec" value="@{skillCharacteristicDM-Engineer} + @{skilllevel-Engineerspec} + @{skillmod-Engineerspec} + @{skilllevel-Engineer} + @{skillmodifier-Engineer}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1035,6 +1045,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -1045,7 +1056,8 @@
<th style="width:150px;"><button name="roll_Flyerspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Flyer }} {{spec= @{skillSpeciality-Flyerspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Flyerspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Flyerspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Flyerspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Flyerspec" value="@{skillCharacteristicDM-Flyer} + @{skilllevel-Flyerspec} + @{skilllevel-Flyer} + @{skillmodifier-Flyer}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Flyerspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Flyerspec" value="@{skillCharacteristicDM-Flyer} + @{skilllevel-Flyerspec} + @{skilllevel-Flyer} + @{skillmod-Flyer} + @{skillmodifier-Flyer}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1124,6 +1136,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -1134,7 +1147,8 @@
<th style="width:150px;"><button name="roll_Gunnerspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Gunner }} {{spec= @{skillSpeciality-Gunnerspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Gunnerspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Gunnerspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Gunnerspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Gunnerspec" value="@{skillCharacteristicDM-Gunner} + @{skilllevel-Gunnerspec} + @{skilllevel-Gunner} + @{skillmodifier-Gunner}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Gunnerspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Gunnerspec" value="@{skillCharacteristicDM-Gunner} + @{skilllevel-Gunnerspec} + @{skilllevel-Gunner} + @{skillmod-Gunner} + @{skillmodifier-Gunner}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1180,6 +1194,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -1190,7 +1205,7 @@
<th style="width:150px;"><button name="roll_GunCombatspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= GunCombat }} {{spec= @{skillSpeciality-GunCombatspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-GunCombatspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-GunCombatspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-GunCombatspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-GunCombatspec" value="@{skillCharacteristicDM-GunCombat} + @{skilllevel-GunCombatspec} + @{skilllevel-GunCombat} + @{skillmodifier-GunCombat}" disabled="true"/></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-GunCombatspec" value="@{skillCharacteristicDM-GunCombat} + @{skilllevel-GunCombatspec} + @{skilllevel-GunCombat} + @{skillmod-GunCombat} + @{skillmodifier-GunCombat}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1236,6 +1251,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -1246,7 +1262,8 @@
<th style="width:150px;"><button name="roll_HeavyWeaponsspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= HeavyWeapons }} {{spec= @{skillSpeciality-HeavyWeaponsspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-HeavyWeaponsspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-HeavyWeaponsspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-HeavyWeaponsspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-HeavyWeaponsspec" value="@{skillCharacteristicDM-HeavyWeapons} + @{skilllevel-HeavyWeaponsspec} + @{skilllevel-HeavyWeapons} + @{skillmodifier-HeavyWeapons}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-HeavyWeaponsspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-HeavyWeaponsspec" value="@{skillCharacteristicDM-HeavyWeapons} + @{skilllevel-HeavyWeaponsspec} + @{skillmod-HeavyWeaponsspec} + @{skilllevel-HeavyWeapons} + @{skillmodifier-HeavyWeapons}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1368,7 +1385,8 @@
<th style="width:150px;"><button name="roll_Languagespec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Language }} {{spec= @{skillSpeciality-Languagespec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Languagespec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Languagespec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Languagespec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Languagespec" value="@{skillCharacteristicDM-Language} + @{skilllevel-Languagespec} + @{skilllevel-Language} + @{skillmodifier-Language}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Languagespec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Languagespec" value="@{skillCharacteristicDM-Language} + @{skilllevel-Languagespec} + @{skillmod-Languagespec} + @{skilllevel-Language} + @{skillmodifier-Language}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1447,6 +1465,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -1457,7 +1476,8 @@
<th style="width:150px;"><button name="roll_LifeSciencesspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= LifeSciences }} {{spec= @{skillSpeciality-LifeSciencesspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-LifeSciencesspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-LifeSciencesspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-LifeSciencesspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-LifeSciencesspec" value="@{skillCharacteristicDM-LifeSciences} + @{skilllevel-LifeSciencesspec} + @{skilllevel-LifeSciences} + @{skillmodifier-LifeSciences}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-LifeSciencesspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-LifeSciencesspec" value="@{skillCharacteristicDM-LifeSciences} + @{skilllevel-LifeSciencesspec} + @{skillmod-LifeSciencesspec} + @{skilllevel-LifeSciences} + @{skillmodifier-LifeSciences}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1569,6 +1589,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -1579,7 +1600,8 @@
<th style="width:150px;"><button name="roll_Meleespec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Melee }} {{spec= @{skillSpeciality-Meleespec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Meleespec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Meleespec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Meleespec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Meleespec" value="@{skillCharacteristicDM-Melee} + @{skilllevel-Meleespec} + @{skilllevel-Melee} + @{skillmodifier-Melee}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Meleespec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Meleespec" value="@{skillCharacteristicDM-Melee} + @{skilllevel-Meleespec} + @{skillmod-Meleespec} + @{skilllevel-Melee} + @{skillmodifier-Melee}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1680,7 +1702,7 @@
<th><input type="number" class="sheet-input" name="attr_skillmodifier-Pilot" value="0" /></th>
<th><input type="checkbox" class="sheet-untrained" name="attr_untrained-Pilot" value="-3"/><span></span></th>
<th><input type="number" class="sheet-input" name="attr_skilltotal-Pilot" value="@{skillDM-Pilot} + @{skilllevel-Pilot} + @{skillmodifier-Pilot} + @{untrained-Pilot}" disabled="true"/></th>
<th style="width:55px;"><input type="checkbox" name="attr_Pilot_spec_show" class="sheet-hider sheet-crate" value="1"/></th>
<th style="width:55px;"><input type="checkbox" name="attr_Pilot_spec_show" class="sheet-hider sheet-crate" value="1"/><span></span></th>
</tr>
</table>
<input type="checkbox" name="attr_Pilot_spec_show" class="sheet-hider sheet-hidden" value="1"/>
@@ -1691,6 +1713,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -1701,7 +1724,8 @@
<th style="width:150px;"><button name="roll_Pilotspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Pilot }} {{spec= @{skillSpeciality-Pilotspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Pilotspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Pilotspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Pilotspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Pilotspec" value="@{skillCharacteristicDM-Pilot} + @{skilllevel-Pilotspec} + @{skilllevel-Pilot} + @{skillmodifier-Pilot}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Pilotspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Pilotspec" value="@{skillCharacteristicDM-Pilot} + @{skilllevel-Pilotspec} + @{skillmod-Pilotspec} + @{skilllevel-Pilot} + @{skillmodifier-Pilot}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1757,7 +1781,8 @@
<th style="width:150px;"><button name="roll_PhysicalSciencesspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= PhysicalSciences }} {{spec= @{skillSpeciality-PhysicalSciencesspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-PhysicalSciencesspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-PhysicalSciencesspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-PhysicalSciencesspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-PhysicalSciencesspec" value="@{skillCharacteristicDM-PhysicalSciences} + @{skilllevel-PhysicalSciencesspec} + @{skilllevel-PhysicalSciences} + @{skillmodifier-PhysicalSciences}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-PhysicalSciencesspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-PhysicalSciencesspec" value="@{skillCharacteristicDM-PhysicalSciences} + @{skilllevel-PhysicalSciencesspec} + @{skillmod-PhysicalSciencesspec} + @{skilllevel-PhysicalSciences} + @{skillmodifier-PhysicalSciences}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1869,6 +1894,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -1879,7 +1905,8 @@
<th style="width:150px;"><button name="roll_Seafarerspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Seafarer }} {{spec= @{skillSpeciality-Seafarerspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Seafarerspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Seafarerspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Seafarerspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Seafarerspec" value="@{skillCharacteristicDM-Seafarer} + @{skilllevel-Seafarerspec} + @{skilllevel-Seafarer} + @{skillmodifier-Seafarer}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Seafarerspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Seafarerspec" value="@{skillCharacteristicDM-Seafarer} + @{skilllevel-Seafarerspec} + @{skillmod-Seafarerspec} + @{skilllevel-Seafarer} + @{skillmodifier-Seafarer}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -1968,7 +1995,8 @@
<th style="width:150px;"><button name="roll_SocialSciencesspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= SocialSciences }} {{spec= @{skillSpeciality-SocialSciencesspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-SocialSciencesspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-SocialSciencesspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-SocialSciencesspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-SocialSciencesspec" value="@{skillCharacteristicDM-SocialSciences} + @{skilllevel-SocialSciencesspec} + @{skilllevel-SocialSciences} + @{skillmodifier-SocialSciences}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-SocialSciencesspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-SocialSciencesspec" value="@{skillCharacteristicDM-SocialSciences} + @{skilllevel-SocialSciencesspec} + @{skillmod-SocialSciencesspec} + @{skilllevel-SocialSciences} + @{skillmodifier-SocialSciences}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -2014,6 +2042,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -2024,7 +2053,8 @@
<th style="width:150px;"><button name="roll_SpaceSciencesspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= SpaceSciences }} {{spec= @{skillSpeciality-SpaceSciencesspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-SpaceSciencesspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-SpaceSciencesspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-SpaceSciencesspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-SpaceSciencesspec" value="@{skillCharacteristicDM-SpaceSciences} + @{skilllevel-SpaceSciencesspec} + @{skilllevel-SpaceSciences} + @{skillmodifier-SpaceSciences}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-SpaceSciencesspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-SpaceSciencesspec" value="@{skillCharacteristicDM-SpaceSciences} + @{skilllevel-SpaceSciencesspec} + @{skillmod-SpaceSciencesspec} + @{skilllevel-SpaceSciences} + @{skillmodifier-SpaceSciences}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -2202,6 +2232,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -2212,7 +2243,8 @@
<th style="width:150px;"><button name="roll_Tacticsspec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Tactics }} {{spec= @{skillSpeciality-Tacticsspec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Tacticsspec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Tacticsspec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Tacticsspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Tacticsspec" value="@{skillCharacteristicDM-Tactics} + @{skilllevel-Tacticsspec} + @{skilllevel-Tactics} + @{skillmodifier-Tactics}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Tacticsspec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Tacticsspec" value="@{skillCharacteristicDM-Tactics} + @{skilllevel-Tacticsspec} + @{skillmod-Tacticsspec} + @{skilllevel-Tactics} + @{skillmodifier-Tactics}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -2258,6 +2290,7 @@
<th style="width:150px;">Roll</th>
<th style="width:200px;">Speciality</th>
<th style="width:75px;">Level</th>
<th style="width:75px;">Modifier</th>
<th style="width:55px;">Total</th>
</tr>
</table>
@@ -2268,7 +2301,8 @@
<th style="width:150px;"><button name="roll_Tradespec" type="roll" style="width:150px;" value='&{template:skill-general} {{skill= Trade }} {{spec= @{skillSpeciality-Tradespec} }} {{character= @{character_name} }} {{roll= [[(2d6 + [[@{skilltotal-Tradespec}]] + ?{Modifier|0})]] }}' ><div class="sheet-button_header">***</div></button></th>
<th style="width:200px;"><input type="text" class="sheet-input" style="width:200px;" name="attr_skillSpeciality-Tradespec" value="" placeholder="Specialty Name" /></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skilllevel-Tradespec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Tradespec" value="@{skillCharacteristicDM-Trade} + @{skilllevel-Tradespec} + @{skilllevel-Trade} + @{skillmodifier-Trade}" disabled="true"/></th>
<th style="width:75px;"><input type="number" class="sheet-input" style="width:45px;" name="attr_skillmod-Tradespec" value="0" /></th>
<th style="width:55px;"><input type="number" class="sheet-input" style="width:50px;" name="attr_skilltotal-Tradespec" value="@{skillCharacteristicDM-Trade} + @{skilllevel-Tradespec} + @{skillmod-Tradespec} + @{skilllevel-Trade} + @{skillmodifier-Trade}" disabled="true"/></th>
</tr>
</table>
</fieldset>
@@ -2583,20 +2617,58 @@
<br>
<div class="sheet-oval"><h2>Combat</h2></div>
<br>
<div class='sheet-2colrow'>
<div class='sheet-col'>
<h3>Armour</h3>
<table class="sheet-armour" style="width:400px">
<div>
<br>
<h3>Initiative</h3>
<table class="sheet-armour">
<td>
<select type="text" class="sheet-input" name="attr_initiativeattribute" value="0" style="width:95px" />
<option value="@{mod-Dexterity}">Dexterity</option>
</select>
</td>
<td>
<button type="roll" name="roll_initiative" value="&{template:skill-general} {{skill= Initiative}} {{character= @{character_name} }}{{roll= [[2d6+@{initiativeattribute}[Attribute Modifier] + ?{Modifier|0}[Modifier] &{tracker}]]}}" ><div style="width:300px" class="sheet-button_header">Roll Initiative (select Token first)</div></button>
</td>
</table>
<h3>Armour</h3>
<table class="sheet-armour">
<tr>
<th style="width:130px"><div class="sheet-header">Type</div></td>
<th style="width:90px"><div class="sheet-header">Protection</div></td>
<th style="width:150px"><div class="sheet-header">Required Skill</div></td>
<th style="width:85px"><div class="sheet-header">Mass (kg)</div></td>
</tr>
</table>
<table class="sheet-armour">
<tr>
<td style="width:150px"><input type="text" class="sheet-input" name="attr_armour-type" style="width:110px"/></td>
<td style="width:90px"><input type="number" class="sheet-input" name="attr_armour-protection" /></td>
<td style="width:150px"><select type="text" class="sheet-input" name="attr_armour-RequiredSkill" value="0" style="width:110px" />
<option value="0">None</option>
<option value="1">Vacc Suit 0</option>
<option value="2">Vacc Suit 1</option>
<option value="3">Vacc Suit 2</option>
<option value="4">Battle Dress 1</option>
<option value="5">Battle Dress 2</option>
</select></td>
<td style="width:65px"><input type="number" class="sheet-input" name="attr_armour-mass" /></td>
<th style="width:60px;"><input type="checkbox" name="attr_armor_show" class="sheet-hider sheet-crate" value="1"/><span></span></th>
</tr>
<tr>
<td colspan="5">
<input type="checkbox" name="attr_armor_show" class="sheet-hider sheet-hidden" value="1"/>
<div class="sheet-body">
<textarea name="attr_armornotes"></textarea>
</div>
</td>
</tr>
</table>
<fieldset class="repeating_armour">
<table class="sheet-armour">
<tr>
<td><div class="sheet-header">Type</div></td>
<td><div class="sheet-header">Protection</div></td>
<td><div class="sheet-header">Required Skill</div></td>
<td><div class="sheet-header">Mass (kg)</div></td>
</tr>
<tr>
<td><input type="text" class="sheet-input" name="attr_armour-type" style="width:110px"/></td>
<td><input type="number" class="sheet-input" name="attr_armour-protection" /></td>
<td><select type="text" class="sheet-input" name="attr_armour-RequiredSkill" value="0" style="width:110px" />
<td style="width:150px"><input type="text" class="sheet-input" name="attr_armour-type" style="width:110px"/></td>
<td style="width:90px"><input type="number" class="sheet-input" name="attr_armour-protection" /></td>
<td style="width:150px"><select type="text" class="sheet-input" name="attr_armour-RequiredSkill" value="0" style="width:110px" />
<option value="0">None</option>
<option value="1">Vacc Suit 0</option>
<option value="2">Vacc Suit 1</option>
@@ -2604,26 +2676,19 @@
<option value="4">Battle Dress 1</option>
<option value="5">Battle Dress 2</option>
</select></td>
<td><input type="number" class="sheet-input" name="attr_armour-mass" /></td>
<td style="width:65px"><input type="number" class="sheet-input" name="attr_armour-mass" /></td>
<th style="width:60px;"><input type="checkbox" name="attr_armor_show" class="sheet-hider sheet-crate" value="1"/><span></span></th>
</tr>
<tr>
<td colspan="5"><textarea name="attr_armornotes"></textarea></td>
</tr>
</table>
</div>
<div class='sheet-col'>
<br>
<table class="sheet-skilltable" style="width:400px">
<td>
<select type="text" class="sheet-input" name="attr_initiativeattribute" value="0" style="width:95px" />
<option value="@{mod-Dexterity}">Dexterity</option>
</select>
</td>
<td>
<button type="roll" name="roll_initiative" value="&{template:skill-general} {{skill= Initiative}} {{character= @{character_name} }}{{roll= [[2d6+@{initiativeattribute}[Attribute Modifier] + ?{Modifier|0}[Modifier] &{tracker}]]}}" ><div style="width:300px" class="sheet-button_header">Roll Initiative (select Token first)</div></button>
<td colspan="5">
<input type="checkbox" name="attr_armor_show" class="sheet-hider sheet-hidden" value="1"/>
<div class="sheet-body">
<textarea name="attr_armornotes"></textarea>
</div>
</td>
</tr>
</table>
</div>
</fieldset>
</div>
<div class="sheet-oval"><h2>Weapons</h2></div>
<div class="sheet-tabbed-panel">
@@ -4184,13 +4249,69 @@ on("change:calc-Strength sheet:opened", function() {
'mod-Strength': 2
})
}
else if (values['calc-Strength'] >= 15) {
else if (values['calc-Strength'] == 15) {
setAttrs({
'mod-Strength': 3
})
}
else if (values['calc-Strength'] == 16) {
setAttrs({
'mod-Strength': 3
})
}
else if (values['calc-Strength'] == 17) {
setAttrs({
'mod-Strength': 3
})
}
else if (values['calc-Strength'] == 18) {
setAttrs({
'mod-Strength': 4
})
}
else if (values['calc-Strength'] == 19) {
setAttrs({
'mod-Strength': 4
})
}
else if (values['calc-Strength'] == 20) {
setAttrs({
'mod-Strength': 4
})
}
else if (values['calc-Strength'] == 21) {
setAttrs({
'mod-Strength': 5
})
}
else if (values['calc-Strength'] == 22) {
setAttrs({
'mod-Strength': 5
})
}
else if (values['calc-Strength'] == 23) {
setAttrs({
'mod-Strength': 5
})
}
else if (values['calc-Strength'] == 24) {
setAttrs({
'mod-Strength': 6
})
}
else if (values['calc-Strength'] == 25) {
setAttrs({
'mod-Strength': 6
})
}
else if (values['calc-Strength'] == 26) {
setAttrs({
'mod-Strength': 6
})
}
});
}); //Attribute Modifier
});
//Attribute Modifier
//Intellect
on('change:base-Intellect change:injury-Intellect sheet:opened', function() {
@@ -4278,13 +4399,68 @@ on("change:calc-Intellect sheet:opened", function() {
'mod-Intellect': 2
})
}
else if (values['calc-Intellect'] >= 15) {
else if (values['calc-Intellect'] == 15) {
setAttrs({
'mod-Intellect': 3
})
}
else if (values['calc-Intellect'] == 16) {
setAttrs({
'mod-Intellect': 3
})
}
else if (values['calc-Intellect'] == 17) {
setAttrs({
'mod-Intellect': 3
})
}
else if (values['calc-Intellect'] == 18) {
setAttrs({
'mod-Intellect': 4
})
}
else if (values['calc-Intellect'] == 19) {
setAttrs({
'mod-Intellect': 4
})
}
else if (values['calc-Intellect'] == 20) {
setAttrs({
'mod-Intellect': 4
})
}
else if (values['calc-Intellect'] == 21) {
setAttrs({
'mod-Intellect': 5
})
}
else if (values['calc-Intellect'] == 22) {
setAttrs({
'mod-Intellect': 5
})
}
else if (values['calc-Intellect'] == 23) {
setAttrs({
'mod-Intellect': 5
})
}
else if (values['calc-Intellect'] == 24) {
setAttrs({
'mod-Intellect': 6
})
}
else if (values['calc-Intellect'] == 25) {
setAttrs({
'mod-Intellect': 6
})
}
else if (values['calc-Intellect'] == 26) {
setAttrs({
'mod-Intellect': 6
})
}
});
});
});
//Attribute Modifier
on('change:base-Dexterity change:injury-Dexterity sheet:opened', function() {
@@ -4372,13 +4548,68 @@ on("change:calc-Dexterity sheet:opened", function() {
'mod-Dexterity': 2
})
}
else if (values['calc-Dexterity'] >= 15) {
else if (values['calc-Dexterity'] == 15) {
setAttrs({
'mod-Dexterity': 3
})
}
else if (values['calc-Dexterity'] == 16) {
setAttrs({
'mod-Dexterity': 3
})
}
else if (values['calc-Dexterity'] == 17) {
setAttrs({
'mod-Dexterity': 3
})
}
else if (values['calc-Dexterity'] == 18) {
setAttrs({
'mod-Dexterity': 4
})
}
else if (values['calc-Dexterity'] == 19) {
setAttrs({
'mod-Dexterity': 4
})
}
else if (values['calc-Dexterity'] == 20) {
setAttrs({
'mod-Dexterity': 4
})
}
else if (values['calc-Dexterity'] == 21) {
setAttrs({
'mod-Dexterity': 5
})
}
else if (values['calc-Dexterity'] == 22) {
setAttrs({
'mod-Dexterity': 5
})
}
else if (values['calc-Dexterity'] == 23) {
setAttrs({
'mod-Dexterity': 5
})
}
else if (values['calc-Dexterity'] == 24) {
setAttrs({
'mod-Dexterity': 6
})
}
else if (values['calc-Dexterity'] == 25) {
setAttrs({
'mod-Dexterity': 6
})
}
else if (values['calc-Dexterity'] == 26) {
setAttrs({
'mod-Dexterity': 6
})
}
});
});
});
//Attribute Modifier
on('change:base-Education change:injury-Education sheet:opened', function() {
@@ -4466,11 +4697,66 @@ on("change:calc-Education sheet:opened", function() {
'mod-Education': 2
})
}
else if (values['calc-Education'] >= 15) {
else if (values['calc-Education'] == 15) {
setAttrs({
'mod-Education': 3
})
}
else if (values['calc-Education'] == 16) {
setAttrs({
'mod-Education': 3
})
}
else if (values['calc-Education'] == 17) {
setAttrs({
'mod-Education': 3
})
}
else if (values['calc-Education'] == 18) {
setAttrs({
'mod-Education': 4
})
}
else if (values['calc-Education'] == 19) {
setAttrs({
'mod-Education': 4
})
}
else if (values['calc-Education'] == 20) {
setAttrs({
'mod-Education': 4
})
}
else if (values['calc-Education'] == 21) {
setAttrs({
'mod-Education': 5
})
}
else if (values['calc-Education'] == 22) {
setAttrs({
'mod-Education': 5
})
}
else if (values['calc-Education'] == 23) {
setAttrs({
'mod-Education': 5
})
}
else if (values['calc-Education'] == 24) {
setAttrs({
'mod-Education': 6
})
}
else if (values['calc-Education'] == 25) {
setAttrs({
'mod-Education': 6
})
}
else if (values['calc-Education'] == 26) {
setAttrs({
'mod-Education': 6
})
}
});
});
//Attribute Modifier
@@ -4559,13 +4845,68 @@ on("change:calc-Endurance sheet:opened", function() {
'mod-Endurance': 2
})
}
else if (values['calc-Endurance'] >= 15) {
else if (values['calc-Endurance'] == 15) {
setAttrs({
'mod-Endurance': 3
})
}
else if (values['calc-Endurance'] == 16) {
setAttrs({
'mod-Endurance': 3
})
}
else if (values['calc-Endurance'] == 17) {
setAttrs({
'mod-Endurance': 3
})
}
else if (values['calc-Endurance'] == 18) {
setAttrs({
'mod-Endurance': 4
})
}
else if (values['calc-Endurance'] == 19) {
setAttrs({
'mod-Endurance': 4
})
}
else if (values['calc-Endurance'] == 20) {
setAttrs({
'mod-Endurance': 4
})
}
else if (values['calc-Endurance'] == 21) {
setAttrs({
'mod-Endurance': 5
})
}
else if (values['calc-Endurance'] == 22) {
setAttrs({
'mod-Endurance': 5
})
}
else if (values['calc-Endurance'] == 23) {
setAttrs({
'mod-Endurance': 5
})
}
else if (values['calc-Endurance'] == 24) {
setAttrs({
'mod-Endurance': 6
})
}
else if (values['calc-Endurance'] == 25) {
setAttrs({
'mod-Endurance': 6
})
}
else if (values['calc-Endurance'] == 26) {
setAttrs({
'mod-Endurance': 6
})
}
});
});
});
//Attribute Modifier
on('change:base-Social change:injury-Social sheet:opened', function() {
getAttrs(['base-Social', 'injury-Social'], function(values) {
@@ -4652,13 +4993,68 @@ on("change:calc-Social sheet:opened", function() {
'mod-Social': 2
})
}
else if (values['calc-Social'] >= 15) {
else if (values['calc-Social'] == 15) {
setAttrs({
'mod-Social': 3
})
}
else if (values['calc-Social'] == 16) {
setAttrs({
'mod-Social': 3
})
}
else if (values['calc-Social'] == 17) {
setAttrs({
'mod-Social': 3
})
}
else if (values['calc-Social'] == 18) {
setAttrs({
'mod-Social': 4
})
}
else if (values['calc-Social'] == 19) {
setAttrs({
'mod-Social': 4
})
}
else if (values['calc-Social'] == 20) {
setAttrs({
'mod-Social': 4
})
}
else if (values['calc-Social'] == 21) {
setAttrs({
'mod-Social': 5
})
}
else if (values['calc-Social'] == 22) {
setAttrs({
'mod-Social': 5
})
}
else if (values['calc-Social'] == 23) {
setAttrs({
'mod-Social': 5
})
}
else if (values['calc-Social'] == 24) {
setAttrs({
'mod-Social': 6
})
}
else if (values['calc-Social'] == 25) {
setAttrs({
'mod-Social': 6
})
}
else if (values['calc-Social'] == 26) {
setAttrs({
'mod-Social': 6
})
}
});
});
});
//Attribute Modifier
on('change:base-PsionicStrength change:injury-PsionicStrength sheet:opened', function() {
getAttrs(['base-PsionicStrength', 'injury-PsionicStrength'], function(values) {
@@ -4745,13 +5141,68 @@ on("change:calc-PsionicStrength sheet:opened", function() {
'mod-PsionicStrength': 2
})
}
else if (values['calc-PsionicStrength'] >= 15) {
else if (values['calc-PsionicStrength'] == 15) {
setAttrs({
'mod-PsionicStrength': 3
})
}
else if (values['calc-PsionicStrength'] == 16) {
setAttrs({
'mod-PsionicStrength': 3
})
}
else if (values['calc-PsionicStrength'] == 17) {
setAttrs({
'mod-PsionicStrength': 3
})
}
else if (values['calc-PsionicStrength'] == 18) {
setAttrs({
'mod-PsionicStrength': 4
})
}
else if (values['calc-PsionicStrength'] == 19) {
setAttrs({
'mod-PsionicStrength': 4
})
}
else if (values['calc-PsionicStrength'] == 20) {
setAttrs({
'mod-PsionicStrength': 4
})
}
else if (values['calc-PsionicStrength'] == 21) {
setAttrs({
'mod-PsionicStrength': 5
})
}
else if (values['calc-PsionicStrength'] == 22) {
setAttrs({
'mod-PsionicStrength': 5
})
}
else if (values['calc-PsionicStrength'] == 23) {
setAttrs({
'mod-PsionicStrength': 5
})
}
else if (values['calc-PsionicStrength'] == 24) {
setAttrs({
'mod-PsionicStrength': 6
})
}
else if (values['calc-PsionicStrength'] == 25) {
setAttrs({
'mod-PsionicStrength': 6
})
}
else if (values['calc-PsionicStrength'] == 26) {
setAttrs({
'mod-PsionicStrength': 6
})
}
});
});
});
//Skill Toggles
on("change:Skill sheet:opened", function() {
getAttrs(['Skill'], function(values) {