Fix compendium
This commit is contained in:
parent
ef93967ab7
commit
866dec4940
@ -28,8 +28,8 @@ export default class CthulhuEternalSkill extends foundry.abstract.TypeDataModel
|
||||
|
||||
computeScore() {
|
||||
let actor = this.parent?.actor;
|
||||
if (Number(this.base)) {
|
||||
return Number(this.base) + this.bonus;
|
||||
if ( isFinite(this.base) ) {
|
||||
return Number(this.base) + Number(this.bonus);
|
||||
}
|
||||
if (!actor) {
|
||||
return `${this.base} + ${ String(this.bonus)}`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user