Merge pull request #11286 from bhuesemann/tor2e_03-06-00

[The One Ring 2e] 03.06.00 - bugfix missing wits checkboxes
This commit is contained in:
Nic Bradley
2022-12-12 09:17:11 -08:00
committed by GitHub
3 changed files with 57 additions and 12 deletions
+12
View File
@@ -4,6 +4,18 @@ This is a rewrite based on the early 2e (basic) and 1e edition that also include
# Release History
## 03.06.00 (Build 27)
- fixed missing checkboxes stance parry, shield parry, other parry
## 03.05.01 (Build 26)
- fixed translation bugs
## 03.05.00 (Build 25)
- added "Daunted" modifier
## 03.04.00 (Build 24)
- added bonus modifier to useful items
+44 -11
View File
@@ -1,4 +1,4 @@
<input type="hidden" name="attr_version" value="03-05-01" />
<input type="hidden" name="attr_version" value="03-06-00" />
<input type="hidden" class="sheet-tabstoggle" name="attr_sheetTab" />
<input type="checkbox" name="attr_parsedrolls" value="1" class="hidden config-parsed-rolls" checked="checked" hidden
readonly />
@@ -269,23 +269,37 @@
<div id="wits-row3" class="attribute-row3">
<div class="right">
<label data-i18n="shield"><input type="checkbox" name="attr_shieldparry_active" value=1
checked="checked"></label>
<label>
<input type="checkbox" name="attr_shieldparry_active" value=1 checked="checked">
<span data-i18n="shield"></span>
</label>
</div>
<span class="diamond-small">
<span><input name="attr_shieldparry_total" value="0" type="number"
readonly="readonly"></span></span>
<span>
<input name="attr_shieldparry_total" value="0" type="number" readonly="readonly">
</span>
</span>
<div class="center">
<span class="diamond-small">
<span><input name="attr_otherparry" value="0" type="number"></span></span>
<label data-i18n="other" class="center"><input type="checkbox" name="attr_otherparry_active"
value=1 checked="checked"></label>
<span>
<input name="attr_otherparry" value="0" type="number">
</span>
</span>
<label class="center">
<input type="checkbox" name="attr_otherparry_active" value=1 checked="checked">
<span data-i18n="other"></span>
</label>
</div>
<span class="diamond-small">
<span><input name="attr_stanceparry" value="0" type="number"></span></span>
<span>
<input name="attr_stanceparry" value="0" type="number">
</span>
</span>
<div class="left">
<label data-i18n="stance"><input type="checkbox" name="attr_stanceparry_active" value=1
checked="checked"></label>
<label>
<input type="checkbox" name="attr_stanceparry_active" value=1 checked="checked">
<span data-i18n="stance"></span>
</label>
</div>
</div>
</div>
@@ -2984,6 +2998,25 @@
}
}
if (build < 27) {
attrs["build"] = 27;
let releaselog = {msg:""};
hlog(`Release 03.06.00 - ${new Date().toLocaleString()}`, releaselog);
if (v.sheettab === "isPC"){
getAttrs(['releaselog'], function(values){
hlog(`
### Fixed
- missing checkboxes stance parry, shield parry, other parry
`, releaselog);
hlog("==============", releaselog);
attrs['releaselog'] = releaselog.msg + values['releaselog'];
if (Object.keys(attrs).length) {
setAttrs(attrs);
}
});
}
}
/*
if (build === 9) {
attrs["build"] = 8;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"title": "The One Ring 2e",
"version": "3.5.1",
"version": "3.6.0",
"html": "sheet.html",
"css": "sheet.css",
"authors": "Bodo Hüsemann, Richard W, Michael (aka Aragent) I, Paul Venner, Michael Heilemann, Stefan Unterhuber, Stuart Johnson, David Domínguez, Eric Le Bourvellec",