Skip to content

Commit

Permalink
Update NPCScaler.ts
Browse files Browse the repository at this point in the history
Fixed weaknesses reference in NPC Scaler.
  • Loading branch information
FelixSteffen authored and xdy committed Jul 14, 2024
1 parent c8328ec commit d4f39bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/feature/cr-scaler/NPCScaler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export async function scaleNPCToLevel(actor: NPCPF2e, newLevel: number) {
value: getMinMaxData("weakness", weakness.value, oldLevel, newLevel).toString(),
});
}
updateData["system.attributes.vulnerabilities"] = dvData;
updateData["system.attributes.weaknesses"] = dvData;

// parse simple modifiers
updateData["system.attributes.ac.value"] = getLeveledData(
Expand Down

0 comments on commit d4f39bc

Please sign in to comment.