Import RMFRP tables + properly rename all files

This commit is contained in:
2024-08-15 22:52:36 +02:00
parent fe36edfeff
commit 45ee08e6c2
17 changed files with 92 additions and 47 deletions

View File

@ -1,4 +1,4 @@
import { RFRPUtility } from "../rfrp-utility.js";
import { RMFRPUtility } from "../rmfrp-utility.js";
export class RMFRPItem extends Item {
@ -107,7 +107,7 @@ export class RMFRPItem extends Item {
// Find the relevant skill category
if (!this.parent) { return; } // Only if attached to an actor
let skillC = this.parent?.items || RFRPUtility.getSkillCategories();
let skillC = this.parent?.items || RMFRPUtility.getSkillCategories();
if (skillC) {
let item = skillC.find(it => it.type == "skill_category" && it.name.toLowerCase() == itemData.system.category.toLowerCase());
if (item) {