Merge pull request #3210 from GrumpyOldDM/master

[Star Trek Adventures 2d20] v1.2.4
This commit is contained in:
wing-it
2017-12-05 08:57:34 -05:00
committed by GitHub
2 changed files with 55 additions and 9 deletions
@@ -99,11 +99,19 @@
<span class="label" style="width: 150px;">COMPLICATIONS OCCUR ON</span><input type="text" name="attr_cr" value="20" maxlength="2" title="Valid Numbers: 16, 17, 18, 19, 20 - see CR Range p.83" />
</div>
<div class="sectionheader">
<span class="label">SHEET VERSION</span>
<span class="label">RESISTANCE</span>
</div>
<div class="attributecontainer">
<input type="hidden" name="attr_version"/>
<span class="label" title="SHEET VERSION">VERSION</span><input type="text" name="attr_disp_version" style="width: 50px;" disabled="true" value="@{version}"/>
<div class="sheet-row">
<div class="sheet-col">
<div class="attributecontainer">
<span class="label">CURRENT</span><input type="text" name="attr_resist" disabled="true" title="Default Value Ship: Scale | Default Value Player: 0" value="(@{ship_scale} + @{resist_bonus})" maxlength="2"/>
</div>
</div>
<div class="sheet-col">
<div class="attributecontainer">
<span class="label">BONUS</span><input type="text" name="attr_resist_bonus" value="0" maxlength="2"/>
</div>
</div>
</div>
</div>
<div class="sheet-col">
@@ -171,6 +179,40 @@
<div class="sidedeco2"></div>
<div class="bottomback settings">
<div class="bottomsection">
<div class="chardev" style="padding-right: 10px;">
<div class="sectionheader">
<span class="label">CHARACTER DEVELOPMENT</span>
</div>
<div class="sheet-row" style="width: 100%;">
<div class="sheet-col" style="margin-right: 60px; width: 45%">
<div class="attributecontainer">
<span class="label" style="width: 200px;">SAVED NORMAL MILESTONES</span><input type="text" name="attr_norm-mile" value="0" maxlength="2" title="see p.139" />
</div>
<br />
<div class="attributecontainer">
<span class="label" style="width: 200px;">SAVED SPOTLIGHT MILESTONES</span><input type="text" name="attr_spot-mile" value="0" maxlength="2" title="see p.139" />
</div>
</div>
<div class="sheet-col">
<div class="attributecontainer">
<span class="label" style="width: 200px;">ARC MILESTONES RECEIVED</span><input type="text" name="attr_arc-mile" value="0" maxlength="2" title="see p.140" />
</div>
<br />
<div class="attributecontainer">
<span class="label" style="width: 200px;">REPUTATION</span><input type="text" name="attr_rep" value="10" maxlength="2" title="see p.140" />
</div>
</div>
</div>
</div>
<div class="version" style="padding-right: 10px;">
<div class="sectionheader">
<span class="label">SHEET VERSION</span>
</div>
<div class="attributecontainer">
<input type="hidden" name="attr_version"/>
<span class="label" title="SHEET VERSION">VERSION</span><input type="text" name="attr_disp_version" style="width: 50px;" disabled="true" value="@{version}"/>
</div>
</div>
<div class="instructions" style="padding-right: 10px;">
<div class="sectionheader">
<span class="label">NOTE</span>
@@ -570,7 +612,7 @@
</div>
<div class="scale">
<div class="attributecontainer">
<span class="label">SCALE</span><input type="text" name="attr_ship_scale" value="1" maxlength="2"/>
<span class="label">SCALE</span><input type="text" name="attr_ship_scale" value="0" maxlength="2"/>
</div>
</div>
<div class='departments'>
@@ -964,7 +1006,7 @@
setAttrs({"ship_comms": "1"});
}
if (v.ship_scale === "") {
setAttrs({"ship_scale": "1"});
setAttrs({"ship_scale": "0"});
}
if (v.ship_command === "") {
setAttrs({"ship_command": "0"});
@@ -1125,7 +1167,7 @@
if (!v["version"] || v["version"] === "" ) {
update_to_1_1();
} else {
setAttrs({"version": "1.2.3"});
setAttrs({"version": "1.2.4"});
setAttrs({"character_sheet": "Star Trek Adventures 2d20 version " + v.version});
console.log("Star Trek Adventures 2d20 version " + v.version);
}
@@ -1140,7 +1182,7 @@
update_dyanamic_weapon(v.wep1_name, v.wep1_dr, v.wep1_qualities);
update_dyanamic_weapon(v.wep2_name, v.wep2_dr, v.wep2_qualities);
update_dyanamic_weapon(v.wep3_name, v.wep3_dr, v.wep3_qualities);
setAttrs({"version": "1.2.3"});
setAttrs({"version": "1.2.4"});
setAttrs({"character_sheet": "Star Trek Adventures 2d20 version " + v.version });
console.log("Star Trek Adventures 2d20 version " + v.version);
});
+5 -1
View File
@@ -2,6 +2,11 @@
The sheet will always upgrade itself unless I specify otherwise, though some things like roll template fields changing will require users who have added custom macros to fix.
## 1.2.4
### Features
* Default sheet is missing milestone tracking, added this to the settings screen (attr_norm-mile, attr_spot-mile, attr_arc-mile, attr_rep).
* Default sheet is missing resistance tracking, added this to the settings screen (auto calculates for ships based on scale, players 0, bonus allows wearing armor or altering for NPCs - attr_resist, attr_resist_bonus)
## 1.2.3
### Features
* Massive improvements to the inline sheet rolls
@@ -14,7 +19,6 @@ The sheet will always upgrade itself unless I specify otherwise, though some thi
### Bug Fixes
* Removed ship rolls beyond 1d20 (ships can only ever assist a character) - this also speeds ship rolls.
## 1.2.2
### Features
* Added Complication Range (in sheet settings)