Bugfix - Unable to roll saves for pre 6.monsters

Monster sheet could not roll saving throws due to lack of save mod in tweaks. Removed save mod check for monsters.
master
The Happy Anarchist 2020-11-02 22:34:57 -10:00
parent 35feb5b500
commit 63a4e237aa
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
**v0.7.2 Monster Save Fix**
**MINOR CHANGES:**
Changed the changlog to bold text.
**BUG FIXES:**
Monster sheet was unable to roll saves for monsters pre-dating 0.7.0 release.
**v0.7.1 Cosmetics**
**MINOR CHANGES:**
Fixed tab heights and cleaned up sheets for legibility.

View File

@ -121,8 +121,9 @@ export class AcksActor extends Actor {
rollSave(save, options = {}) {
const label = game.i18n.localize(`ACKS.saves.${save}.long`);
const rollParts = ["1d20"];
rollParts.push(this.data.data.save.mod);
if (this.data.type == "character") {
rollParts.push(this.data.data.save.mod);
}
let data = {};
if (this.data.type == "character") {