diff --git a/src/domain/entities/Skill/CharacterSkill.ts b/src/domain/entities/Skill/CharacterSkill.ts index 1d442e3..12b019d 100644 --- a/src/domain/entities/Skill/CharacterSkill.ts +++ b/src/domain/entities/Skill/CharacterSkill.ts @@ -114,6 +114,9 @@ export class CharacterSkill { }), modifiersTotal: this.getModifiersTotal(isAttack), total: skillRollResult.total + this.getModifiersTotal(isAttack), + attributeModifier: skillRollResult.attributeModifier, + levelPoints: skillRollResult.levelPoints, + trainingPoints: skillRollResult.trainingPoints, }; } } diff --git a/src/domain/entities/Skill/SheetSkill.ts b/src/domain/entities/Skill/SheetSkill.ts index 0b143f4..137d1c7 100644 --- a/src/domain/entities/Skill/SheetSkill.ts +++ b/src/domain/entities/Skill/SheetSkill.ts @@ -17,6 +17,9 @@ export type SkillRollResult = { isCritical: boolean; isFumble: boolean; total: number; + attributeModifier: number; + levelPoints: number; + trainingPoints: number; }; export class SheetSkill { @@ -72,6 +75,9 @@ export class SheetSkill { modifiersTotal: this.getModifiersTotal(), roll: rollResult, total: rollResult.total + this.getModifiersTotal(), + attributeModifier: this.getAttributeModifier(), + levelPoints: this.getLevelPoints(), + trainingPoints: this.getTrainingPoints(), }; } }