Support for ability scores 19+

Resolves issue #31.
master
The Happy Anarchist 2020-10-24 17:51:05 -10:00
parent 4eddffe8d2
commit ffd6b6157e
3 changed files with 17 additions and 2 deletions

View File

@ -152,6 +152,13 @@
"ACKS.NativePlus1": "Native + 1",
"ACKS.NativePlus2": "Native + 2",
"ACKS.NativePlus3": "Native + 3",
"ACKS.NativePlus4": "Native + 4",
"ACKS.NativePlus5": "Native + 5",
"ACKS.NativePlus6": "Native + 6",
"ACKS.NativePlus7": "Native + 7",
"ACKS.NativePlus8": "Native + 8",
"ACKS.NativePlus9": "Native + 9",
"ACKS.NativePlus10": "Native + 10",
"ACKS.NPCReaction": "NPC Reaction",
"ACKS.RetainersMax": "#Retainers",

View File

@ -798,7 +798,7 @@ export class AcksActor extends Actor {
data.scores.cha.value
);
data.scores.cha.retain = data.scores.cha.mod + 4;
data.scores.cha.loyalty = data.scores.cha.mod + 7;
data.scores.cha.loyalty = data.scores.cha.mod;
const od = {
0: 0,
@ -809,6 +809,7 @@ export class AcksActor extends Actor {
13: 14,
16: 10,
18: 6,
19: 2,
};
data.exploration.odMod = AcksActor._valueFromTable(
od,
@ -830,6 +831,13 @@ export class AcksActor extends Actor {
13: "ACKS.NativePlus1",
16: "ACKS.NativePlus2",
18: "ACKS.NativePlus3",
19: "ACKS.NativePlus4",
20: "ACKS.NativePlus5",
21: "ACKS.NativePlus6",
22: "ACKS.NativePlus7",
23: "ACKS.NativePlus8",
24: "ACKS.NativePlus9",
25: "ACKS.NativePlus10",
};
data.languages.spoken = AcksActor._valueFromTable(
spoken,

View File

@ -61,7 +61,7 @@
{{localize 'ACKS.RetainersMax'}} ({{add data.scores.cha.mod 4}})
</li>
<li>
{{localize 'ACKS.Loyalty'}} ({{add data.scores.cha.mod 7}})
{{localize 'ACKS.Loyalty'}} ({{add data.scores.cha.mod 0}})
</li>
</ol>
</div>