|
|
@@ -73,7 +73,7 @@ export class SpellslotsComponent {
|
|
|
const spellcastingAttribute = this.spellcastingAttribute;
|
|
|
|
|
|
if (spellcastingAttribute !== undefined) {
|
|
|
- const modifier = (this.attributeValue - 10) / 2;
|
|
|
+ const modifier = Math.floor((this.attributeValue - 10) / 2);
|
|
|
this.spellAttackModifier = modifier + this.proficiencyBonus;
|
|
|
this.spellSaveDC = 8 + modifier + this.proficiencyBonus;
|
|
|
}
|