SWN-revised v2.0.1

* add extra effort bugfix
* bump version
This commit is contained in:
joesinghaus
2018-05-16 08:27:00 +02:00
parent c148acfcc5
commit 3ecdd97a4c
4 changed files with 10 additions and 5 deletions
+5
View File
@@ -27,6 +27,11 @@ Report any problems, suggestions, or features by [creating an issue](https://git
## Changelog
### 2.0.1
* Fixed a bug preventing successful conversion of NPC sheets.
* Fixed a bug that prevented extra effort from taking effect.
### 2.0.0
* New, overhauled version of the sheet (rewritten in pug and sass)
@@ -91,7 +91,7 @@ input(type="hidden", name="attr_show_settings" value="0").hider
p.flex-between
label
span(data-i18n="EFFORT_MODIFIER")
input(type="number", name="attr_extra_effort", value="0")
input(type="number", name="attr_psionics_extra_effort", value="0")
label
span(data-i18n="INNATE_AC")
input(type="number", name="attr_innate_ac", value="10")
@@ -1,6 +1,6 @@
/* global getAttrs, setAttrs, getSectionIDs, generateRowID, on ,removeRepeatingRow, _, getTranslationByKey */
(function () {
const sheetVersion = "2.0.0";
const sheetVersion = "2.0.1";
const attributes = ["strength", "dexterity", "constitution", "intelligence", "wisdom", "charisma"];
const effortAttributes = ["wisdom_mod", "constitution_mod", "psionics_extra_effort",
"skill_biopsionics", "skill_precognition", "skill_telepathy", "skill_teleportation",
@@ -720,7 +720,7 @@
console.log("Upgrading from versionless sheet (assumed to be fresh or v1.6.2).");
const upgradeFunction = _.after(13, () => {
generateWeaponDisplay();
upgradeSheet("2.0.0");
upgradeSheet("2.0.1");
});
// Legacy migration
File diff suppressed because one or more lines are too long