Skip to content

Commit

Permalink
update module.json for 0.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
zarmstrong committed Dec 6, 2021
1 parent f63cb0a commit 05b9bec
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.7.5 (Dec 6, 2021)

* fixed armor category

## 0.7.4 (Nov 4, 2021)

* fixed focus spells
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Pathbuilder 2e Import",
"description": "This module allows players and GMs to import player characters built in Pathbuilder 2e",
"author": "slate",
"version": "0.7.4",
"version": "0.7.5",
"minimumCoreVersion": "0.8.6",
"compatibleCoreVersion": "0.8.9",
"esmodules": [
Expand All @@ -14,7 +14,7 @@
"license": "MIT",
"url": "https://github.com/zarmstrong/foundry-pathbuilder2e-import",
"manifest": "https://raw.githubusercontent.com/zarmstrong/foundry-pathbuilder2e-import/master/module.json",
"download": "https://github.com/zarmstrong/foundry-pathbuilder2e-import/releases/download/foundry-pathbuilder2e-import-0.7.4/foundry-pathbuilder2e-import-0.7.4.zip",
"download": "https://github.com/zarmstrong/foundry-pathbuilder2e-import/releases/download/foundry-pathbuilder2e-import-0.7.5/foundry-pathbuilder2e-import-0.7.5.zip",
"changelog": "https://github.com/zarmstrong/foundry-pathbuilder2e-import/blob/master/CHANGELOG.md",
"bugs": "https://github.com/zarmstrong/herovau.lt-foundry/issues",
"flags": {
Expand Down
4 changes: 2 additions & 2 deletions pathbuilder-import-min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pathbuilder-import.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var fbpiDebug = false;
const fpbi = "0.7.4";
const fpbi = "0.7.5";
const reportDomain = "https://www.pf2player.com/";

const pbcolor1 = "color: #7bf542"; //bright green
Expand Down Expand Up @@ -944,7 +944,7 @@ async function importCharacter(targetActor, jsonBuild) {
const clonedData = JSON.parse(JSON.stringify(action.data));
if (notBracersOfArmor(armorDetails.name)) {
clonedData.data.quantity.value = armorDetails.qty;
clonedData.data.armorType.value = armorDetails.prof;
clonedData.data.category = armorDetails.prof;
clonedData.data.potencyRune.value = armorDetails.pot;
clonedData.data.resiliencyRune.value = armorDetails.res;
// this will also catch the nulls from early json data which did not have this value
Expand Down

0 comments on commit 05b9bec

Please sign in to comment.