Merge pull request #233 from unrealkakeman89/Develop

Develop
This commit is contained in:
CK 2021-07-01 21:54:52 -04:00 committed by GitHub
commit fc09308d11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -616,12 +616,12 @@ export default class Actor5e extends Actor {
if (!isNPC) { if (!isNPC) {
if (forceProgression.levels) { if (forceProgression.levels) {
ad.attributes.force.known.max = forceProgression.powersKnown; ad.attributes.force.known.max = forceProgression.powersKnown;
ad.attributes.force.points.max = forceProgression.points + Math.max(ad.abilities.wis.mod, ad.abilities.cha.mod); ad.attributes.force.points.max = forceProgression.points;
ad.attributes.force.level = forceProgression.levels; ad.attributes.force.level = forceProgression.levels;
} }
if (techProgression.levels){ if (techProgression.levels){
ad.attributes.tech.known.max = techProgression.powersKnown; ad.attributes.tech.known.max = techProgression.powersKnown;
ad.attributes.tech.points.max = techProgression.points + ad.abilities.int.mod; ad.attributes.tech.points.max = techProgression.points;
ad.attributes.tech.level = techProgression.levels; ad.attributes.tech.level = techProgression.levels;
} }
} }

View file

@ -152,7 +152,7 @@
"primaryTokenAttribute": "attributes.hp", "primaryTokenAttribute": "attributes.hp",
"secondaryTokenAttribute": null, "secondaryTokenAttribute": null,
"minimumCoreVersion": "0.8.2", "minimumCoreVersion": "0.8.2",
"compatibleCoreVersion": "0.8.7", "compatibleCoreVersion": "0.8.8",
"url": "https://github.com/unrealkakeman89/sw5e", "url": "https://github.com/unrealkakeman89/sw5e",
"manifest": "https://raw.githubusercontent.com/unrealkakeman89/sw5e/master/system.json", "manifest": "https://raw.githubusercontent.com/unrealkakeman89/sw5e/master/system.json",
"download": "https://github.com/unrealkakeman89/sw5e/archive/master.zip" "download": "https://github.com/unrealkakeman89/sw5e/archive/master.zip"