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