fix: correct player level
This commit is contained in:
+5
-1
@@ -188,9 +188,13 @@ export function card(app: App) {
|
||||
);
|
||||
|
||||
const charLvl = char.propMap?.[4001].val ?? 1;
|
||||
const ascension = char.propMap?.[1002].val ?? 1;
|
||||
const promoteMaxLevelMap = [20, 40, 50, 60, 70, 80, 90, 100];
|
||||
const charLvlMax =
|
||||
promoteMaxLevelMap[char.propMap?.[1002].val ?? 1];
|
||||
ascension * 10 +
|
||||
(ascension > 0 ? 10 : 0) +
|
||||
20 +
|
||||
(charLvl > 90 ? 10 : 0);
|
||||
|
||||
const statRows = buildDisplayRows(char, locs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user